EulerOS 2.0 SP2 : git (EulerOS-SA-2017-1188)

Medium Nessus Plugin ID 103026


The remote EulerOS host is missing multiple security updates.


According to the versions of the git package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- It was found that the script shipped with git failed to correctly handle branch names containing special characters. A specially crafted git repository could use this flaw to execute arbitrary commands if a user working with the repository configured their shell to include repository information in the prompt.

- A flaw was found in the way git-shell handled command-line options for the restricted set of git-shell commands. A remote, authenticated attacker could use this flaw to bypass git-shell restrictions, to view and manipulate files, by abusing the instance of the less command launched using crafted command-line options. (CVE-2017-8386)

- 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)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected git packages.

See Also

Plugin Details

Severity: Medium

ID: 103026

File Name: EulerOS_SA-2017-1188.nasl

Version: $Revision: 3.1 $

Type: local

Published: 2017/09/08

Modified: 2017/09/08

Dependencies: 12634

Risk Information

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 8.8

Temporal Score: 8.1

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:X

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:git, cpe:/o:huawei:euleros:2.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/08/19

Exploitable With

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

Reference Information

CVE: CVE-2014-9938, CVE-2017-1000117, CVE-2017-8386

OSVDB: 154027, 157331, 163191