CVE-2011-4122
What it is
Directory traversal vulnerability in openpam_configure.c in OpenPAM before r478 on FreeBSD 8.1 allows local users to load arbitrary DSOs and gain privileges via a .. (dot dot) in the service_name argument to the pam_start function, as demonstrated by a .. in the -c option to kcheckpass.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.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: 0.9% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Freebsd 8.1
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/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-2011-4122.md and follow it. Check whether this project is affected by CVE-2011-4122. 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://secunia.com/advisories/46756
- http://secunia.com/advisories/46804
- http://secunia.com/advisories/46756
- http://secunia.com/advisories/46804
References
- http://c-skills.blogspot.com/2011/11/openpam-trickery.html
- http://openwall.com/lists/oss-security/2011/12/07/3
- http://openwall.com/lists/oss-security/2011/12/08/9
- http://osvdb.org/76945
- http://secunia.com/advisories/46756
- http://secunia.com/advisories/46804
- http://stealth.openwall.net/xSports/pamslam
- http://trac.des.no/openpam/changeset/478/trunk/lib/openpam_configure.c
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71205
- http://c-skills.blogspot.com/2011/11/openpam-trickery.html
- http://openwall.com/lists/oss-security/2011/12/07/3
- http://openwall.com/lists/oss-security/2011/12/08/9
- http://osvdb.org/76945
- http://secunia.com/advisories/46756
- http://secunia.com/advisories/46804
- http://stealth.openwall.net/xSports/pamslam
- http://trac.des.no/openpam/changeset/478/trunk/lib/openpam_configure.c
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71205