CVE-2017-1000117 is a command injection vulnerability in Git that allows a malicious third party to craft a specially formed 'ssh://' URL, which, when processed by a victim (e.g., via 'git clone --recurse-submodules'), can result in the execution of arbitrary programs on the victim's machine. The attack vector leverages the ability to inject arbitrary SSH options and commands through the repository URL, particularly via the .gitmodules file in a malicious project. The vulnerability arises because Git passes user-supplied arguments directly to SSH without proper sanitization, enabling command injection.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a single Metasploit module: 'git_submodule_command_exec.rb', which exploits CVE-2017-1000117 in Git (versions 2.7.5 and lower). The exploit works by running a malicious HTTP server that serves a fake Git repository. This repository contains a .gitmodules file with a submodule URL crafted to inject OS commands via the 'ssh://' protocol and the ProxyCommand option. When a vulnerable client clones the repository and initializes submodules, the injected command is executed on the victim's system. The default payload is a Python reverse shell, but any Metasploit command payload can be used. The module is highly weaponized, allowing easy customization of the malicious repository path and submodule name. The main attack vector is network-based, requiring the victim to clone from the attacker's HTTP server. The only code file is the Metasploit module itself, written in Ruby.
This repository is a proof-of-concept (PoC) exploit for CVE-2017-1000117, a critical vulnerability in Git that allows arbitrary command execution via malicious submodule URLs. The repository contains a .gitmodules file with submodules whose URLs are crafted to exploit the vulnerability: they use the ProxyCommand option to execute a base64-decoded shell command when the submodule is initialized. The payload writes a message and the current user ID to /tmp/pwned.txt, demonstrating code execution. The README provides instructions for cloning the repository with submodules enabled, which is necessary to trigger the exploit. No actual code files are present; the exploit is delivered entirely via Git configuration. The main fingerprintable endpoint is the file /tmp/pwned.txt, which is created as a result of successful exploitation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.