CVE-2012-6140 Information disclosure in n/a

Low 1.9 Published Updated

Local attackers can read the shared secret file due to insecure permissions, bypassing authentication restrictions in the Google Authenticator PAM module.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2012-6140?

CVE-2012-6140 is a low-severity vulnerability in n/a, published on 24 Apr 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-200

Which versions are affected by CVE-2012-6140?

It affects 1 product.

Products include Google Authenticator.

How do I fix CVE-2012-6140?

Upgrade to a fixed version.

Is CVE-2012-6140 being exploited?

There is no known exploitation of CVE-2012-6140 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-6140, GHSA-cq7j-cjrf-2r4m.

Is CVE-2012-6140 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free