CVEvulnerability
CVE-2009-4147
7.2 HIGH
Official page ↗
- Status
- Modified
- Published
- 2009-12-02
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-264
Description
The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3) LD_LIBMAP_DISABLE, (4) LD_DEBUG, and (5) LD_ELF_HINTS_PATH environment variables, which allows local users to gain privileges by executing a setuid or setguid program with a modified variable containing an untrusted search path that points to a Trojan horse library, different vectors than CVE-2009-4146.
Affected configurations
• freebsd freebsd 7.1
• freebsd freebsd 8.0
Related
Weakness · not in database (1)
References
- http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html packetstormsecurity.com
- http://people.freebsd.org/~cperciva/rtld.patch Patch
- http://secunia.com/advisories/37517 Vendor Advisory
- http://www.securityfocus.com/archive/1/508142/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/archive/1/508146/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/37154 Exploit
- http://www.securitytracker.com/id?1023250 Patch
- http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html packetstormsecurity.com
- http://people.freebsd.org/~cperciva/rtld.patch Patch
- http://secunia.com/advisories/37517 Vendor Advisory
- http://www.securityfocus.com/archive/1/508142/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/archive/1/508146/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/37154 Exploit
- http://www.securitytracker.com/id?1023250 Patch