CVE-2013-6412 Misconfiguration in n/a

Medium 4.6 Published Updated

Local attackers can modify files due to incorrect permission calculations when the umask contains a 7, affecting the Augeas configuration library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2013-6412?

CVE-2013-6412 is a medium-severity vulnerability in n/a, published on 23 Jan 2014. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The transform_save function in transform.c in Augeas 1.0.0 through 1.1.0 does not properly calculate the permission values when the umask contains a "7," which causes world-writable permissions to be used for new files and allows local users to modify the files via unspecified vectors.

Weakness: CWE-264

Which versions are affected by CVE-2013-6412?

It affects 1 product.

Linux distribution packages (16)
augeas Red Hat:enterprise_linux:6::clientAll versions0:1.0.0-5.el6_5.1
augeas-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:1.0.0-5.el6_5.1
augeas-devel Red Hat:enterprise_linux:6::clientAll versions0:1.0.0-5.el6_5.1
augeas-libs Red Hat:enterprise_linux:6::clientAll versions0:1.0.0-5.el6_5.1
augeas Red Hat:enterprise_linux:6::computenodeAll versions0:1.0.0-5.el6_5.1
augeas-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:1.0.0-5.el6_5.1
augeas-devel Red Hat:enterprise_linux:6::computenodeAll versions0:1.0.0-5.el6_5.1
augeas-libs Red Hat:enterprise_linux:6::computenodeAll versions0:1.0.0-5.el6_5.1
augeas Red Hat:enterprise_linux:6::serverAll versions0:1.0.0-5.el6_5.1
augeas-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:1.0.0-5.el6_5.1
augeas-devel Red Hat:enterprise_linux:6::serverAll versions0:1.0.0-5.el6_5.1
augeas-libs Red Hat:enterprise_linux:6::serverAll versions0:1.0.0-5.el6_5.1
augeas Red Hat:enterprise_linux:6::workstationAll versions0:1.0.0-5.el6_5.1
augeas-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:1.0.0-5.el6_5.1
augeas-devel Red Hat:enterprise_linux:6::workstationAll versions0:1.0.0-5.el6_5.1
augeas-libs Red Hat:enterprise_linux:6::workstationAll versions0:1.0.0-5.el6_5.1

Products include Augeas Augeas.

How do I fix CVE-2013-6412?

Upgrade to a fixed version.

Is CVE-2013-6412 being exploited?

There is no known exploitation of CVE-2013-6412 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2013-6412, GHSA-92m6-rfw4-wpq6, RHSA-2014:0044.

Is CVE-2013-6412 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free