skip to content

A scanner lists CVE-2017-13082 against one device and CVE-2017-13087 against another; what do these identifiers say about the flaw, the handshake and the fix?

level: middleimportance: nice to knowfreq 9%

answer

  1. one flaw, many identifiers
  2. each names a handshake
  3. each names a key
  4. a different fix per identifier

basics

~20 s

Each identifier in the CVE-2017-13077 to 13088 series is one instance of key reinstallation, naming a handshake and a key. CVE-2017-13082 is the fast BSS transition handshake; CVE-2017-13087 is the group key in a WNM sleep mode response.

solid answer

~30 s

The advisory says each CVE identifier represents a specific instantiation of a key reinstallation attack, so one design flaw carries ten identifiers, split by handshake and key. CVE-2017-13082 covers the pairwise key in the 802.11r fast BSS transition handshake, which is what reaches access points that support fast transition. CVE-2017-13087 covers the group key (GTK) in an 802.11v WNM sleep mode response, a station-side issue per hostapd's documentation. Read the identifier to learn which handshake and key, then ask each vendor whether the device is fixed.

go deeper

for a junior

Recall that one design flaw carries ten identifiers and that each identifier names the handshake and the key it concerns.

for a middle

Map the main identifiers to the four-way, group key, fast transition and WNM sleep mode handshakes and to the key each reinstalls.

for a senior

Use the identifiers to route work: station-side ones to client patching, 13082 to access points with fast transition or repeater functions.

for a principal

Decide how the estate records exposure per identifier so a later advisory in the same family can be matched to the same inventory.

## One flaw, ten identifiers The advisory lists ten identifiers, CVE-2017-13077 to CVE-2017-13088 with 13083 and 13085 absent from its list, and states that each one is a specific instantiation of a key reinstallation attack. That is why many vendors are affected by each individual identifier: the identifier tracks a protocol behaviour, not a product. The records describe the reinstallation of a key during a named handshake or message. ## The series by handshake | Identifier | Handshake or message | Key reinstalled | |---|---|---| | CVE-2017-13077 | Four-way handshake | PTK TK (pairwise temporal key) | | CVE-2017-13078 | Four-way handshake | GTK (group temporal key) | | CVE-2017-13079 | Four-way handshake, with 802.11w | IGTK | | CVE-2017-13080 | Group key handshake | GTK | | CVE-2017-13081 | Group key handshake, with 802.11w | IGTK | | CVE-2017-13082 | Fast BSS transition (802.11r) handshake | PTK TK | | CVE-2017-13084 | PeerKey handshake | STK | | CVE-2017-13086 | TDLS handshake | TPK (TDLS peer key) | | CVE-2017-13087 | WNM sleep mode response (802.11v) | GTK | | CVE-2017-13088 | WNM sleep mode response (802.11v) | IGTK | The CVE record for 13082 words the handshake as "fast BSS transmission (FT)", while the advisory words it as accepting a retransmitted Fast BSS Transition Reassociation Request. The IGTK is the key that protects broadcast and multicast management frames when 802.11w is in use, which is why the IGTK identifiers say "that supports IEEE 802.11w". ## Reading the identifiers for triage - **13077 to 13081** concern the four-way and group key handshakes. hostapd's documentation calls them station side vulnerabilities, which is why the main patch effort is on clients. - **13082** is the one that reaches access points: the advisory says an access point is vulnerable only if it supports the fast transition handshake or client (repeater) functionality. hostapd's ChangeLog lists the fix "fixed WPA packet number reuse with replayed messages and key reinstallation" under v2.7 (2018-12-02) with CVE-2017-13082. - **13084 and 13086** concern the PeerKey and TDLS handshakes. The reference material does not say which side they concern, so do not assert one. - **13087 and 13088** concern the 802.11v sleep mode response and, per hostapd's documentation, are station side. ## Identifier against fix One patch does not always cover every identifier. wpa_supplicant's ChangeLog lists several of them together under v2.7, and hostapd labels its own settings per identifier: | hostapd setting (hostapd's name) | Related identifiers | Default | |---|---|---| | `wpa_disable_eapol_key_retries=1` | CVE-2017-13077 to CVE-2017-13081 | disabled | | `wnm_sleep_mode_no_keys=1` | CVE-2017-13087 and CVE-2017-13088 | 0 | A scanner finding that names 13087 therefore points at a client that handles the WNM sleep mode response, while 13082 points at fast transition. The finding is not a statement that an attacker is active: nothing in the identifiers describes exploitation in the wild, and the advisory says it cannot determine that. ## Why the series matters to a patch register A register that carries one line, "KRACK", cannot say which devices are still exposed after a partial update. A register that carries the handshake or the identifier can. The useful columns are the device or platform, the identifiers its vendor says are closed, the date, and whether fast transition, repeater functions or WNM sleep mode are in use on it. The same structure handles the next advisory in the family, because a later finding about another handshake lands as a new row and not as an argument about whether the old fix covers it. ## What the operator does 1. Group findings by handshake, not by identifier count: one device may carry several. 2. For each affected device ask the vendor which identifiers its update closes, because each identifier is a separate instantiation. 3. For access points, check whether 802.11r and client functionality are in use; if not needed, switching them off narrows exposure on the infrastructure side. 4. For clients that cannot be updated, consider the hostapd-style workaround that matches the identifier, understanding that each setting covers only its own range. 5. Do not treat the series as a PMKID matter: the PMKID exposure is not part of this series.

  • Why do CVE-2017-13079 and CVE-2017-13081 say they apply to implementations that support IEEE 802.11w?
    They concern the IGTK, the key that protects broadcast and multicast management frames, and that key exists only where protected management frames are negotiated. A network without them has no IGTK to reinstall.
  • If a device is patched for 13077, is it safe from the whole series?
    Not necessarily. Each identifier is a separate instantiation in a different handshake. Vendors may close some and not others, so ask which identifiers an update addresses rather than assuming one patch covers all ten.

  • Treats each identifier as a separate unrelated product bug.
  • Says one patch always closes the whole series.
  • Says the identifiers prove an attacker is active.
  • Says 13082 affects every home router.