GLSA-201309-21 : klibc: Command Injection

This script is Copyright (C) 2013-2014 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-201309-21
(klibc: Command Injection)

The ipconfig utility in klibc writes DHCP options to
/tmp/net-$DEVICE.conf, and this file is later sourced by other scripts to
get defined variables. The options written to this file are not properly
escaped.

Impact :

A remote attacker could send a specially crafted DHCP reply, which could
execute arbitrary shell code with the privileges of any process which
sources DHCP options.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201309-21.xml

Solution :

All klibc users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-libs/klibc-1.5.25'

Risk factor :

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

Family: Gentoo Local Security Checks

Nessus Plugin ID: 70161 ()

Bugtraq ID: 47924

CVE ID: CVE-2011-1930