Cloudanix VulnDB

CVE-2016-2147

High · 7.5

CVSS

7.5

EPSS

7.8%

Published

Feb 9, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in widely used small-device software lets attackers on the same network crash equipment that handles network addresses, interrupting service until the device is restarted or updated.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer overflow in udhcpc DHCP client allows remote attacker to trigger out-of-bounds heap write via malformed RFC1035 domain name, resulting in process crash.

Why it matters to the business

Network-connected embedded devices and appliances using BusyBox can be remotely crashed, causing loss of network connectivity and service availability until manual restart.

How an attack unfolds

An attacker on the local network sends a crafted DHCP response containing an oversized or malformed domain name in the RFC1035 section; the vulnerable udhcpc client mishandles the length calculation, overflows an integer, performs an out-of-bounds write, and crashes.

How to fix it

Upgrade BusyBox to version 1.25.0 or newer on all affected systems; rebuild custom firmware or embedded images with the patched BusyBox source; where immediate upgrade is impossible, isolate DHCP-dependent devices behind filtering firewalls that drop suspicious domain-name fields.

How to confirm the fix worked

Verify BusyBox version is 1.25.0 or later via 'busybox --version'; replay a known-malformed DHCP packet in a lab environment and confirm the client no longer crashes; monitor process uptime and memory error logs post-upgrade.

Typical attack path

  1. Attacker gains network adjacency or control of DHCP server path
  2. Attacker crafts DHCP offer/ack packet with oversized RFC1035 domain name
  3. Victim device receives packet and udhcpc processes the malformed name
  4. Integer overflow occurs leading to heap corruption and crash

How to detect it

Review system and application crash logs for udhcpc segmentation faults or heap errors around DHCP transaction timestamps; inspect DHCP client logs for unusual domain-name strings; correlate with network captures showing oversized DNS labels in DHCP packets.

  • udhcpc segmentation fault
  • heap corruption in udhcpc
  • malformed domain name in DHCP response

What your security team should do

  • Prioritize patching BusyBox in all internet-facing or exposed embedded devices within 30 days
  • Inventory all products shipping BusyBox < 1.25.0 and schedule firmware updates
  • Implement network segmentation to limit DHCP exposure for unpatchable devices
  • Add version checks to CI/CD pipelines for embedded builds

The record

Integer overflow in the DHCP client (udhcpc) in BusyBox before 1.25.0 allows remote attackers to cause a denial of service (crash) via a malformed RFC1035-encoded domain name, which triggers an out-of-bounds heap write.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.4 busybox 0 1.24.2-r0
Debian:11 busybox 0 1:1.27.2-1
Debian:12 busybox 0 1:1.27.2-1
Debian:13 busybox 0 1:1.27.2-1
Debian:8 busybox 0 1:1.22.0-9+deb8u2
Debian:9 busybox 0 1:1.22.0-19+deb9u1
SUSE:Enterprise Storage 6 busybox 0 1.34.1-4.9.1
SUSE:Enterprise Storage 7 busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 busybox 0 1.35.0-150400.3.3.1
SUSE:Linux Enterprise Real Time 15 SP2 busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server 12 SP2-BCL busybox 0 1.35.0-4.3.1
SUSE:Linux Enterprise Server 12 SP3-BCL busybox 0 1.35.0-4.3.1
SUSE:Linux Enterprise Server 12 SP4-LTSS busybox 0 1.35.0-4.3.1
SUSE:Linux Enterprise Server 12 SP5 busybox 0 1.35.0-4.3.1
SUSE:Linux Enterprise Server 15 SP1-BCL busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server 15 SP1-LTSS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server 15 SP2-BCL busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server 15 SP2-LTSS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server 15-LTSS busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 busybox 0 1.35.0-4.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 busybox 0 1.35.0-4.3.1
SUSE:Linux Enterprise Server for SAP Applications 15 busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 busybox 0 1.34.1-4.9.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 busybox 0 1.34.1-4.9.1
SUSE:Manager Proxy 4.1 busybox 0 1.34.1-4.9.1
SUSE:Manager Retail Branch Server 4.1 busybox 0 1.34.1-4.9.1
SUSE:Manager Server 4.1 busybox 0 1.34.1-4.9.1
SUSE:OpenStack Cloud 9 busybox 0 1.35.0-4.3.1
SUSE:OpenStack Cloud Crowbar 9 busybox 0 1.35.0-4.3.1
Ubuntu:14.04:LTS busybox 0 1:1.21.0-1ubuntu1.4
Ubuntu:16.04:LTS busybox 0 1:1.22.0-15ubuntu1.4
Ubuntu:18.04:LTS busybox 0 1:1.27.2-1ubuntu3
Ubuntu:18.04:LTS busybox 0 1:1.27.2-2ubuntu3.2
openSUSE:Leap 15.3 busybox 0 1.34.1-4.9.1
openSUSE:Leap 15.3 virtualbox 0 6.1.34-lp153.2.27.2
openSUSE:Leap 15.3 virtualbox-kmp 0 6.1.34-lp153.2.27.1
openSUSE:Leap 15.4 busybox 0 1.35.0-150400.3.3.1
openSUSE:Tumbleweed busybox 0 1.35.0-1.1

Related vulnerabilities