CVE-2004-2012
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Record status
- Modified
Affected
- 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 2.0
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-2012.md and follow it. Check whether this project is affected by CVE-2004-2012. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-007.txt.asc
- http://marc.info/?l=bugtraq&m=108432258920570&w=2
- http://secunia.com/advisories/11585
- http://www.securityfocus.com/bid/10320
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16110
- ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2004-007.txt.asc
- http://marc.info/?l=bugtraq&m=108432258920570&w=2
- http://secunia.com/advisories/11585
- http://www.securityfocus.com/bid/10320
- https://exchange.xforce.ibmcloud.com/vulnerabilities/16110