]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Verify RSNE match between Beacon/Probe Response and (Re)AssocResp
authorJouni Malinen <jouni@codeaurora.org>
Wed, 22 May 2019 14:42:53 +0000 (17:42 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 22 May 2019 21:34:43 +0000 (00:34 +0300)
commit69afb6b395650ebc2fea405efb18d68ad855c1dd
tree9aa4b548c444d6d3590c24e4620065828338828a
parent831d8c9cf583e5c655cba50ad1472b441d8b4557
FILS: Verify RSNE match between Beacon/Probe Response and (Re)AssocResp

IEEE Std 802.11ai-2016 requires the FILS STA to do this check, but this
was missing from the initial implementation. The AP side behavior was
not described properly in 802.11ai due to a missing change in the
(Re)Association Response frame format tables which has resulted in some
deployed devices not including the RSNE.

For now, use an interoperability workaround to ignore the missing RSNE
and only check the payload of the element if it is present in the
protected frame. In other words, enforce this validation step only with
an AP that implements FILS authentication as described in REVmd while
allowing older implementations to skip this check (and the protection
against downgrade attacks). This workaround may be removed in the future
if it is determined that most deployed APs can be upgraded to add RSNE
into the (Re)Association Response frames.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/rsn_supp/wpa.c