EulerOS 2.0 SP2 : mercurial (EulerOS-SA-2017-1218)

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The remote EulerOS host is missing multiple security updates.

Description :

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

- A vulnerability was found in the way Mercurial handles
path auditing and caches the results. An attacker could
abuse a repository with a series of commits mixing
symlinks and regular files/directories to trick
Mercurial into writing outside of a given repository.
(CVE-2017-1000115)

- A shell command injection flaw related to the handling
of 'ssh' URLs has been discovered in Mercurial. This
can be exploited to execute shell commands with the
privileges of the user running the Mercurial client,
for example, when performing a 'checkout' or 'update'
action on a sub-repository within a malicious
repository or a legitimate repository containing a
malicious commit. (CVE-2017-1000116)

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.

See also :

http://www.nessus.org/u?737d3ba6

Solution :

Update the affected mercurial packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.2
(CVSS2#E:F/RL:OF/RC:ND)
Public Exploit Available : true

Family: Huawei Local Security Checks

Nessus Plugin ID: 103076 ()

Bugtraq ID:

CVE ID: CVE-2017-1000115
CVE-2017-1000116

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now