Vulnerabilities · 2009 · Freebsd
CVE-2009-4146
Freebsd vulnerability
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.
Affected products
Freebsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Freebsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- secunia.com/advisories/37517 · Vendor Advisory
- people.freebsd.org/~cperciva/rtld.patch · Exploit
- www.securityfocus.com/bid/37154 · Exploit
- packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html
- www.securityfocus.com/archive/1/508142/100/0/threaded
- www.securityfocus.com/archive/1/508146/100/0/threaded
- www.securityfocus.com/archive/1/508168/100/0/threaded
- www.securitytracker.com/id?1023250
- nvd.nist.gov/vuln/detail/CVE-2009-4146
- cve.org/CVERecord?id=CVE-2009-4146
More vulnerabilities in Freebsd products
CVE-2024-45287CVE-2024-45063CVE-2024-43110CVE-2024-43102CVE-2024-42416CVE-2024-32668CVE-2024-29937CVE-2024-25941All 504
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.