Skip to content
Misconfiguration Write-up Advanced

Understanding PEAP In-Depth

Apple devices accepted a PEAP authentication exchange in which the RADIUS server never proved knowledge of the password, so an attacker running a malicious access point could make the device associate with it. The attacker could then impersonate the network without knowing the victim's credentials.

sensepost.com

Published on sensepost.com

While prepping for our Defcon talk last year, Michael kept pushing me to implement hostapd-wpe‘s EAP success attack. In this attack, the authentication server will accept any username, then skip the step where it proves knowledge of the password back to the station (because it doesn’t know the password), and instead…

The author, on sensepost.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Apple PEAP client did not verify the server's MSCHAPv2 proof-of-knowledge step and accepted an EAP-success message without it.

Impact

An attacker within radio range could force an Apple device to associate with a malicious access point, enabling interception of the connection.

What the attacker needed

Attacker near the victim with a rogue AP; victim device attempts to join the network

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 write-up has not been written yet. The Original tab links to the source.

When a device joins a protected Wi-Fi network, the network is supposed to prove it knows the password too, not just ask the device for it. Apple devices skipped that check, so a fake access point could pretend to be the real network and the device would still connect. An attacker nearby could then intercept the connection.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.