CVE-2012-0787
Last modified
CVE-2012-0787 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Enterprise Linux | 6.0 |
| Augeas | Augeas | <= 0.10.0 |
| Augeas | Augeas | 0.0.1 |
| Augeas | Augeas | 0.0.2 |
| Augeas | Augeas | 0.0.3 |
| Augeas | Augeas | 0.0.4 |
| Augeas | Augeas | 0.0.5 |
| Augeas | Augeas | 0.0.6 |
| Augeas | Augeas | 0.0.7 |
| Augeas | Augeas | 0.0.8 |
| Augeas | Augeas | 0.1.0 |
| Augeas | Augeas | 0.1.1 |
| Augeas | Augeas | 0.2.0 |
| Augeas | Augeas | 0.2.1 |
| Augeas | Augeas | 0.2.2 |
| Augeas | Augeas | 0.3.0 |
| Augeas | Augeas | 0.3.1 |
| Augeas | Augeas | 0.3.2 |
| Augeas | Augeas | 0.3.3 |
| Augeas | Augeas | 0.3.4 |
| Augeas | Augeas | 0.3.5 |
| Augeas | Augeas | 0.3.6 |
| Augeas | Augeas | 0.4.0 |
| Augeas | Augeas | 0.4.1 |
| Augeas | Augeas | 0.4.2 |
| Augeas | Augeas | 0.5.0 |
| Augeas | Augeas | 0.5.1 |
| Augeas | Augeas | 0.5.2 |
| Augeas | Augeas | 0.5.3 |
| Augeas | Augeas | 0.6.0 |
| Augeas | Augeas | 0.7.0 |
| Augeas | Augeas | 0.7.1 |
| Augeas | Augeas | 0.7.2 |
| Augeas | Augeas | 0.7.3 |
| Augeas | Augeas | 0.7.4 |
| Augeas | Augeas | 0.8.0 |
| Augeas | Augeas | 0.8.1 |
| Augeas | Augeas | 0.9.0 |
References
- http://rhn.redhat.com/errata/RHSA-2013-1537.htmlVendor Advisory
- http://secunia.com/advisories/55811Vendor Advisory
- https://github.com/hercules-team/augeas/commit/b8de6a8cExploit, Patch
- http://rhn.redhat.com/errata/RHSA-2013-1537.htmlVendor Advisory
- http://secunia.com/advisories/55811Vendor Advisory
- https://github.com/hercules-team/augeas/commit/b8de6a8cExploit, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-0787?
How severe is CVE-2012-0787?
How do I fix CVE-2012-0787?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-0779Adobe Flash Player before 10.3.183.19 and 11.x before 11.2.2…
- CVE-2012-0780Adobe Illustrator before CS6 allows attackers to execute arb…
- CVE-2012-0781The tidy_diagnose function in PHP 5.3.8 might allow remote a…
- CVE-2012-0782Multiple cross-site scripting (XSS) vulnerabilities in wp-ad…
- CVE-2012-0785Hash collision attack vulnerability in Jenkins before 1.447,…7.5
- CVE-2012-0786The transform_save function in transform.c in Augeas before …
- CVE-2012-0788The PDORow implementation in PHP before 5.3.9 does not prope…
- CVE-2012-0789Memory leak in the timezone functionality in PHP before 5.3.…
- CVE-2012-0790Cross-site scripting (XSS) vulnerability in smokeping_cgi in…
- CVE-2012-0791Multiple cross-site scripting (XSS) vulnerabilities in Horde…
- CVE-2012-0792mod/forum/user.php in Moodle 1.9.x before 1.9.16 allows remo…
- CVE-2012-0793Moodle 1.9.x before 1.9.16, 2.0.x before 2.0.7, 2.1.x before…
Are you affected by CVE-2012-0787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
