CVE-2012-6140
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | google-authenticator | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | google-authenticator | Not affected vulnerable_code_not_present | ||
| Debian 14 | google-authenticator | Fixed | 20130529-1 | DEBIAN-CVE-2012-6140 |
| Debian 13 | google-authenticator | Fixed | 20130529-1 | DEBIAN-CVE-2012-6140 |
| Debian 12 | google-authenticator | Fixed | 20130529-1 | DEBIAN-CVE-2012-6140 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=953505
- https://code.google.com/p/google-authenticator/source/detail?r=c3414e9857ad64e52283f3266065ef3023fc69a8
- http://openwall.com/lists/oss-security/2013/04/18/10
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666129
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.