#VU40394 Heap-based buffer overflow in FreeBSD - CVE-2016-1885
Published: April 12, 2016 / Updated: August 9, 2020
FreeBSD
FreeBSD Foundation
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in 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. A remote attacker can use an i386_set_ldt system call to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
External links
- http://packetstormsecurity.com/files/136276/FreeBSD-Kernel-amd64_set_ldt-Heap-Overflow.html
- http://seclists.org/fulldisclosure/2016/Mar/56
- http://seclists.org/fulldisclosure/2016/Mar/67
- http://www.coresecurity.com/advisories/freebsd-kernel-amd64setldt-heap-overflow
- http://www.securityfocus.com/archive/1/537812/100/0/threaded
- http://www.securityfocus.com/archive/1/537813/100/0/threaded
- http://www.securitytracker.com/id/1035309
- https://security.FreeBSD.org/advisories/FreeBSD-SA-16:15.sysarch.asc
- https://www.exploit-db.com/exploits/39570/