CVE-2004-2012 Privilege escalation in n/a
Local attackers can gain root privileges because the systrace utility fails to verify the connection owner before elevating privileges.
- 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-2004-2012?
CVE-2004-2012 is a high-severity vulnerability in Netbsd Netbsd, published on 10 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The systrace_exit function in the systrace utility for NetBSD-current and 2.0 before April 16, 2004, and certain FreeBSD ports, does not verify the owner of the /dec/systrace connection before setting euid to 0, which allows local users to gain root privileges.
Which versions are affected by CVE-2004-2012?
It affects 3 products.
Products include Netbsd Netbsd, Niels Provos Systrace, Vladimir Kotal Systrace Port for Freebsd.
How do I fix CVE-2004-2012?
No fix has been published for CVE-2004-2012 yet. Limit exposure of the affected software until one is available.
Is CVE-2004-2012 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2012 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Netbsd Netbsd
Sources
Also known as GHSA-hh57-6r48-4q3g.