#VU824 Arbitrary code execution in FreeBSD


Published: 2016-10-10 | Updated: 2016-10-11

Vulnerability identifier: #VU824

Vulnerability risk: High

CVSSv3.1: 8.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
FreeBSD
Operating systems & Components / Operating system

Vendor: FreeBSD Foundation

Description
The vulnerability allows a remote unauthenticated user to cause arbitrary code execution on the target system.
The weakness occurs in bspatch and exists due to insufficient input validation. By creating and sending a specially crafted patch file attackers can trigger a heap overflow and execute arbitrary code.
Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.

Mitigation
Update patched versions
https://security.FreeBSD.org/patches/SA-16:29/bspatch.patch

Vulnerable software versions

FreeBSD: 9.3 - 11.0


External links
http://www.freebsd.org/security/advisories/FreeBSD-SA-16:29.bspatch.asc


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability