Vulnerability Name:

CVE-2004-2012 (CCN-16110)

Assigned:2004-05-10
Published:2004-05-10
Updated:2017-07-11
Summary: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.
CVSS v3 Severity:9.3 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
5.3 Medium (Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
5.3 Medium (CCN Temporal CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: NETBSD
Type: UNKNOWN
NetBSD-SA2004-007

Source: CCN
Type: Full-Disclosure Mailing List, Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy
Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy

Source: MITRE
Type: CNA
CVE-2004-2012

Source: BUGTRAQ
Type: UNKNOWN
20040510 Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy

Source: CCN
Type: SA11585
NetBSD Systrace Privilege Escalation Vulnerability

Source: SECUNIA
Type: UNKNOWN
11585

Source: CCN
Type: OSVDB ID: 6035
NetBSD Systrace Privilege Escalation

Source: BID
Type: Exploit
10320

Source: CCN
Type: BID-10320
NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

Source: XF
Type: UNKNOWN
systrace-gain-privileges(16110)

Source: XF
Type: UNKNOWN
systrace-gain-privileges(16110)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:niels:provos_systrace:1.1:*:*:*:*:*:*:*
  • OR cpe:/a:niels:provos_systrace:1.2:*:*:*:*:*:*:*
  • OR cpe:/a:niels:provos_systrace:1.3:*:*:*:*:*:*:*
  • OR cpe:/a:niels:provos_systrace:1.4:*:*:*:*:*:*:*
  • OR cpe:/a:niels:provos_systrace:1.5:*:*:*:*:*:*:*
  • OR cpe:/a:vladimir_kotal:systrace_port_for_freebsd:2004-03-09:*:*:*:*:*:*:*
  • OR cpe:/a:vladimir_kotal:systrace_port_for_freebsd:2004-06-02:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:netbsd:netbsd:2.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:netbsd:netbsd:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    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
    netbsd netbsd *