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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.33%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 2.0
- 7.2 HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
- EPSS
- 0.33% probability · 26th percentile
- CISA KEV
- Not listed
- Affected
- openbsd/openbsd
- Source
- cve@mitre.org
References
- http://secunia.com/advisories/22993
- http://securitytracker.com/id?1017253Patch
- http://www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
- http://www.openbsd.org/errata.html#ldsoPatch
- http://www.openbsd.org/errata39.html#ldsoPatch
- http://www.securityfocus.com/archive/1/452371/100/0/threaded
- http://www.securityfocus.com/archive/1/452428/100/0/threaded
- http://www.securityfocus.com/bid/21188
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30441
- http://secunia.com/advisories/22993
- http://securitytracker.com/id?1017253Patch
- http://www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
- http://www.openbsd.org/errata.html#ldsoPatch
- http://www.openbsd.org/errata39.html#ldsoPatch
- http://www.securityfocus.com/archive/1/452371/100/0/threaded
- http://www.securityfocus.com/archive/1/452428/100/0/threaded
- http://www.securityfocus.com/bid/21188
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30441
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.