Vulnerability in OpenBSD
CVE-2006-6164
The _dl_unsetenv function in loader.c in the ELF ld.so in OpenBSD 3.9 and 4.0 does not properly remove duplicate environment variables, which allows local users to pass dangerous variables such as LD_PRELOAD to loading processes, which might be leveraged to gain privileges.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.003, 26.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- OpenBSD — versions 3.9, 4.0
References
- [3.9] 016: SECURITY FIX: November 19, 2006 (vendor-advisory, Patch)
- www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
- 20061123 Re: Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders. (mailing-list)
- secunia.com/advisories/22993 (third-party-advisory)
- www.securityfocus.com/bid/21188 (vdb-entry)
- [4.0] 005: SECURITY FIX: November 19, 2006 (vendor-advisory, Patch)
- 20061122 Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders. (mailing-list)
- securitytracker.com/id (Patch, vdb-entry)
- openbsd-elf-privilege-escalation(30441) (vdb-entry)