Vulnerability Details : CVE-2009-4146
Public exploit exists!
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.
Threat overview for CVE-2009-4146
Top countries where our scanners detected CVE-2009-4146
Top open port discovered on systems with this issue
80
IPs affected by CVE-2009-4146 1
Find out if you* are
affected by CVE-2009-4146!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2009-4146
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2009-4146
-
FreeBSD rtld execl() Privilege Escalation
Disclosure Date: 2009-11-30First seen: 2020-04-26exploit/freebsd/local/rtld_execl_priv_escThis module exploits a vulnerability in the FreeBSD run-time link-editor (rtld). The rtld `unsetenv()` function fails to remove `LD_*` environment variables if `__findenv()` fails. This can be abused to load arbitrary shared objects using
CVSS scores for CVE-2009-4146
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | AV:L/AC:L/Au:N/C:C/I:C/A:C |
3.9
|
10.0
|
NIST |
CWE ids for CVE-2009-4146
-
Assigned by: nvd@nist.gov (Primary)
References for CVE-2009-4146
-
http://www.securityfocus.com/archive/1/508146/100/0/threaded
-
http://www.securitytracker.com/id?1023250
-
http://www.securityfocus.com/archive/1/508142/100/0/threaded
-
http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
-
http://people.freebsd.org/~cperciva/rtld.patch
Exploit
-
http://www.securityfocus.com/bid/37154
FreeBSD 'execl()' Local Privilege Escalation VulnerabilityExploit
-
http://www.securityfocus.com/archive/1/508168/100/0/threaded
Products affected by CVE-2009-4146
- cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*