CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-1000156

GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is similar to FreeBSD's CVE-2015-1418 however although they share a common ancestry the code bases have diverged over time.
Publish Date : 2018-04-06 Last Update Date : 2019-07-30
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 20

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2018:1199: patch security update (Important) oval:com.redhat.rhsa:def:20181199 unix
RHSA-2018:1200: patch security update (Important) oval:com.redhat.rhsa:def:20181200 unix
RHSA-2018:2091: patch security update (Important) oval:com.redhat.rhsa:def:20182091 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2018-1000156

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 12.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 17.10 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 7.0 * * * Version Details Vulnerabilities
6 Application GNU Patch 2.7.6 * * * Version Details Vulnerabilities
7 OS Redhat Enterprise Linux Desktop 6.0 * * * Version Details Vulnerabilities
8 OS Redhat Enterprise Linux Desktop 7.0 * * * Version Details Vulnerabilities
9 OS Redhat Enterprise Linux Server 6.0 * * * Version Details Vulnerabilities
10 OS Redhat Enterprise Linux Server 7.0 * * * Version Details Vulnerabilities
11 OS Redhat Enterprise Linux Server Aus 6.4 * * * Version Details Vulnerabilities
12 OS Redhat Enterprise Linux Server Aus 6.5 * * * Version Details Vulnerabilities
13 OS Redhat Enterprise Linux Server Aus 6.6 * * * Version Details Vulnerabilities
14 OS Redhat Enterprise Linux Server Aus 7.2 * * * Version Details Vulnerabilities
15 OS Redhat Enterprise Linux Server Aus 7.3 * * * Version Details Vulnerabilities
16 OS Redhat Enterprise Linux Server Aus 7.4 * * * Version Details Vulnerabilities
17 OS Redhat Enterprise Linux Server Aus 7.6 * * * Version Details Vulnerabilities
18 OS Redhat Enterprise Linux Server Eus 6.7 * * * Version Details Vulnerabilities
19 OS Redhat Enterprise Linux Server Eus 7.3 * * * Version Details Vulnerabilities
20 OS Redhat Enterprise Linux Server Eus 7.4 * * * Version Details Vulnerabilities
21 OS Redhat Enterprise Linux Server Eus 7.5 * * * Version Details Vulnerabilities
22 OS Redhat Enterprise Linux Server Eus 7.6 * * * Version Details Vulnerabilities
23 OS Redhat Enterprise Linux Server Tus 6.6 * * * Version Details Vulnerabilities
24 OS Redhat Enterprise Linux Server Tus 7.2 * * * Version Details Vulnerabilities
25 OS Redhat Enterprise Linux Server Tus 7.3 * * * Version Details Vulnerabilities
26 OS Redhat Enterprise Linux Server Tus 7.4 * * * Version Details Vulnerabilities
27 OS Redhat Enterprise Linux Server Tus 7.6 * * * Version Details Vulnerabilities
28 OS Redhat Enterprise Linux Workstation 6.0 * * * Version Details Vulnerabilities
29 OS Redhat Enterprise Linux Workstation 7.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 1
GNU Patch 1
Redhat Enterprise Linux Desktop 2
Redhat Enterprise Linux Server 2
Redhat Enterprise Linux Server Aus 7
Redhat Enterprise Linux Server Eus 5
Redhat Enterprise Linux Server Tus 5
Redhat Enterprise Linux Workstation 2

- References For CVE-2018-1000156

https://seclists.org/bugtraq/2019/Aug/29
BUGTRAQ 20190816 Details about recent GNU patch vulnerabilities
https://access.redhat.com/errata/RHSA-2018:1200
REDHAT RHSA-2018:1200
https://security.gentoo.org/glsa/201904-17
GENTOO GLSA-201904-17
https://access.redhat.com/errata/RHSA-2018:2091
REDHAT RHSA-2018:2091
http://rachelbythebay.com/w/2018/04/05/bangpatch/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894667#19
https://access.redhat.com/errata/RHSA-2018:2096
REDHAT RHSA-2018:2096
https://access.redhat.com/errata/RHSA-2018:2095
REDHAT RHSA-2018:2095
https://seclists.org/bugtraq/2019/Jul/54
BUGTRAQ 20190730 [SECURITY] [DSA 4489-1] patch security update
https://access.redhat.com/errata/RHSA-2018:1199
REDHAT RHSA-2018:1199
https://lists.debian.org/debian-lts-announce/2018/04/msg00013.html
MLIST [debian-lts-announce] 20180416 [SECURITY] [DLA 1348-1] patch security update
https://usn.ubuntu.com/3624-1/
UBUNTU USN-3624-1
https://usn.ubuntu.com/3624-2/
UBUNTU USN-3624-2
https://access.redhat.com/errata/RHSA-2018:2097
REDHAT RHSA-2018:2097
https://access.redhat.com/errata/RHSA-2018:2093
REDHAT RHSA-2018:2093
https://savannah.gnu.org/bugs/index.php?53566 CONFIRM
https://access.redhat.com/errata/RHSA-2018:2092
REDHAT RHSA-2018:2092
https://twitter.com/kurtseifried/status/982028968877436928
https://access.redhat.com/errata/RHSA-2018:2094
REDHAT RHSA-2018:2094
http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html

- Metasploit Modules Related To CVE-2018-1000156

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.