CVE-2012-0787
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-0787
Vendor advisory: secalert@redhat.com — https://github.com/hercules-team/augeas/commit/b8de6a8c
Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/55811
Vendor advisory: secalert@redhat.com — http://rhn.redhat.com/errata/RHSA-2013-1537.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.0.0-1 |
| debian | bullseye | fixed | 1.0.0-1 |
| debian | forky | fixed | 1.0.0-1 |
| debian | sid | fixed | 1.0.0-1 |
| debian | trixie | fixed | 1.0.0-1 |
| rhel | 6.0 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| augeas | augeas | {"endIncluding":"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
Verify integrity in audit chain (admin only). AS-IS.