Arbitrary command execution in FreeBSD



Published: 2016-10-10 | Updated: 2016-10-11
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
FreeBSD
Operating systems & Components / Operating system

Vendor FreeBSD Foundation

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Arbitrary command execution

EUVDB-ID: #VU826

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 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote unauthenticated user to execute arbitrary commands on the target system.
The weakness occurs in portsnap and exists due to insufficicient validation of downloaded tar files. By sending a specially crafted tar file attackers can cause arbitrary commands execution. A malicious user possessing elevated privileges is able to compromise the system completely.
Successful exploitation of the vulnerability leads to arbitrary command execution on the vulnerable system.

Mitigation

Update patched versions:
- 10.x (https://security.FreeBSD.org/patches/SA-16:30/portsnap-10.patch);
- 9.3 (https://security.FreeBSD.org/patches/SA-16:30/portsnap-9.3.patch).

Vulnerable software versions

FreeBSD: 9.3 - 11.0

External links

http://www.freebsd.org/security/advisories/FreeBSD-SA-16:30.portsnap.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.



###SIDEBAR###