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 2009-12-02 18:30:00
Updated 2019-05-22 03:29:00
Source MITRE
View at NVD,   CVE.org

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

Probability of exploitation activity in the next 30 days: 0.04%

Percentile, the proportion of vulnerabilities that are scored at or less: ~ 6 % EPSS Score History EPSS FAQ

Metasploit modules for CVE-2009-4146

  • FreeBSD rtld execl() Privilege Escalation
    Disclosure Date: 2009-11-30
    First seen: 2020-04-26
    exploit/freebsd/local/rtld_execl_priv_esc
    This 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
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

Products affected by CVE-2009-4146

This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!