CVE-2018-17456

CRITICAL

Malicious Git HTTP Server For CVE-2018-17456

Title source: metasploit

Description

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.

Exploits (9)

nomisec WORKING POC 5 stars
by AnonymKing · poc
https://github.com/AnonymKing/CVE-2018-17456
nomisec STUB
by shpik-kr · poc
https://github.com/shpik-kr/CVE-2018-17456
nomisec STUB
by 799600966 · poc
https://github.com/799600966/CVE-2018-17456
nomisec STUB
by jiahuiLeee · poc
https://github.com/jiahuiLeee/test
nomisec WORKING POC
by matlink · poc
https://github.com/matlink/CVE-2018-17456
nomisec WORKING POC
by KKkai0315 · poc
https://github.com/KKkai0315/CVE-2018-17456
exploitdb WRITEUP
by joernchen · locallinux
https://www.exploit-db.com/exploits/45631
metasploit WORKING POC EXCELLENT
rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/git_submodule_url_exec.rb
exploitdb WRITEUP
by Junio C Hamano · textlocallinux
https://www.exploit-db.com/exploits/45548

Scores

CVSS v3 9.8
EPSS 0.6623
EPSS Percentile 98.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-88
Status published

Affected Products (19)

git-scm/git < 2.14.5
redhat/ansible_tower
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux
redhat/enterprise_linux_desktop
redhat/enterprise_linux_server
redhat/enterprise_linux_server_aus
redhat/enterprise_linux_server_eus
redhat/enterprise_linux_server_tus
redhat/enterprise_linux_workstation
... and 4 more

Timeline

Published Oct 06, 2018
Tracked Since Feb 18, 2026