Project

General

Profile

Actions

Issue #1841

closed

KRACK vunerabilty in wpa_supplicant

Added by Bugmenot Bugmenot over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Immediate
Category:
Security
Target version:
Start date:
10/16/2017
Due date:
% Done:

100%

Estimated time:
Resolution:
fixed
Device:
Grant:
Type of work:

Description

We discovered serious weaknesses in WPA2, a protocol that secures all modern protected Wi-Fi networks. An attacker within range of a victim can exploit these weaknesses using key reinstallation attacks (KRACKs). Concretely, attackers can use this novel attack technique to read information that was previously assumed to be safely encrypted. This can be abused to steal sensitive information such as credit card numbers, passwords, chat messages, emails, photos, and so on. The attack works against all modern protected Wi-Fi networks. Depending on the network configuration, it is also possible to inject and manipulate data. For example, an attacker might be able to inject ransomware or other malware into websites...

During our initial research, we discovered ourselves that Android, Linux, Apple, Windows, OpenBSD, MediaTek, Linksys, and others, are all affected by some variant of the attacks. For more information about specific products, consult the database of CERT/CC, or contact your vendor.

...

https://www.krackattacks.com/

Patches: https://w1.fi/security/2017-1/

Actions #1

Updated by Fil Lupin over 6 years ago

Since the weakness is linked to the protocol and not the implementation, the solution seems either to enhance the WPA2 protocol or waiting for the research community to enhance WPA2.

Actions #2

Updated by Marek Królikowski over 6 years ago

Fil Lupin wrote:

Since the weakness is linked to the protocol and not the implementation [...]

It can and should be patched ASAP, there will be no changes in WPA2 spec, we can only fix implementations.

Patches for wpa_supplicant are linked in the issue description.

Actions #3

Updated by Jeremy Rand over 6 years ago

Is Replicant's wpa_supplicant inherited from LineageOS? If so, probably makes sense to get the fix into LineageOS (if it isn't already there) and then simply merge LineageOS's changes into Replicant.

Actions #4

Updated by Nichlas Severinsen over 6 years ago

LineageOS patched their 14.1 builds: https://twitter.com/LineageAndroid/status/920143977256382464 https://review.lineageos.org/#/q/topic:krack-n
Google has apparently also patched: https://www.bleepingcomputer.com/news/security/google-patches-krack-wpa2-vulnerability-in-android/
In addition, the test scripts have been released: https://github.com/vanhoefm/krackattacks-scripts

This should be enough information to patch it in Replicant, right?

Actions #5

Updated by Kurtis Hanna over 6 years ago

Just checking in on this one.

It looks like https://review.lineageos.org/#/q/status:merged+topic:krack-m-alt was pulled into the Replicant dev branch here https://git.replicant.us/LineageOS-mirror/android_external_wpa_supplicant_8/log/

So once 0003 comes out we should be able to close this ticket, right?

Actions #6

Updated by Wolfgang Wiedmeyer over 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Kurtis Hanna wrote:

It looks like https://review.lineageos.org/#/q/status:merged+topic:krack-m-alt was pulled into the Replicant dev branch here https://git.replicant.us/LineageOS-mirror/android_external_wpa_supplicant_8/log/

So once 0003 comes out we should be able to close this ticket, right?

Yes, patches are included in 0003.

Actions #7

Updated by Wolfgang Wiedmeyer over 6 years ago

  • Assignee changed from Paul Kocialkowski to Wolfgang Wiedmeyer
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF