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.
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/37154 | vdb entry exploit |
http://www.securityfocus.com/archive/1/508146/100/0/threaded | mailing list |
http://secunia.com/advisories/37517 | third party advisory vendor advisory |
http://people.freebsd.org/~cperciva/rtld.patch | exploit |
http://www.securityfocus.com/archive/1/508142/100/0/threaded | mailing list |
http://www.securitytracker.com/id?1023250 | vdb entry |
http://www.securityfocus.com/archive/1/508168/100/0/threaded | mailing list |
http://packetstormsecurity.com/files/152997/FreeBSD-rtld-execl-Privilege-Escalation.html |