Vulnerability Details : 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 category: Information leak
Products affected by CVE-2015-1418
- cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2015-1418
1.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2015-1418
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.3
|
HIGH | AV:N/AC:M/Au:N/C:C/I:C/A:C |
8.6
|
10.0
|
NIST | |
7.8
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2015-1418
-
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.Assigned by: nvd@nist.gov (Primary)
References for CVE-2015-1418
-
http://rachelbythebay.com/w/2018/04/05/bangpatch/
patch runs ed, and ed can run anything
-
http://www.securitytracker.com/id/1033188
FreeBSD patch(1) Lets Remote Users Execute Arbitrary Commands on the Target System - SecurityTrackerThird Party Advisory;VDB Entry
-
http://www.securityfocus.com/bid/76236
FreeBSD patch(1) Utility CVE-2015-1418 Command Injection VulnerabilityThird Party Advisory;VDB Entry
-
https://bugs.debian.org/894667
#894667 - beep: CVE-2018-0492 - Debian Bug report logs
-
https://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig
-
https://www.freebsd.org/security/advisories/FreeBSD-SA-15:18.bsdpatch.asc
Vendor Advisory
Jump to