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-17456

Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.
Publish Date : 2018-10-06 Last Update Date : 2019-01-08
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
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 Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required 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:3408: git security update (Important) oval:com.redhat.rhsa:def:20183408 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-17456

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 ~~lts~~~ Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 ~~lts~~~ Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 18.04 ~~lts~~~ Version Details Vulnerabilities
4 OS Debian Debian Linux 9.0 Version Details Vulnerabilities
5 Application Git-scm GIT 2.14.0 Version Details Vulnerabilities
6 Application Git-scm GIT 2.14.0 RC0 Version Details Vulnerabilities
7 Application Git-scm GIT 2.14.0 RC1 Version Details Vulnerabilities
8 Application Git-scm GIT 2.14.1 Version Details Vulnerabilities
9 Application Git-scm GIT 2.14.2 Version Details Vulnerabilities
10 Application Git-scm GIT 2.15.0 Version Details Vulnerabilities
11 Application Git-scm GIT 2.15.0 RC0 Version Details Vulnerabilities
12 Application Git-scm GIT 2.15.0 RC1 Version Details Vulnerabilities
13 OS Redhat Enterprise Linux 6 Version Details Vulnerabilities
14 OS Redhat Enterprise Linux 6.7 Version Details Vulnerabilities
15 OS Redhat Enterprise Linux 7.0 Version Details Vulnerabilities
16 OS Redhat Enterprise Linux 7.3 Version Details Vulnerabilities
17 OS Redhat Enterprise Linux 7.4 Version Details Vulnerabilities
18 OS Redhat Enterprise Linux 7.5 Version Details Vulnerabilities
19 OS Redhat Enterprise Linux Desktop 7.0 Version Details Vulnerabilities
20 OS Redhat Enterprise Linux Server 7.0 Version Details Vulnerabilities
21 OS Redhat Enterprise Linux Server Aus 7.6 Version Details Vulnerabilities
22 OS Redhat Enterprise Linux Server Eus 7.6 Version Details Vulnerabilities
23 OS Redhat Enterprise Linux Server Tus 7.6 Version Details Vulnerabilities
24 OS Redhat Enterprise Linux Workstation 7.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 3
Debian Debian Linux 1
Git-scm GIT 8
Redhat Enterprise Linux 6
Redhat Enterprise Linux Desktop 1
Redhat Enterprise Linux Server 1
Redhat Enterprise Linux Server Aus 1
Redhat Enterprise Linux Server Eus 1
Redhat Enterprise Linux Server Tus 1
Redhat Enterprise Linux Workstation 1

- References For CVE-2018-17456

https://www.openwall.com/lists/oss-security/2018/10/06/3
https://www.exploit-db.com/exploits/45631/
EXPLOIT-DB 45631
https://www.debian.org/security/2018/dsa-4311
DEBIAN DSA-4311
http://www.securityfocus.com/bid/105523
BID 105523 Git CVE-2018-17456 Arbitrary Code Execution Vulnerability Release Date:2018-10-05
https://access.redhat.com/errata/RHSA-2018:3541
REDHAT RHSA-2018:3541
https://marc.info/?l=git&m=153875888916397&w=2
https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46
https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404
https://www.exploit-db.com/exploits/45548/
EXPLOIT-DB 45548
https://access.redhat.com/errata/RHSA-2018:3505
REDHAT RHSA-2018:3505
https://access.redhat.com/errata/RHSA-2018:3408
REDHAT RHSA-2018:3408
https://usn.ubuntu.com/3791-1/
UBUNTU USN-3791-1
http://www.securitytracker.com/id/1041811
SECTRACK 1041811

- Metasploit Modules Related To CVE-2018-17456

Malicious Git HTTP Server For CVE-2018-17456
This module exploits CVE-2018-17456, which affects Git versions 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, and 2.19.1 and lower. When a submodule url which starts with a dash e.g "-u./payload" is passed as an argument to git clone, the file "payload" inside the repository is executed. This module creates a fake git repository which contains a submodule containing the vulnerability. The vulnerability is triggered when the submodules are initialised (e.g git clone --recurse-submodules URL)
Module type : exploit Rank : excellent


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.