GLSA-201612-14 : util-linux: 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-14
(util-linux: Arbitrary code execution)

A command injection flaw was discovered in util-linux’s “blkid”
utility. It uses caching files (/dev/.blkid.tab or /run/blkid/blkid.tab)
to store info about the UUID, LABEL etc. it finds on certain devices.
However, it does not strip ‘”’ character, so it can be confused to
build variable names containing shell metacharacters, which it would
usually encode inside the value.

Impact :

A local attacker could create a specially crafted partition label
containing arbitrary code which would get executed when the “blkid”
utility processes that value.

Workaround :

There is no known workaround at this time.

See also :

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

Solution :

All util-linux users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=sys-apps/util-linux-2.26'

Risk factor :

High / CVSS Base Score : 7.2
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 95547 ()

Bugtraq ID:

CVE ID: CVE-2014-9114

Ready to Amp Up Your Nessus Experience?

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

Buy Nessus Professional Now