Vulnerability in FreeBSD
CVE-2009-4147
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.037, 89.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 7.1, 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Metasploit modules
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/37154 (Exploit, vdb-entry)
- 20091201 Upcoming FreeBSD Security Advisory (mailing-list)
- secunia.com/advisories/37517 (third-party-advisory, Vendor Advisory)
- people.freebsd.org/~cperciva/rtld.patch (Patch)
- 20091130 ** FreeBSD local r00t zeroday (mailing-list)
- www.securitytracker.com/id (Patch, vdb-entry)
- packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.ht…
This CVE has public exploit evidence. See the latest CVEs with public exploits.