Scientific Linux Security Update : mercurial on SL6.x, SL7.x i386/x86_64 (20170627)

high Nessus Plugin ID 101079

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

Security Fix(es) :

- A flaw was found in the way 'hg serve --stdio' command in Mercurial handled command-line options. A remote, authenticated attacker could use this flaw to execute arbitrary code on the Mercurial server by using specially crafted command-line options. (CVE-2017-9462)

Solution

Update the affected packages.

See Also

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

Plugin Details

Severity: High

ID: 101079

File Name: sl_20170627_mercurial_on_SL6_x.nasl

Version: 3.7

Type: local

Agent: unix

Published: 6/28/2017

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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:fermilab:scientific_linux:emacs-mercurial, p-cpe:/a:fermilab:scientific_linux:emacs-mercurial-el, p-cpe:/a:fermilab:scientific_linux:mercurial, p-cpe:/a:fermilab:scientific_linux:mercurial-debuginfo, p-cpe:/a:fermilab:scientific_linux:mercurial-hgk, x-cpe:/o:fermilab:scientific_linux

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/27/2017

Vulnerability Publication Date: 6/6/2017

Exploitable With

Metasploit (Mercurial Custom hg-ssh Wrapper Remote Code Exec)

Reference Information

CVE: CVE-2017-9462