### [CVE-2004-2012](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2012) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://marc.info/?l=bugtraq&m=108432258920570&w=2 - http://marc.info/?l=bugtraq&m=108432258920570&w=2 #### Github No PoCs found on GitHub currently.