CVE-2004-2012 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...
HighCVSS 7.2
EPSS 0.85%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
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.
Upgrade path
3 packages: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netbsd | = 2.0 | No fix listed | Versions listed |
| niels provos systrace | = 1.1; = 1.2; = 1.3; = 1.4 +1 more | No fix listed | Versions listed |
| vladimir kotal systrace port for freebsd | = 2004-03-09; = 2004-06-02 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| niels provos systrace | = 1.1 | No fix listed |
| niels provos systrace | = 1.2 | No fix listed |
| niels provos systrace | = 1.3 | No fix listed |
| niels provos systrace | = 1.4 | No fix listed |
| niels provos systrace | = 1.5 | No fix listed |
| vladimir kotal systrace port for freebsd | = 2004-03-09 | No fix listed |
| vladimir kotal systrace port for freebsd | = 2004-06-02 | No fix listed |
| netbsd | = 2.0 | No fix listed |
References
- 20040510 Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy mailing-list
- 11585 third-party-advisory
- 10320 exploit vdb-entry
- systrace-gain-privileges(16110) vdb-entry