Description
OpenBSD kernel 3.3 and 3.4 allows local users to cause a denial of service (kernel panic) and possibly execute arbitrary code in 3.4 via a program with an invalid header that is not properly handled by (1) ibcs2_exec.c in the iBCS2 emulation (compat_ibcs2) or (2) exec_elf.c, which leads to a stack-based buffer overflow.
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 2
- OpenBSD 2.x < 3.3 - 'exec_ibcs2_coff_prep_zmagic()' kernel stack overflow EDB-125 · local · Nov 19, 2003 · verified
- OpenBSD - 'ibcs2_exec' Kernel Code Execution EDB-118 · local · Nov 7, 2003 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20031104 010: RELIABILITY FIX: November 4, 2003 vendor-advisory
- http://marc.info/?l=openbsd-security-announce&m=106917441524978&w=2
- 8978 vdb-entry
- http://marc.info/?l=openbsd-security-announce&m=106808820119679&w=2
- 20031104 OpenBSD kernel overflow, yet still *BSD much better than windows mailing-list
- http://www.guninski.com/msuxobsd2.html