Files
CVEs-PoC/2012/CVE-2012-0787.md
T
2025-09-29 21:09:30 +02:00

18 lines
869 B
Markdown

### [CVE-2012-0787](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0787)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### 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.
### POC
#### Reference
- https://github.com/hercules-team/augeas/commit/b8de6a8c
#### Github
No PoCs found on GitHub currently.