CVE-2009-4146

high

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.

References

http://www.securitytracker.com/id?1023250

http://www.securityfocus.com/archive/1/508168/100/0/threaded

http://www.securityfocus.com/archive/1/508146/100/0/threaded

http://www.securityfocus.com/archive/1/508142/100/0/threaded

http://secunia.com/advisories/37517

http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html

Details

Source: Mitre, NVD

Published: 2009-12-02

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.03903