NetBSD 2.0 dec/systrace systrace_exit Local Privilege Escalation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in NetBSD 2.0. This issue affects the function systrace_exit of the file dec/systrace. Performing a manipulation results in Local Privilege Escalation. This vulnerability was named CVE-2004-2012. In addition, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in NetBSD 2.0 (Operating System). It has been classified as critical. This affects the function systrace_exit of the file dec/systrace. The manipulation with an unknown input leads to a local privilege escalation vulnerability. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE 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.

The weakness was presented 12/31/2004 by Stefan Esser (Website). It is possible to read the advisory at marc.theaimsgroup.com. This vulnerability is uniquely identified as CVE-2004-2012 since 05/04/2005. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. Technical details and a public exploit are known.

A public exploit has been developed in ANSI C. The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $25k-$100k.

Upgrading to version 2.0 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (16110), Exploit-DB (24113), SecurityFocus (BID 10320†) and Secunia (SA11585†). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.4
VulDB Meta Temp Score: 7.6

VulDB Base Score: 8.4
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Local Privilege Escalation
CWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: NetBSD 2.0

Timelineinfo

05/11/2004 🔍
05/11/2004 +0 days 🔍
12/31/2004 +234 days 🔍
12/31/2004 +0 days 🔍
05/04/2005 +124 days 🔍
03/09/2015 +3596 days 🔍
08/15/2024 +3447 days 🔍

Sourcesinfo

Advisory: marc.theaimsgroup.com
Researcher: Stefan Esser
Status: Confirmed

CVE: CVE-2004-2012 (🔍)
GCVE (CVE): GCVE-0-2004-2012
GCVE (VulDB): GCVE-100-22983
X-Force: 16110 - Systrace allows elevated privileges
SecurityFocus: 10320
Secunia: 11585 - NetBSD Systrace Privilege Escalation Vulnerability, Less Critical

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 03/09/2015 15:52
Updated: 08/15/2024 12:25
Changes: 03/09/2015 15:52 (55), 06/23/2018 07:19 (8), 08/15/2024 12:25 (22)
Complete: 🔍
Cache ID: 216:1F9:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!