GLSA-201509-06 : Git: Arbitrary command execution

critical Nessus Plugin ID 86137

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201509-06 (Git: Arbitrary command execution)

A vulnerability in Git causing Git-compatible clients that access case-insensitive or case-normalizing filesystems to overwrite the .git/config when cloning or checking out a repository, leading to execution of arbitrary commands.
Impact :

An attacker can execute arbitrary commands on a client machine that clones a crafted malicious Git tree.
Workaround :

There is no known workaround at this time.

Solution

All Git 1.8.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-vcs/git-1.8.5.6' All Git 1.9.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-vcs/git-1.9.5' All Git 2.0.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-vcs/git-2.0.5'

See Also

https://security.gentoo.org/glsa/201509-06

Plugin Details

Severity: Critical

ID: 86137

File Name: gentoo_GLSA-201509-06.nasl

Version: 2.5

Type: local

Published: 9/25/2015

Updated: 1/11/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:git, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/24/2015

Vulnerability Publication Date: 2/12/2020

Exploitable With

Core Impact

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

Reference Information

CVE: CVE-2014-9390

GLSA: 201509-06