First published: Fri Dec 31 2004(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Niels Provos Systrace | =1.1 | |
Niels Provos Systrace | =1.2 | |
Niels Provos Systrace | =1.3 | |
Niels Provos Systrace | =1.4 | |
Niels Provos Systrace | =1.5 | |
Vladimir Kotal Systrace Port For Freebsd | =2004-03-09 | |
Vladimir Kotal Systrace Port For Freebsd | =2004-06-02 | |
NetBSD NetBSD | =2.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2004-2012 is considered a high severity vulnerability due to its potential for local privilege escalation.
CVE-2004-2012 allows unauthorized local users to gain root privileges, compromising the integrity of the system.
To fix CVE-2004-2012, update the systrace utility to a version that has addressed the ownership verification flaw.
CVE-2004-2012 affects multiple versions of the systrace utility, including versions 1.1 to 1.5 and certain FreeBSD ports.
CVE-2004-2012 impacts NetBSD versions 2.0 and earlier, as well as FreeBSD ports using impacted systrace versions.