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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*

History

21 Nov 2024, 01:09

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html - () http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html -
References () http://people.freebsd.org/~cperciva/rtld.patch - Exploit () http://people.freebsd.org/~cperciva/rtld.patch - Exploit
References () http://secunia.com/advisories/37517 - Vendor Advisory () http://secunia.com/advisories/37517 - Vendor Advisory
References () http://www.securityfocus.com/archive/1/508142/100/0/threaded - () http://www.securityfocus.com/archive/1/508142/100/0/threaded -
References () http://www.securityfocus.com/archive/1/508146/100/0/threaded - () http://www.securityfocus.com/archive/1/508146/100/0/threaded -
References () http://www.securityfocus.com/archive/1/508168/100/0/threaded - () http://www.securityfocus.com/archive/1/508168/100/0/threaded -
References () http://www.securityfocus.com/bid/37154 - Exploit () http://www.securityfocus.com/bid/37154 - Exploit
References () http://www.securitytracker.com/id?1023250 - () http://www.securitytracker.com/id?1023250 -

Information

Published : 2009-12-02 18:30

Updated : 2025-04-09 00:30


NVD link : CVE-2009-4146

Mitre link : CVE-2009-4146

CVE.ORG link : CVE-2009-4146


JSON object : View

Products Affected

freebsd

  • freebsd
CWE
CWE-264

Permissions, Privileges, and Access Controls