CVE-2012-0787 Race condition in n/a
Local attackers can overwrite arbitrary files and read sensitive data via race conditions in Augeas backup operations when specific save options are enabled.
- 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-0787?
CVE-2012-0787 is a low-severity vulnerability in Redhat Enterprise Linux, 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 clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EBUSY is returned by the rename function, allows local users to overwrite arbitrary files and obtain sensitive information via a bind mount on the (1) .augsave or (2) destination file when using the backup save option, or (3) .augnew file when using the newfile save option.
Which versions are affected by CVE-2012-0787?
It affects 2 products.
Products include Augeas Augeas, Redhat Enterprise Linux.
How do I fix CVE-2012-0787?
Upgrade to a fixed version.
Is CVE-2012-0787 being exploited?
There is no known exploitation of CVE-2012-0787 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
Sources
Also known as DEBIAN-CVE-2012-0787, GHSA-8qr9-h3xv-vhx6.