Amazon Linux AMI : git (ALAS-2017-882)

high Nessus Plugin ID 102870

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

Command injection via malicious ssh URLs :

A shell command injection flaw related to the handling of 'ssh' URLs has been discovered in Git. An attacker could use this flaw to execute shell commands with the privileges of the user running the Git client, for example, when performing a 'clone' action on a malicious repository or a legitimate repository containing a malicious commit.(CVE-2017-1000117)

Solution

Run 'yum update git' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2017-882.html

Plugin Details

Severity: High

ID: 102870

File Name: ala_ALAS-2017-882.nasl

Version: 3.5

Type: local

Agent: unix

Published: 9/1/2017

Updated: 4/10/2019

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, 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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:git-p4, p-cpe:/a:amazon:linux:git, p-cpe:/a:amazon:linux:git-daemon, p-cpe:/a:amazon:linux:perl-git, p-cpe:/a:amazon:linux:git-svn, p-cpe:/a:amazon:linux:git-cvs, p-cpe:/a:amazon:linux:gitweb, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:git-all, p-cpe:/a:amazon:linux:emacs-git-el, p-cpe:/a:amazon:linux:git-debuginfo, p-cpe:/a:amazon:linux:git-hg, p-cpe:/a:amazon:linux:emacs-git, p-cpe:/a:amazon:linux:git-bzr, p-cpe:/a:amazon:linux:perl-git-svn, p-cpe:/a:amazon:linux:git-email

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/31/2017

Exploitable With

Metasploit (Malicious Git HTTP Server For CVE-2017-1000117)

Reference Information

CVE: CVE-2017-1000117

ALAS: 2017-882