CVE-2009-0887
What it is
Integer signedness error in the _pam_StrTok function in libpam/pam_misc.c in Linux-PAM (aka pam) 1.0.3 and earlier, when a configuration file contains non-ASCII usernames, might allow remote attackers to cause a denial of service, and might allow remote authenticated users to obtain login access with a different user's non-ASCII username, via a login attempt.
At a glance
- Exploitability
- Can be exploited locally on the machine with a login. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.9% 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: 1.9% in the next 30 days (EPSS).
- Severity: 6.6 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.9% · EPSS, next 30 days
- Weakness
- CWE-189
- Record status
- Modified
Affected
- linux-pam ≤ 1.0.3
- 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 · 6.6
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:S/C:C/I:C/A:C
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-2009-0887.md and follow it. Check whether this project is affected by CVE-2009-0887. 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
References
- http://openwall.com/lists/oss-security/2009/03/05/1
- http://pam.cvs.sourceforge.net/viewvc/pam/Linux-PAM/libpam/pam_misc.c?r1=1.9&%3Br2=1.10&%3Bview=patch
- http://pam.cvs.sourceforge.net/viewvc/pam/Linux-PAM/libpam/pam_misc.c?view=log
- http://secunia.com/advisories/34733
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:077
- http://www.securityfocus.com/bid/34010
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49110
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00398.html
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00420.html
- http://openwall.com/lists/oss-security/2009/03/05/1
- http://pam.cvs.sourceforge.net/viewvc/pam/Linux-PAM/libpam/pam_misc.c?r1=1.9&%3Br2=1.10&%3Bview=patch
- http://pam.cvs.sourceforge.net/viewvc/pam/Linux-PAM/libpam/pam_misc.c?view=log
- http://secunia.com/advisories/34733
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:077
- http://www.securityfocus.com/bid/34010
- https://exchange.xforce.ibmcloud.com/vulnerabilities/49110
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00398.html
- https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00420.html