GitHub for Windows < 2.6.5 .git/config Command Execution

medium Nessus Plugin ID 80202

Synopsis

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

Description

The version of GitHub for Windows installed on the remote host is prior to 2.6.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.

Solution

Upgrade to GitHub for Windows 2.6.5 or later.

See Also

http://www.nessus.org/u?ad68bb83

https://desktop.github.com/

http://article.gmane.org/gmane.linux.kernel/1853266

http://www.nessus.org/u?afc47628

Plugin Details

Severity: Medium

ID: 80202

File Name: github_win_rce.nasl

Version: 1.10

Type: local

Agent: windows

Family: Windows

Published: 12/22/2014

Updated: 11/15/2018

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

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

Vulnerability Information

CPE: cpe:/a:github:github, cpe:/a:git:git

Required KB Items: installed_sw/GitHub for Windows

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/18/2014

Vulnerability Publication Date: 12/18/2014

Exploitable With

Core Impact

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

Reference Information

CVE: CVE-2014-9390

BID: 71732