vendor:
OpenLDAP
by:
SecurityFocus
7.5
CVSS
HIGH
Symbolic Link Attack
22
CWE
Product Name: OpenLDAP
Affected Version From: RedHat 6.1 and 6.2, and TurboLinux 6.0.2 and earlier
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Unix
2001
OpenLDAP Vulnerability
OpenLDAP will create files in /usr/tmp, which is actually a symbolic link to the world writable /tmp directory. As OpenLDAP does not check for a files existence prior to opening the files in /usr/tmp, it is possible for an attacker to point an appropriately named symbolic link at any file on the filesystem, and cause it to be destroyed.
Mitigation:
Ensure that the 'directory' variable in slapd.conf is not set to /usr/tmp and that /usr/tmp is not world writable.