SSID Confusion

term

securitynetworking

Kept in this browser · My desk

A design flaw in IEEE 802.11, published by Héloïse Gollier and Mathy Vanhoef in May 2024 as CVE-2023-52424, by which a client can be made to join a different protected network that accepts the same credentials while its interface shows the network it intended.

It works because the network name is not always part of what the handshake authenticates: the SSID enters the WPA2-Personal key derivation, but not the older WPA3 SAE variant nor any EAP method used by enterprise networks. Reused credentials across SSIDs (2.4 and 5 GHz bands, staff and guest, a university's own network and eduroam) are what make it practical. The authors found every tested device vulnerable and showed band downgrades and VPNs switched off by trusted-SSID rules.

What it is. In 'SSID Confusion: Making Wi-Fi Clients Connect to the Wrong Network' (ACM WiSec, May 2024), Héloïse Gollier and Mathy Vanhoef of KU Leuven show that 'although passwords or other credentials are mutually verified when connecting to a protected Wi-Fi network, the name of the network is not guaranteed to be authenticated'. A victim who wants TrustedNet can be steered to WrongNet, which uses similar credentials, and the client 'will think, and show the user, that it is connected to TrustedNet'. The CVE record states the root cause: 'the SSID is not always used to derive the pairwise master key or session keys, and because there is not a protected exchange of an SSID during a 4-way handshake'. CISA's enrichment scores it 7.4 under CVSS 3.1.

How it works, method by method. The attacker sits as a man in the middle between the victim and WrongNet's access point, advertising TrustedNet's name and rewriting the SSID in the frames it relays. Whether the handshake still succeeds depends on how the pairwise master key (PMK) is derived. In WPA1 and WPA2 personal networks 'the PMK is derived using a hash of the password, the SSID, and the length of the SSID', so a different SSID gives a different PMK and the four-way handshake fails (the IEEE test vector shows it: passphrase 'password' with SSID 'IEEE' gives a PMK beginning f42c6fc5, with 'IEEE-5G' one beginning 8771d76b). In WPA3 with the older SAE variant the paper calls SAE-loop, the password element is computed from the password and the two MAC addresses, 'The SSID does not influence the PMK', and the attack works whenever two networks share a password; the constant-time variant, SAE-const, takes the SSID as input and is immune. In enterprise networks the PMK derivation 'is independent from the SSID for every single EAP method', so any two networks that accept the same credentials (for certificates, sometimes only the same CA) can be confused. Mesh networks are affected unless SAE-const is used.

Consequences shown. Downgrading a client from a better-secured 5 GHz network to a 2.4 GHz network with the same password; and switching off a VPN (virtual private network) that an app disables automatically when connected to a 'trusted' SSID, exposing the traffic. The paper reports that all tested devices (including Windows 11, iOS 17, Android and macOS clients) were vulnerable, and, from scraped eduroam profiles, that staff of some universities use the same enterprise credentials for their local network and eduroam.

Defences. The authors propose three: a strengthened beacon protection, in which the client verifies the beacon from which it took the SSID once keys are installed (they note that from Wi-Fi 7 'access points must support beacon protection'); avoiding credential reuse across SSIDs; and authenticating the SSID in the four-way handshake, which a contribution to the IEEE 802.11 working group (document 11-24-0938) proposed. Until then, the practical rules are separate passphrases per SSID, the SSID-binding SAE variant, distinct RADIUS (Remote Authentication Dial-In User Service) server names per network for enterprise clients that check them, and no security decisions (such as disabling a VPN) based on the SSID alone.

Scoring and preconditions. CISA's enrichment of the CVE gives the CVSS 3.1 vector AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H: adjacent network (the attacker must be within radio range), low complexity, low privileges (the attacker needs working credentials for WrongNet, which in the shared-password and eduroam cases it may legitimately have), and user interaction (the victim must try to connect). The attack is a relay: the adversary forwards frames between the victim and WrongNet's AP, rewriting the advertised name, so it combines naturally with the multi-channel position that Operating Channel Validation addresses. The researchers disclosed it publicly with Top10VPN in May 2024, the month of WiSec.

Neighbours. The SSID and BSSID, the four-way handshake and PMK derivation, SAE, 802.1X and EAP, beacon protection, evil twins, and VPN leak attacks such as TunnelCrack.

Also known as: cve-2023-52424, ssid confusion attack, wrong network attack

← Back to S Back to the glossary