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: 9.3 [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]
CVE-ID: CVE-2015-1418
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

FreeBSD
Amazon Linux AMI

How to mitigate CVE-2015-1418

Install update from vendor's website.


External References

Related Security Bulletins