Vulnerability in FreeBSD
CVE-2009-4146
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.
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.039 (89.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.039 · newest: 0.039 · change: 0.000
Affected products
- FreeBSD — versions 7.1, 7.2, 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.securityfocus.com/bid/37154 (Exploit, vdb-entry)
- www.securityfocus.com/archive/1/508146/100/0/threaded (mailing-list)
- secunia.com/advisories/37517 (Vendor Advisory, third-party-advisory)
- people.freebsd.org/~cperciva/rtld.patch (Exploit)
- www.securityfocus.com/archive/1/508142/100/0/threaded (mailing-list)
- www.securitytracker.com/id (vdb-entry)
- www.securityfocus.com/archive/1/508168/100/0/threaded (mailing-list)
- packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.ht…
Frequently asked questions
- What is CVE-2009-4146?
- CVE-2009-4146 is a vulnerability in FreeBSD, classified under CWE-264. Published 2009-12-02.
- Is CVE-2009-4146 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.