#VU40394 Heap-based buffer overflow in FreeBSD - CVE-2016-1885
Published: April 12, 2016 / Updated: August 9, 2020
Vulnerability identifier: #VU40394
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2016-1885
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
Public exploit is available
Vulnerable software:
FreeBSD
FreeBSD
Software vendor:
FreeBSD Foundation
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
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.
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/