Vulnerability record · CVE-2012-0787 · published 23 November 2013
CVE-2012-0787: Redhat enterprise linux vulnerability
Redhat · Enterprise Linux
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.
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.
AV:L/AC:H/Au:N/C:P/I:P/A:P
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://augeas.net/news.html | |
| http://rhn.redhat.com/errata/RHSA-2013-1537.html | Vendor Advisory |
| http://secunia.com/advisories/55811 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=772261 | Exploit |
| https://github.com/hercules-team/augeas/commit/b8de6a8c | ExploitPatch |
| http://augeas.net/news.html | |
| http://rhn.redhat.com/errata/RHSA-2013-1537.html | Vendor Advisory |
| http://secunia.com/advisories/55811 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=772261 | Exploit |
| https://github.com/hercules-team/augeas/commit/b8de6a8c | ExploitPatch |
Track CVE-2012-0787 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2012-0787), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.