Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- NetBSD/FreeBSD Port Systrace 1.x - Exit Routine Access Validation Privilege Escalation EDB-24113 · local · May 11, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20040510 Advisory 04/2004: Net(Free)BSD Systrace local root vulnerabilitiy mailing-list
- 10320 vdb-entry
- systrace-gain-privileges(16110) vdb-entry
- 11585 third-party-advisory