Description
Integer signedness error in the amd64_set_ldt function in sys/amd64/amd64/sys_machdep.c in FreeBSD 9.3 before p39, 10.1 before p31, and 10.2 before p14 allows local users to cause a denial of service (kernel panic) via an i386_set_ldt system call, which triggers a heap-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 1
- FreeBSD 10.2 (x64) - 'amd64_set_ldt' Heap Overflow EDB-39570 · dos · Mar 16, 2016 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 39570 exploit
- FreeBSD-SA-16:15 vendor-advisory
- http://www.coresecurity.com/advisories/freebsd-kernel-amd64setldt-heap-overflow
- 20160316 [CORE-2016-0005] - FreeBSD Kernel amd64_set_ldt Heap Overflow mailing-list
- 20160317 Re: [CORE-2016-0005] - FreeBSD Kernel amd64_set_ldt Heap Overflow mailing-list
- 1035309 vdb-entry
- 20160316 Re: [FD] [CORE-2016-0005] - FreeBSD Kernel amd64_set_ldt Heap Overflow mailing-list
- 20160316 [CORE-2016-0005] - FreeBSD Kernel amd64_set_ldt Heap Overflow mailing-list
- http://packetstormsecurity.com/files/136276/FreeBSD-Kernel-amd64_set_ldt-Heap-Overflow.html