CVE-2012-6140
Description
pam_google_authenticator.c in the PAM module in Google Authenticator before 1.0 requires user-readable permissions for the secret file, which allows local users to bypass intended access restrictions and discover a shared secret via standard filesystem operations, a different vulnerability than CVE-2013-0258.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
0.230%
chance of exploitation in the next 30 days
higher than 13.9% 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
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Timeline
- 2013-04-24Published by the CNA10:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| google authenticator | 0.86no fix listed0.87no fix listedthrough 0.91no fix listed | not listednot listednot listed |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=953505
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666129
- http://openwall.com/lists/oss-security/2013/04/18/10
- https://code.google.com/p/google-authenticator/source/detail?r=c3414e9857ad64e52283f3266065ef3023fc69a8
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-6140'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-6140'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-6140'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-6140'
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).