Information disclosure in FreeBSD
CVE-2015-1418
The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before 10.2-BETA2-p3, 10.2-RC1 before 10.2-RC1-p2, and 0.2-RC2 before 10.2-RC2-p1, allows remote attackers to execute arbitrary commands via a crafted patch file, because a '!' character can be passed to the ed program.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.037, 89.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- FreeBSD — versions 10.1, 10.2
Weakness classification (CWE)
References
- ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig
- www.securityfocus.com/bid/76236 (Third Party Advisory, VDB Entry, vdb-entry)
- www.securitytracker.com/id/1033188 (Third Party Advisory, VDB Entry, vdb-entry)
- FreeBSD-SA-15:18 (vendor-advisory, Vendor Advisory)
- rachelbythebay.com/w/2018/04/05/bangpatch/
- bugs.debian.org/894667