Vulnerability Details : CVE-2018-17456
Public exploit exists!
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.
Vulnerability category: Execute code
Products affected by CVE-2018-17456
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
Threat overview for CVE-2018-17456
Top countries where our scanners detected CVE-2018-17456
Top open port discovered on systems with this issue
53
IPs affected by CVE-2018-17456 755,142
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2018-17456!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2018-17456
68.52%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 98 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2018-17456
-
Malicious Git HTTP Server For CVE-2018-17456
Disclosure Date: 2018-10-05First seen: 2020-04-26exploit/multi/http/git_submodule_url_execThis 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" in
CVSS scores for CVE-2018-17456
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2018-17456
-
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-17456
-
https://www.exploit-db.com/exploits/45631/
Git Submodule - Arbitrary Code ExecutionExploit;Third Party Advisory;VDB Entry
-
http://www.securityfocus.com/bid/107511
Atlassian SourceTree CVE-2018-17456 Arbitrary Code Execution VulnerabilityVDB Entry;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
[security-announce] openSUSE-SU-2020:0598-1: moderate: Security update f
-
https://www.debian.org/security/2018/dsa-4311
Debian -- Security Information -- DSA-4311-1 gitThird Party Advisory
-
http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html
Sourcetree Git Arbitrary Code Execution / URL Handling ≈ Packet StormThird Party Advisory;VDB Entry
-
https://access.redhat.com/errata/RHSA-2018:3541
RHSA-2018:3541 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://seclists.org/bugtraq/2019/Mar/30
Bugtraq: March 2019 Sourcetree Advisory - Multiple Remote Code Execution VulnerabilitiesMailing List;Third Party Advisory
-
https://www.openwall.com/lists/oss-security/2018/10/06/3
oss-security - CVE-2018-17456 Git RCE via .gitmodulesMailing List;Third Party Advisory
-
https://access.redhat.com/errata/RHSA-2018:3505
RHSA-2018:3505 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.securitytracker.com/id/1041811
Git 'git clone' Lets Remote Users Execute Arbitrary Code When Cloning to a Target System - SecurityTrackerThird Party Advisory;VDB Entry
-
https://www.exploit-db.com/exploits/45548/
Git Submodule - Arbitrary Code Execution (PoC)Exploit;Third Party Advisory;VDB Entry
-
https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46
fsck: detect submodule urls starting with dash · git/git@a124133 · GitHubPatch;Third Party Advisory
-
https://usn.ubuntu.com/3791-1/
USN-3791-1: Git vulnerability | Ubuntu security noticesThird Party Advisory
-
https://access.redhat.com/errata/RHSA-2020:0316
RHSA-2020:0316 - Security Advisory - Red Hat Customer Portal
-
https://access.redhat.com/errata/RHSA-2018:3408
RHSA-2018:3408 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404
fsck: detect submodule paths starting with dash · git/git@1a7fd1f · GitHubPatch;Third Party Advisory
-
http://www.securityfocus.com/bid/105523
Git CVE-2018-17456 Arbitrary Code Execution VulnerabilityThird Party Advisory;VDB Entry
-
https://marc.info/?l=git&m=153875888916397&w=2
'[Announce] Git 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, and 2.19.1' - MARCThird Party Advisory
Jump to