Cloudanix VulnDB

CVE-2015-4141

None

CVSS

—

EPSS

3.0%

Published

Jun 15, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in wireless network software can be triggered by a malicious message to crash the service that helps devices join the network.

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

What it actually does

The WPS UPnP implementation in hostapd (AP mode) and wpa_supplicant (external registrar mode) performs insufficient validation on chunk length values, allowing a negative length to trigger an out-of-bounds read or heap-based buffer overflow that crashes the process.

Why it matters to the business

Wireless authentication and provisioning services using WPS become unavailable after the crash, interrupting network access for users and devices until the affected service is restarted.

How an attack unfolds

An attacker on the local network sends a specially crafted UPnP WPS message containing a negative chunk length value to the vulnerable hostapd or wpa_supplicant instance; the malformed length causes an out-of-bounds memory access that terminates the process.

How to fix it

Upgrade wpa_supplicant and hostapd to a version newer than 2.4 that contains the upstream fix for the chunk-length validation flaw; if an upgrade is not immediately possible, disable WPS UPnP functionality until patched versions can be deployed.

How to confirm the fix worked

Verify installed package versions are newer than 2.4; attempt to reproduce the crash with a test packet containing a negative chunk length and confirm the process no longer terminates.

Typical attack path

  1. Identify a target running hostapd or wpa_supplicant with WPS UPnP enabled
  2. Craft a UPnP packet with a negative chunk length field
  3. Send the packet to the UPnP listening port
  4. Observe process crash and denial of service

How to detect it

Review hostapd and wpa_supplicant logs for segmentation faults or abrupt terminations during WPS UPnP processing; correlate with network traffic containing unusual UPnP chunk lengths around the time of the crash.

What your security team should do

  • Prioritize upgrade of all hostapd and wpa_supplicant instances to a fixed release
  • Temporarily disable WPS UPnP where upgrades cannot be applied quickly
  • Monitor service availability and restart scripts for affected wireless components

The record

The WPS UPnP function in hostapd, when using WPS AP, and wpa_supplicant, when using WPS external registrar (ER), 0.7.0 through 2.4 allows remote attackers to cause a denial of service (crash) via a negative chunk length, which triggers an out-of-bounds read or heap-based buffer overflow.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 wpa 0 2.3-2.2
Debian:12 wpa 0 2.3-2.2
Debian:13 wpa 0 2.3-2.2
Debian:7 wpa 0 1.0-3+deb7u3
Debian:8 wpa 0 2.3-1+deb8u3
SUSE:Linux Enterprise Desktop 11 SP3 wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Desktop 11 SP4 wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Desktop 12 SP1 wpa_supplicant 0 2.2-14.2
SUSE:Linux Enterprise High Performance Computing 15-ESPOS wpa_supplicant 0 2.9-4.20.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS wpa_supplicant 0 2.9-4.20.1
SUSE:Linux Enterprise Module for Basesystem 15 SP1 wpa_supplicant 0 2.9-4.20.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 wpa_supplicant 0 2.9-4.20.1
SUSE:Linux Enterprise Server 11 SP3 wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Server 11 SP3-TERADATA wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Server 11 SP4 wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Server 12 SP1 wpa_supplicant 0 2.2-14.2
SUSE:Linux Enterprise Server 15-LTSS wpa_supplicant 0 2.9-4.20.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP3 wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 wpa_supplicant 0 0.7.1-6.17.4
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 wpa_supplicant 0 2.2-14.2
SUSE:Linux Enterprise Server for SAP Applications 15 wpa_supplicant 0 2.9-4.20.1
Ubuntu:14.04:LTS wpa 0 2.1-0ubuntu1.3
openSUSE:Leap 15.1 wpa_supplicant 0 2.9-lp151.5.10.1
openSUSE:Leap 15.2 wpa_supplicant 0 2.9-lp152.8.3.1
openSUSE:Tumbleweed hostapd 0 2.6-1.1
openSUSE:Tumbleweed wpa_supplicant 0 2.6-1.1

Related vulnerabilities