CVE-2018-11235
HIGHDebian Linux < 2.13.6 - Path Traversal
Title source: ruleDescription
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.
Exploits (26)
github
WRITEUP
3,480 stars
by qazbnm456 · poc
https://github.com/qazbnm456/awesome-cve-poc/tree/master/CVE-2018-11235.md
github
WRITEUP
14 stars
by xbl3 · poc
https://github.com/xbl3/awesome-cve-poc_qazbnm456/tree/master/CVE-2018-11235.md
nomisec
WORKING POC
3 stars
by qweraqq · poc
https://github.com/qweraqq/CVE-2018-11235-Git-Submodule-CE
nomisec
WORKING POC
by twseptian · poc
https://github.com/twseptian/cve-2018-11235-git-submodule-ce-and-docker-ngrok-configuration
References (11)
Scores
CVSS v3
7.8
EPSS
0.4172
EPSS Percentile
97.4%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-22
Status
published
Products (14)
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
16.04
canonical/ubuntu_linux
17.10
canonical/ubuntu_linux
18.04
debian/debian_linux
8.0
debian/debian_linux
9.0
gitforwindows/git
< 2.17.1
git-scm/git
2.17.0
git-scm/git
< 2.13.6
redhat/enterprise_linux
7.0
... and 4 more
Published
May 30, 2018
Tracked Since
Feb 18, 2026