{"id":"CVE-2009-4147","published":"2009-12-02T19:00:00Z","modified":"2024-08-07T06:54:09Z","title":"The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear…","vendor":null,"product":null,"tier":"tail","description":{"text":"The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3) LD_LIBMAP_DISABLE, (4) LD_DEBUG, and (5) LD_ELF_HINTS_PATH environment variables, which allows local users to gain privileges by executing a setuid or setguid program with a modified variable containing an untrusted search path that points to a Trojan horse library, different vectors than CVE-2009-4146.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03709,"percentile":0.89712,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/37154","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/508146/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/37517","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://people.freebsd.org/~cperciva/rtld.patch","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/508142/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securitytracker.com/id?1023250","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":17.94},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2009-11-30"},"metasploit":[{"name":"FreeBSD rtld execl() Privilege Escalation","module":"exploit/freebsd/local/rtld_execl_priv_esc","type":"exploit","disclosureDate":"2009-11-30","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/local/rtld_execl_priv_esc.rb"}],"first":{"date":"2009-11-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/10255"},"provenance":"source"},"euvd":{"id":"EUVD-2009-4117","exploited":false,"provenance":"source"},"exploits":[{"id":10255,"url":"https://www.exploit-db.com/exploits/10255","title":"FreeBSD 8.0 Run-Time Link-Editor (RTLD) - Local Privilege Escalation","date":"2009-11-30","verified":true,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html"]}