Skip to main content
← All vulnerabilities
CVE-2009-4146

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

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB, 1 Metasploit module

Summary

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.

Timeline

  1. Public exploit on Exploit-DB

    EDB-10255

  2. CVE published
  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 10

securityfocus.com

secunia.com

people.freebsd.org

securitytracker.com

packetstormsecurity.com

Exploit-DB

GitHub · rapid7/metasploit-framework