CVE-2011-4122
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.885%
chance of exploitation in the next 30 days
higher than 59.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2011-11-09First Exploit-DB entry (EDB-ID 36296)8 days before publication
- 2011-11-17Published by the CNA19:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 36296 | local | bsd | 2011-11-09 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| freebsd freebsd | 8.1no fix listed | not listed |
References
- http://secunia.com/advisories/46756
- http://secunia.com/advisories/46804
- 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://stealth.openwall.net/xSports/pamslam
- http://trac.des.no/openpam/changeset/478/trunk/lib/openpam_configure.c
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71205
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2011-4122'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2011-4122'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2011-4122'curl 'https://api.contrastcyber.com/cve_products/CVE-2011-4122'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).