Git for Windows .git/config Command Execution

Medium Nessus Plugin ID 80306


The remote Windows host has an application installed that is affected by a command execution vulnerability.


The version of Git for Windows (also known as msysGit) installed on the remote host is prior to 1.9.5. It is, therefore, affected by a command execution vulnerability when processing specially crafted git trees in a case-insensitive or case-normalizing file system. A remote attacker, using a specially crafted git tree, can overwrite a user's '.git/config' file when the user clones or checks out a repository, allowing arbitrary command execution.


Upgrade to Git for Windows 1.9.5 (Git-1.9.5-preview20141217) or later.

See Also

Plugin Details

Severity: Medium

ID: 80306

File Name: git_for_windows_1_9_5.nasl

Version: $Revision: 1.6 $

Type: local

Agent: windows

Family: Windows

Published: 2014/12/30

Modified: 2017/02/07

Dependencies: 80305

Risk Information

Risk Factor: Medium


Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:git_for_windows_project:git_for_windows

Required KB Items: installed_sw/Git for Windows

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2014/12/17

Vulnerability Publication Date: 2014/12/18

Exploitable With

Core Impact

Metasploit (Malicious Git and Mercurial HTTP Server For CVE-2014-9390)

Reference Information

CVE: CVE-2014-9390

BID: 71732

OSVDB: 116041