GitHub < 1.9.4 .git/config Command Execution (Mac OS X)

medium Nessus Plugin ID 80220

Synopsis

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

Description

The remote Mac OS X host has a version of GitHub prior to 194 installed. It is, therefore, affected by a remote command execution vulnerability when processing 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 version 1.9.4 or later.

See Also

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

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

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

Plugin Details

Severity: Medium

ID: 80220

File Name: macosx_github_194.nasl

Version: 1.8

Type: local

Agent: macosx

Published: 12/23/2014

Updated: 7/14/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: Host/local_checks_enabled, Host/MacOSX/Version, installed_sw/GitHub

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