Vulnerability Details : CVE-2017-1000117
Public exploit exists!
A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-submodules" to trigger the vulnerability.
Vulnerability category: Open redirect
Products affected by CVE-2017-1000117
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.1:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.1:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.1:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.2:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.3:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.1:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.1:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.2:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.14.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.4:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.5:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.2:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.10.3:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.3:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.14.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.14.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.8.1:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.2:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.3:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.9.4:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.11.2:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.12.0:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.3:*:*:*:*:*:*:*
- cpe:2.3:a:git-scm:git:2.13.4:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-1000117
74.65%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2017-1000117
-
Malicious Git HTTP Server For CVE-2017-1000117
Disclosure Date: 2017-08-10First seen: 2020-04-26exploit/multi/http/git_submodule_command_execThis module exploits CVE-2017-1000117, which affects Git version 2.7.5 and lower. A submodule of the form 'ssh://' can be passed parameters from the username incorrectly. This can be used to inject commands to the operating system when the submodule i
CVSS scores for CVE-2017-1000117
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2017-1000117
-
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-1000117
-
https://www.exploit-db.com/exploits/42599/
Git < 2.7.5 - Command Injection (Metasploit)Third Party Advisory;VDB Entry
-
https://access.redhat.com/errata/RHSA-2017:2484
RHSA-2017:2484 - Security Advisory - Red Hat Customer Portal
-
http://www.debian.org/security/2017/dsa-3934
Debian -- Security Information -- DSA-3934-1 git
-
https://security.gentoo.org/glsa/201709-10
Git: Command injection (GLSA 201709-10) — Gentoo securityThird Party Advisory;VDB Entry
-
https://access.redhat.com/errata/RHSA-2017:2491
RHSA-2017:2491 - Security Advisory - Red Hat Customer Portal
-
http://www.securityfocus.com/bid/100283
Git CVE-2017-1000117 Remote Command Injection VulnerabilityThird Party Advisory;VDB Entry
-
https://access.redhat.com/errata/RHSA-2017:2675
RHSA-2017:2675 - Security Advisory - Red Hat Customer Portal
-
https://access.redhat.com/errata/RHSA-2017:2674
RHSA-2017:2674 - Security Advisory - Red Hat Customer Portal
-
https://support.apple.com/HT208103
About the security content of Xcode 9 - Apple SupportThird Party Advisory
-
http://www.securitytracker.com/id/1039131
Git 'ssh://' URL Processing Flaw Lets Remote Users Execute Arbitrary Commands on the Target System - SecurityTrackerThird Party Advisory;VDB Entry
-
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1466490.html
[ANNOUNCE] Git v2.14.1, v2.13.5, and othersMailing List;Patch;Third Party Advisory
-
https://access.redhat.com/errata/RHSA-2017:2485
RHSA-2017:2485 - Security Advisory - Red Hat Customer Portal
Jump to