FreeBSD : automake -- Insecure 'distcheck' recipe granted world-writable distdir (10f38033-e006-11e1-9304-000000000000)

High Nessus Plugin ID 61444


The remote FreeBSD host is missing a security-related update.


GNU reports :

The recipe of the 'distcheck' target granted temporary world-write permissions on the extracted distdir. This introduced a locally exploitable race condition for those who run 'make distcheck' with a non-restrictive umask (e.g., 022) in a directory that was accessible by others. A successful exploit would result in arbitrary code execution with the privileges of the user running 'make distcheck'.

It is important to stress that this vulnerability impacts not only the Automake package itself, but all packages with Automake-generated makefiles. For an effective fix it is necessary to regenerate the files with a fixed Automake version.


Update the affected package.

See Also

Plugin Details

Severity: High

ID: 61444

File Name: freebsd_pkg_10f38033e00611e19304000000000000.nasl

Version: $Revision: 1.2 $

Type: local

Published: 2012/08/07

Modified: 2012/08/15

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2012/08/06

Vulnerability Publication Date: 2012/07/09

Reference Information

CVE: CVE-2012-3386