CVE-2012-0786 Path traversal in n/a

Low 3.3 Published Updated

Local attackers can overwrite arbitrary files and read sensitive data via symlink attacks in Augeas, requiring a library upgrade.

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-0786?

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

Official description

The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.

Weakness: CWE-59

Which versions are affected by CVE-2012-0786?

It affects 1 product.

Products include Augeas Augeas.

How do I fix CVE-2012-0786?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2012-0786 being exploited?

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

Sources

Also known as DEBIAN-CVE-2012-0786, GHSA-v2f6-mg42-536m, openSUSE-SU-2024:10367-1.

Is CVE-2012-0786 in your software?

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

Check your SBOMs for free