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.
References (9)
Core 9
Core References
Patch vendor-advisory
x_refsource_openbsd
http://www.openbsd.org/errata39.html#ldso
Various Sources x_refsource_misc
http://www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/452428/100/0/threaded
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/22993
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/21188
Patch vendor-advisory
x_refsource_openbsd
http://www.openbsd.org/errata.html#ldso
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/452371/100/0/threaded
Patch vdb-entry
x_refsource_sectrack
http://securitytracker.com/id?1017253
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/30441
Scores
EPSS
0.0005
EPSS Percentile
14.5%
Details
Status
published
Products (2)
openbsd/openbsd
3.9
openbsd/openbsd
4.0
Published
Nov 29, 2006
Tracked Since
Feb 18, 2026