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_...
HighCVSS 7.2
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| OpenBSD | = 3.9; = 4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenBSD | = 3.9 | No fix listed |
| OpenBSD | = 4.0 | No fix listed |
References
- 22993 third-party-advisory
- 1017253 patch vdb-entry
- www.matasano.com
- [4.0] 005: SECURITY FIX: November 19, 2006 patch vendor-advisory
- [3.9] 016: SECURITY FIX: November 19, 2006 patch vendor-advisory
- 20061122 Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders. mailing-list
- 20061123 Re: Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders. mailing-list
- 21188 vdb-entry
- openbsd-elf-privilege-escalation(30441) vdb-entry