GLSA-201612-39 : Bash: Arbitrary code execution

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


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-201612-39
(Bash: Arbitrary code execution)

A vulnerability was found in the way Bash expands $HOSTNAME. Injecting
malicious code into $HOSTNAME could cause it to run each time Bash
expands \\h in the prompt string.

Impact :

A remote attacker controlling the system’s hostname (i.e. via DHCP)
could possibly execute arbitrary code with the privileges of the process,
or cause a Denial of
Service condition.

Workaround :

There is no known workaround at this time.

See also :

https://security.gentoo.org/glsa/201612-39

Solution :

All Bash users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-shells/bash-4.3_p46-r1'

Risk factor :

Medium / CVSS Base Score : 6.0
(CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 95742 ()

Bugtraq ID:

CVE ID: CVE-2016-0634

Ready to Amp Up Your Nessus Experience?

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

Buy Nessus Professional Now