Bug 1500302 (CVE-2017-13086) - CVE-2017-13086 wpa_supplicant: reinstallation of the Tunneled Direct-Link Setup (TDLS) PeerKey (TPK) key in the TDLS handshake
Summary: CVE-2017-13086 wpa_supplicant: reinstallation of the Tunneled Direct-Link Set...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-13086
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact: Ken Benoit
URL:
Whiteboard:
Depends On: 1495527 1495528 1502588 1502589
Blocks: 1491701
TreeView+ depends on / blocked
 
Reported: 2017-10-10 11:17 UTC by Adam Mariš
Modified: 2021-02-17 01:25 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A new exploitation technique called key reinstallation attacks (KRACK) affecting WPA2 has been discovered. A remote attacker within Wi-Fi range could exploit this attack to decrypt Wi-Fi traffic or possibly inject forged Wi-Fi packets by reinstalling a previously used Tunneled Direct-Link Setup (TDLS) Peerkey (TPK) key during a TDLS handshake.
Clone Of:
Environment:
Last Closed: 2017-10-19 08:47:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:2907 0 normal SHIPPED_LIVE Important: wpa_supplicant security update 2017-10-18 01:38:59 UTC

Description Adam Mariš 2017-10-10 11:17:37 UTC
Wi-Fi Protected Access II (WPA2) handshake traffic can be manipulated to induce nonce and session key reuse, resulting in key reinstallation by a victim wireless access point (AP) or client. After establishing a man-in-the-middle position between an AP and client, an attacker can selectively manipulate the timing and transmission of messages in the WPA2 Tunneled Direct-Link Setup (TDLS) PeerKey (TPK) handshake, resulting in out-of-sequence reception or retransmission of messages.

An attacker within the wireless communications range of an affected AP and client may leverage these vulnerabilities to conduct attacks that are dependent on the data confidentiality protocol being used. Attacks may include arbitrary packet decryption and injection, TCP connection hijacking, HTTP content injection, or the replay of unicast, broadcast, and multicast frames.

Comment 1 Adam Mariš 2017-10-10 11:17:41 UTC
Acknowledgments:

Name: CERT
Upstream: Mathy Vanhoef (University of Leuven)

Comment 3 Stefan Cornelius 2017-10-11 09:15:46 UTC
Initital support for TDLS came with 1.0. RHEL6 does not provide support for TDLS and should not be affected.

RHEL7 already has the patch to prevent TDLS TPK M2 retransmission: https://w1.fi/cgit/hostap/commit/?id=dabdef9e048b17b22b1c025ad592922eab30dda8
This only leaves TDLS TPK M3, where the attack is believed to be of rather theoretical nature, unless WEP is used. However, WEP is already broken and should not be used, so there's little to gain for an attacker.

Comment 6 Andrej Nemec 2017-10-16 09:42:56 UTC
Created hostapd tracking bugs for this issue:

Affects: fedora-all [bug 1502588]


Created wpa_supplicant tracking bugs for this issue:

Affects: fedora-all [bug 1502589]

Comment 8 Lubomir Rintel 2017-10-16 11:33:11 UTC
The upstream advisory suggests that this doesn't affect wpa_supplicant v. 2.6, that is shipped with Fedora 25 and newer (all supported Fedora versions) and RHEL 7.4, if I'm reading that correctly:

>  For the TDLS TPK M2 retransmission issue (CVE-2017-13086) with older
>  wpa_supplicant versions, consider updating to the latest version or
>  merge in a commit that is present in v2.6:
>  https://w1.fi/cgit/hostap/commit/?id=dabdef9e048b17b22b1c025ad592922eab30dda8
>  ('TDLS: Ignore incoming TDLS Setup Response retries')

Comment 10 errata-xmlrpc 2017-10-17 21:40:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2907 https://access.redhat.com/errata/RHSA-2017:2907

Comment 11 Stefan Cornelius 2017-10-18 08:49:57 UTC
Statement:

This issue did not affect the versions of wpa_supplicant as shipped with Red Hat Enterprise Linux 5 and 6, as it does not support TDLS.

This issue affects the versions of wpa_supplicant as shipped with Red Hat Enterprise Linux 7.


Note You need to log in before you can comment on or make changes to this bug.