Skip to content

CVE-2012-0787 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 an...

LowCVSS 3.7 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/augeas(Debian:12) < 1.0.0-1 1.0.0-1
debian/augeas(Debian:13) < 1.0.0-1 1.0.0-1
debian/augeas(Debian:14) < 1.0.0-1 1.0.0-1
redhat enterprise linux = 6.0 No fix listed
augeas <= 0.10.0 No fix listed
augeas = 0.0.1 No fix listed
augeas = 0.0.2 No fix listed
augeas = 0.0.3 No fix listed
augeas = 0.0.4 No fix listed
augeas = 0.0.5 No fix listed
augeas = 0.0.6 No fix listed
augeas = 0.0.7 No fix listed
augeas = 0.0.8 No fix listed
augeas = 0.1.0 No fix listed
augeas = 0.1.1 No fix listed
augeas = 0.2.0 No fix listed
augeas = 0.2.1 No fix listed
augeas = 0.2.2 No fix listed
augeas = 0.3.0 No fix listed
augeas = 0.3.1 No fix listed
augeas = 0.3.2 No fix listed
augeas = 0.3.3 No fix listed
augeas = 0.3.4 No fix listed
augeas = 0.3.5 No fix listed
augeas = 0.3.6 No fix listed
Show 16 more
ProductAffected versionsFixed in
augeas = 0.4.0 No fix listed
augeas = 0.4.1 No fix listed
augeas = 0.4.2 No fix listed
augeas = 0.5.0 No fix listed
augeas = 0.5.1 No fix listed
augeas = 0.5.2 No fix listed
augeas = 0.5.3 No fix listed
augeas = 0.6.0 No fix listed
augeas = 0.7.0 No fix listed
augeas = 0.7.1 No fix listed
augeas = 0.7.2 No fix listed
augeas = 0.7.3 No fix listed
augeas = 0.7.4 No fix listed
augeas = 0.8.0 No fix listed
augeas = 0.8.1 No fix listed
augeas = 0.9.0 No fix listed

References