Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- OpenPAM - 'pam_start()' Local Privilege Escalation EDB-36296 · local · Nov 9, 2011 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://stealth.openwall.net/xSports/pamslam
- 46756 third-party-advisory
- [oss-security] 20111207 Disputing CVE-2011-4122 mailing-list
- http://trac.des.no/openpam/changeset/478/trunk/lib/openpam_configure.c
- openpam-Pamstart-privilege-escalation(71205) vdb-entry
- 76945 vdb-entry
- http://c-skills.blogspot.com/2011/11/openpam-trickery.html
- [oss-security] 20111208 Re: Disputing CVE-2011-4122 mailing-list
- 46804 third-party-advisory