GLSA-201309-21 : klibc: Command Injection

high Nessus Plugin ID 70161

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.

Solution

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

See Also

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

Plugin Details

Severity: High

ID: 70161

File Name: gentoo_GLSA-201309-21.nasl

Version: 1.8

Type: local

Published: 9/27/2013

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:klibc, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/26/2013

Reference Information

CVE: CVE-2011-1930

BID: 47924

GLSA: 201309-21