Improper input validation in FreeBSD - CVE-2015-1418

 

Improper input validation in FreeBSD - CVE-2015-1418

Published: May 10, 2018 / Updated: September 17, 2018


Vulnerability identifier: #VU12592
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2015-1418
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FreeBSD Foundation
Affected software:
FreeBSD

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists in the do_ed_script function in pch.c due to insufficient sanitization of the input patch stream. A remote attacker can execute arbitrary commands via a specially crafted patch file, because a '!' character can be passed to the ed program.


How to mitigate CVE-2015-1418

Install update from vendor's website.

Sources