CVE-2010-3316
What it is
The run_coprocess function in pam_xauth.c in the pam_xauth module in Linux-PAM (aka pam) before 1.1.2 does not check the return values of the setuid, setgid, and setgroups system calls, which might allow local users to read arbitrary files by executing a program that relies on the pam_xauth PAM check.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 3.3 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Record status
- Modified
Affected
- linux-pam ≤ 1.1.1
- linux-pam 0.99.1.0
- linux-pam 0.99.2.0
- linux-pam 0.99.2.1
- linux-pam 0.99.3.0
- linux-pam 0.99.4.0
- linux-pam 0.99.5.0
- linux-pam 0.99.6.0
Attack profile CVSS 2.0 · 3.3
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
Raw vector
AV:L/AC:M/Au:N/C:P/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-3316.md and follow it. Check whether this project is affected by CVE-2010-3316. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://openwall.com/lists/oss-security/2010/09/21/3
- http://openwall.com/lists/oss-security/2010/09/21/8
- http://openwall.com/lists/oss-security/2010/09/27/4
- http://openwall.com/lists/oss-security/2010/09/27/5
- http://openwall.com/lists/oss-security/2010/09/27/7
- http://openwall.com/lists/oss-security/2010/10/25/2
- http://www.openwall.com/lists/oss-security/2010/09/24/2
- https://bugzilla.redhat.com/show_bug.cgi?id=637898
- http://openwall.com/lists/oss-security/2010/09/21/3
- http://openwall.com/lists/oss-security/2010/09/21/8
References
- http://git.altlinux.org/people/ldv/packages/?p=pam.git%3Ba=commit%3Bh=06f882f30092a39a1db867c9744b2ca8d60e4ad6
- http://lists.vmware.com/pipermail/security-announce/2011/000126.html
- http://openwall.com/lists/oss-security/2010/08/16/2
- http://openwall.com/lists/oss-security/2010/09/21/3
- http://openwall.com/lists/oss-security/2010/09/21/8
- http://openwall.com/lists/oss-security/2010/09/27/10
- http://openwall.com/lists/oss-security/2010/09/27/4
- http://openwall.com/lists/oss-security/2010/09/27/5
- http://openwall.com/lists/oss-security/2010/09/27/7
- http://openwall.com/lists/oss-security/2010/10/25/2
- http://secunia.com/advisories/49711
- http://security.gentoo.org/glsa/glsa-201206-31.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:220
- http://www.openwall.com/lists/oss-security/2010/09/24/2
- http://www.redhat.com/support/errata/RHSA-2010-0819.html
- http://www.redhat.com/support/errata/RHSA-2010-0891.html
- http://www.securityfocus.com/archive/1/516909/100/0/threaded
- http://www.vmware.com/security/advisories/VMSA-2011-0004.html
- http://www.vupen.com/english/advisories/2011/0606
- https://bugzilla.redhat.com/show_bug.cgi?id=637898
- https://sourceforge.net/tracker/?func=detail&aid=3028213&group_id=6663&atid=106663
- http://git.altlinux.org/people/ldv/packages/?p=pam.git%3Ba=commit%3Bh=06f882f30092a39a1db867c9744b2ca8d60e4ad6
- http://lists.vmware.com/pipermail/security-announce/2011/000126.html
- http://openwall.com/lists/oss-security/2010/08/16/2
- http://openwall.com/lists/oss-security/2010/09/21/3