NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

BID:10320

Info

NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

Bugtraq ID: 10320
Class: Access Validation Error
CVE:
Remote: No
Local: Yes
Published: May 11 2004 12:00AM
Updated: May 11 2004 12:00AM
Credit: Discovery is credited to Stefan Esser.
Vulnerable: Vladimir Kotal Systrace Port for FreeBSD 20040602 snapshot
Vladimir Kotal Systrace Port for FreeBSD 20040309 snapshot
Niels Provos Systrace 1.5
Niels Provos Systrace 1.4
Niels Provos Systrace 1.3
Niels Provos Systrace 1.2
Niels Provos Systrace 1.1
NetBSD NetBSD 2.0
Not Vulnerable: NetBSD NetBSD 1.6.2
NetBSD NetBSD 1.6.1
NetBSD NetBSD 1.6
NetBSD NetBSD 1.5.3
NetBSD NetBSD 1.5.2
NetBSD NetBSD 1.5.1

Discussion

NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

A vulnerability has been reported that affects Systrace on NetBSD, as well as the FreeBSD port by Vladimir Kotal.

The source of the issue is insufficient access validation when a systraced process is restoring privileges.

This issue can be exploited by a local attacker to gain root privileges on a vulnerable system.

Exploit / POC

NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

The researcher who discovered this issue has developed working exploit code that is not publicly available or known to be circulating in the wild. The following exploit (netbsd_systrace.c) is alleged to be a working proof of concept; Symantec has neither verified the integrity or viability of this exploit.

Solution / Fix

NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

Solution:
This issue has been addressed in the NetBSD CVS tree as of 2004/04/09. Other official fixes have not been released as of this writing.

NetBSD has released security advisory 2004-007 dealing with this issue. Please see the referenced advisory for more information as well as details on obtaining fixes.

References

NetBSD/FreeBSD Port Systrace Exit Routine Access Validation Privilege Escalation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report