{"id":"CVE-2009-4146","state":"PUBLISHED","title":"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","description":"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.","publishedAt":"2009-12-02T18:00:00.000Z","updatedAt":"2024-08-07T06:54:09.989Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/37154","http://www.securityfocus.com/archive/1/508146/100/0/threaded","http://secunia.com/advisories/37517","http://people.freebsd.org/~cperciva/rtld.patch","http://www.securityfocus.com/archive/1/508142/100/0/threaded","http://www.securitytracker.com/id?1023250","http://www.securityfocus.com/archive/1/508168/100/0/threaded","http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:26.132Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2009/4xxx/CVE-2009-4146.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2009-4146","state":"PUBLISHED","datePublished":"2009-12-02T18:00:00.000Z","dateUpdated":"2024-08-07T06:54:09.989Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2009-12-01T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/37154","name":"37154","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/508146/100/0/threaded","name":"20091201 Upcoming FreeBSD Security Advisory","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/37517","name":"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","name":"20091130 ** FreeBSD local r00t zeroday","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securitytracker.com/id?1023250","name":"1023250","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/archive/1/508168/100/0/threaded","name":"20091201 Re: ** FreeBSD local r00t zeroday","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-05-22T02:06:03.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2009-11-30T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-4146","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"37154","refsource":"BID","url":"http://www.securityfocus.com/bid/37154"},{"name":"20091201 Upcoming FreeBSD Security Advisory","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/508146/100/0/threaded"},{"name":"37517","refsource":"SECUNIA","url":"http://secunia.com/advisories/37517"},{"name":"http://people.freebsd.org/~cperciva/rtld.patch","refsource":"CONFIRM","url":"http://people.freebsd.org/~cperciva/rtld.patch"},{"name":"20091130 ** FreeBSD local r00t zeroday","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/508142/100/0/threaded"},{"name":"1023250","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1023250"},{"name":"20091201 Re: ** FreeBSD local r00t zeroday","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/508168/100/0/threaded"},{"name":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/37154","name":"37154","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/508146/100/0/threaded","name":"20091201 Upcoming FreeBSD Security Advisory","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/37517","name":"37517","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://people.freebsd.org/~cperciva/rtld.patch","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/508142/100/0/threaded","name":"20091130 ** FreeBSD local r00t zeroday","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securitytracker.com/id?1023250","name":"1023250","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/508168/100/0/threaded","name":"20091201 Re: ** FreeBSD local r00t zeroday","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T06:54:09.989Z"}}]}}}