CVE-2009-4146
Severity CVSS v4.0:
Pending analysis
Type:
CWE-264
Permissions, Privileges, and Access Control
Publication date:
02/12/2009
Last modified:
09/04/2025
Description
The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1, 7.2, and 8.0 does not clear the LD_PRELOAD environment variable, which allows local users to gain privileges by executing a setuid or setguid program with a modified LD_PRELOAD variable containing an untrusted search path that points to a Trojan horse library, a different vector than CVE-2009-4147.
Impact
Base Score 2.0
7.20
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:* | ||
| cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
- http://people.freebsd.org/~cperciva/rtld.patch
- http://secunia.com/advisories/37517
- http://www.securityfocus.com/archive/1/508142/100/0/threaded
- http://www.securityfocus.com/archive/1/508146/100/0/threaded
- http://www.securityfocus.com/archive/1/508168/100/0/threaded
- http://www.securityfocus.com/bid/37154
- http://www.securitytracker.com/id?1023250=
- http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
- http://people.freebsd.org/~cperciva/rtld.patch
- http://secunia.com/advisories/37517
- http://www.securityfocus.com/archive/1/508142/100/0/threaded
- http://www.securityfocus.com/archive/1/508146/100/0/threaded
- http://www.securityfocus.com/archive/1/508168/100/0/threaded
- http://www.securityfocus.com/bid/37154
- http://www.securitytracker.com/id?1023250=



