{"id":"CVE-2009-4146","sourceIdentifier":"cve@mitre.org","published":"2009-12-02T18:30:00.297","lastModified":"2026-06-16T23:13:07.670","vulnStatus":"Modified","cveTags":[],"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."},{"lang":"es","value":"La función _rtld en el Run-Time Link-Editor (rtld) de libexec/rtld-elf/rtld.c de FreeBSD v7.1, v7.2 y v8.0, no limpia la variable de entorno LD_PRELOAD, esto permite a usuarios locales aumentar sus privilegios al ejecutar el programa setuid o setguid con la variable LD_PRELOAD modificada para que contenga una ruta de búsqueda no confiable que apunte a una biblioteca de un Troyano. Se trata de una vulnerabilidad diferente de CVE-2009-4147."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.1:*:*:*:*:*:*:*","matchCriteriaId":"803EFA9F-B7CB-4511-B1C1-381170CA9A23"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:7.2:*:*:*:*:*:*:*","matchCriteriaId":"F948527C-A01E-4315-80B6-47FACE18A34F"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*","matchCriteriaId":"3CF1F9EF-01AF-4708-AE02-765360AF3D66"}]}]}],"references":[{"url":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","source":"cve@mitre.org"},{"url":"http://people.freebsd.org/~cperciva/rtld.patch","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://secunia.com/advisories/37517","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/508142/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/508146/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/508168/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/37154","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://www.securitytracker.com/id?1023250","source":"cve@mitre.org"},{"url":"http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://people.freebsd.org/~cperciva/rtld.patch","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://secunia.com/advisories/37517","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.securityfocus.com/archive/1/508142/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/508146/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/508168/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/37154","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://www.securitytracker.com/id?1023250","source":"af854a3a-2127-422b-91ae-364da2661108"}]}