CVE-2009-4147 Privilege escalation in n/a
Local attackers can gain privileges by exploiting untrusted search paths in the FreeBSD Run-Time Link-Editor when executing setuid programs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2009-4147?
CVE-2009-4147 is a high-severity vulnerability in Freebsd Freebsd, published on 2 Dec 2009. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The _rtld function in the Run-Time Link-Editor (rtld) in libexec/rtld-elf/rtld.c in FreeBSD 7.1 and 8.0 does not clear the (1) LD_LIBMAP, (2) LD_LIBRARY_PATH, (3) LD_LIBMAP_DISABLE, (4) LD_DEBUG, and (5) LD_ELF_HINTS_PATH environment variables, which allows local users to gain privileges by executing a setuid or setguid program with a modified variable containing an untrusted search path that points to a Trojan horse library, different vectors than CVE-2009-4146.
Weakness: CWE-264
Which versions are affected by CVE-2009-4147?
It affects 1 product.
Products include Freebsd Freebsd.
How do I fix CVE-2009-4147?
No fix has been published for CVE-2009-4147 yet. Limit exposure of the affected software until one is available.
Is CVE-2009-4147 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-4147 exists.
Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.
Other vulnerabilities in Freebsd Freebsd
Sources
Also known as GHSA-fp7j-g85q-5q4q.