Description
Integer overflow in the envwrite function in the Alcatel-Lucent Bell Labs Plan 9 kernel allows local users to overwrite certain memory addresses with kernel memory via a large n argument, as demonstrated by (1) modifying the iseve function to gain privileges and (2) making the devpermcheck function grant unrestricted device permissions.
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
- Plan 9 Kernel - 'devenv.c OTRUNC/pwrite' Local Privilege Escalation EDB-3383 · local · Feb 28, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 22749 vdb-entry
- 3383 exploit
- http://kernelspace.us/itheft.c
- 34956 vdb-entry
- [dailydave] 20070227 Wow, free kernel zero day? mailing-list