GLSA-200701-19 : OpenLDAP: Insecure usage of /tmp during installation

This script is Copyright (C) 2007-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200701-19
(OpenLDAP: Insecure usage of /tmp during installation)

Tavis Ormandy of the Gentoo Linux Security Team has discovered that the
file distributed with the Gentoo ebuild for OpenLDAP does
not exit upon the existence of a directory in /tmp during installation
allowing for directory traversal.

Impact :

A local attacker could create a symbolic link in /tmp and potentially
overwrite arbitrary system files upon a privileged user emerging

Workaround :

There is no known workaround at this time.

See also :

Solution :

All OpenLDAP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose 'net-nds/openldap'

Risk factor :

Medium / CVSS Base Score : 4.6

Family: Gentoo Local Security Checks

Nessus Plugin ID: 24255 (gentoo_GLSA-200701-19.nasl)

Bugtraq ID:

CVE ID: CVE-2007-0476