// For flags

CVE-2004-2012

NetBSD/FreeBSD Port Systrace 1.x - Exit Routine Access Validation Privilege Escalation

Severity Score

7.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

2
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2004-05-11 First Exploit
  • 2004-12-31 CVE Published
  • 2005-05-04 CVE Reserved
  • 2024-08-08 CVE Updated
  • 2025-03-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Niels
Search vendor "Niels"
Provos Systrace
Search vendor "Niels" for product "Provos Systrace"
1.1
Search vendor "Niels" for product "Provos Systrace" and version "1.1"
-
Affected
Niels
Search vendor "Niels"
Provos Systrace
Search vendor "Niels" for product "Provos Systrace"
1.2
Search vendor "Niels" for product "Provos Systrace" and version "1.2"
-
Affected
Niels
Search vendor "Niels"
Provos Systrace
Search vendor "Niels" for product "Provos Systrace"
1.3
Search vendor "Niels" for product "Provos Systrace" and version "1.3"
-
Affected
Niels
Search vendor "Niels"
Provos Systrace
Search vendor "Niels" for product "Provos Systrace"
1.4
Search vendor "Niels" for product "Provos Systrace" and version "1.4"
-
Affected
Niels
Search vendor "Niels"
Provos Systrace
Search vendor "Niels" for product "Provos Systrace"
1.5
Search vendor "Niels" for product "Provos Systrace" and version "1.5"
-
Affected
Vladimir Kotal
Search vendor "Vladimir Kotal"
Systrace Port For Freebsd
Search vendor "Vladimir Kotal" for product "Systrace Port For Freebsd"
2004-03-09
Search vendor "Vladimir Kotal" for product "Systrace Port For Freebsd" and version "2004-03-09"
-
Affected
Vladimir Kotal
Search vendor "Vladimir Kotal"
Systrace Port For Freebsd
Search vendor "Vladimir Kotal" for product "Systrace Port For Freebsd"
2004-06-02
Search vendor "Vladimir Kotal" for product "Systrace Port For Freebsd" and version "2004-06-02"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
2.0
Search vendor "Netbsd" for product "Netbsd" and version "2.0"
-
Affected