Command Injection in klibc ipconfig DHCP Option Handling
CVE-2011-1930 is a command injection vulnerability in klibc versions 1.5.20 and 1.5.21. The ipconfig utility writes DHCP options to /tmp/net-$DEVICE.conf without proper escaping. If a remote attacker sends a specially crafted DHCP reply, malicious content can be injected into the configuration file. If this file is later sourced by a privileged process, arbitrary code execution can occur with the privileges of that process.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to execute arbitrary code on the target system with the privileges of any process that sources the affected DHCP options file. This can lead to full system compromise if a privileged process is involved.
If you can’t patch tonight, do this now.
Avoid sourcing DHCP option files from untrusted networks. Restrict network access to trusted sources and monitor for suspicious DHCP replies. Consider using AppArmor or SELinux to limit the impact of potential exploitation.
Patch, then assume compromise.
Upgrade to a version of klibc where DHCP options are properly escaped before being written to configuration files. Alternatively, apply any available patches that address this issue.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.