Skip to content
DoS Advisory Intermediate CVE-2019-5061

W1.fi hostapd CAM table denial-of-service vulnerability

hostapd sends IAPP broadcast packets containing a station's MAC address before the station has completed authentication. An attacker can forge authentication and association requests with many unique MAC addresses to cause denial of service, such as CAM table exhaustion or traffic flapping.

Mitchell Frank Follow

Originally disclosed on Cisco Talos

High 7.4 View original

An exploitable denial-of-service vulnerability exists in the hostapd 2.6, where an attacker could trigger AP to send IAPP location updates for stations, before the required authentication process has completed. This could lead to different denial of service scenarios, either by causing CAM table attacks, or by leading…

Mitchell Frank, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, hostapd sends IAPP location update broadcasts for a station before the station has successfully authenticated, allowing unauthenticated triggers.

Impact

An attacker could cause denial of service through CAM table attacks or traffic flapping by faking existing clients in nearby access points.

What the attacker needed

Attacker within wireless range; hostapd with IAPP enabled (default)

The fix

The vendor confirmed a fix was applied to the main repository.

How it was found

  1. Forge Authentication and Association Request packets with unique MAC addresses.
  2. Send these packets to the access point running hostapd.
  3. hostapd broadcasts IAPP packets with each MAC address to the LAN before authentication completes.
  4. Repeat with many unique MAC addresses to cause denial of service.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a device joins a Wi-Fi network, it first asks to connect (authentication) and then to join (association). The access point software, hostapd, tells the rest of the network about the device's hardware address (MAC address) too early, before the device has proven it is allowed to join. An attacker can pretend to be many different devices, flooding the network with these early announcements and disrupting other equipment.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Mitchell Frank

View all

2 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.