{"id":"MSF-multi--http--git_submodule_command_exec","name":"Malicious Git HTTP Server For CVE-2017-1000117","description":"This 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 is cloned. This module creates a fake git repository which contains a submodule containing the vulnerability. The vulnerability is triggered when the submodules are initialised.","cves":["CVE-2017-1000117"],"author":"timwr","published":"2017-08-10","platform":"Unix","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/http/git_submodule_command_exec.rb","path":"modules/exploits/multi/http/git_submodule_command_exec.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"git_submodule_command_exec.rb","vulnerabilities":[{"id":"CVE-2017-1000117","state":"PUBLISHED","title":null,"titleSource":null,"description":"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-1000117","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000117"},"updatedAt":"2024-08-05T21:53:06.692Z","retrievedAt":"2026-11-26T12:05:22.704Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--http--git_submodule_command_exec.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--http--git_submodule_command_exec","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--git_submodule_command_exec/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--http--git_submodule_command_exec/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}