CVE-2018-11235
Git Remote Code Execution Vulnerability
Description
In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.
INFO
Published Date :
May 30, 2018, 4:29 a.m.
Last Modified :
Nov. 21, 2024, 3:42 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2018-11235 has a 46 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2018-11235
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-11235
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
pentesterlab_CVE-2018-11235: Git Submodule RCE
zomotoa food app
None
Shell
None
Shell
None
None
CVE-2018-11235: Git Submodule RCE
CVE-2018-11235-Git-Submodule-CE + Docker Ngrok Configuration
Dockerfile Shell
Auto malicious git repository creation to exploit CVE-2018-11235 a Remote Code Execution using Git Sub module.
Shell
None
None
None
PoC exploit for CVE-2018-11235 allowing RCE on git clone --recurse-submodules
None
Shell
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-11235
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-11235
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html Added Reference http://www.securityfocus.com/bid/104345 Added Reference http://www.securitytracker.com/id/1040991 Added Reference https://access.redhat.com/errata/RHSA-2018:1957 Added Reference https://access.redhat.com/errata/RHSA-2018:2147 Added Reference https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ Added Reference https://marc.info/?l=git&m=152761328506724&w=2 Added Reference https://security.gentoo.org/glsa/201805-13 Added Reference https://usn.ubuntu.com/3671-1/ Added Reference https://www.debian.org/security/2018/dsa-4212 Added Reference https://www.exploit-db.com/exploits/44822/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
May. 02, 2020
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html [No Types Assigned] -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-254 CWE-22 CWE-22 -
Modified Analysis by [email protected]
Mar. 29, 2019
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/201805-13 No Types Assigned https://security.gentoo.org/glsa/201805-13 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2147 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2147 Third Party Advisory -
CVE Modified by [email protected]
Oct. 21, 2018
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201805-13 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 12, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:2147 [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 02, 2018
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1957 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1957 Third Party Advisory Changed Reference Type https://www.exploit-db.com/exploits/44822/ No Types Assigned https://www.exploit-db.com/exploits/44822/ Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://www.securityfocus.com/bid/104345 No Types Assigned http://www.securityfocus.com/bid/104345 Third Party Advisory, VDB Entry Changed Reference Type https://usn.ubuntu.com/3671-1/ No Types Assigned https://usn.ubuntu.com/3671-1/ Third Party Advisory Changed Reference Type http://www.securitytracker.com/id/1040991 No Types Assigned http://www.securitytracker.com/id/1040991 Third Party Advisory, VDB Entry Changed Reference Type https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ No Types Assigned https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ Patch, Technical Description, Vendor Advisory Changed Reference Type https://marc.info/?l=git&m=152761328506724&w=2 No Types Assigned https://marc.info/?l=git&m=152761328506724&w=2 Release Notes, Third Party Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4212 No Types Assigned https://www.debian.org/security/2018/dsa-4212 Third Party Advisory Added CWE CWE-254 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Added CPE Configuration OR *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:17.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *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_server_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions up to (including) 2.13.6 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.14.0 up to (including) 2.14.3 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.15.0 up to (including) 2.15.1 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.16.0 up to (including) 2.16.3 *cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* versions up to (including) 2.17.1 -
CVE Modified by [email protected]
Jun. 22, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:1957 [No Types Assigned] -
CVE Modified by [email protected]
Jun. 08, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3671-1/ [No Types Assigned] -
CVE Modified by [email protected]
Jun. 04, 2018
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/44822/ [No Types Assigned] -
CVE Modified by [email protected]
Jun. 02, 2018
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/104345 [No Types Assigned] -
CVE Modified by [email protected]
May. 31, 2018
Action Type Old Value New Value Removed Reference https://marc.info/?l=git&m=152761328506724&w=2 [No Types Assigned] Added Reference https://www.debian.org/security/2018/dsa-4212 [No Types Assigned] Added Reference https://marc.info/?l=git&m=152761328506724&w=2 [No Types Assigned] Added Reference http://www.securitytracker.com/id/1040991 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-11235
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-11235
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
12.50 }} 10.21%
score
0.95417
percentile