Description
The ath9k_htc_set_bssid_mask function in drivers/net/wireless/ath/ath9k/htc_drv_main.c in the Linux kernel through 3.12 uses a BSSID masking approach to determine the set of MAC addresses on which a Wi-Fi device is listening, which allows remote attackers to discover the original MAC address after spoofing by sending a series of packets to MAC addresses with certain bit manipulations.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 3.12.8-1 | — |
| Debian 13 | linux | 3.12.8-1 | — |
| Debian 12 | linux | 3.12.8-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-44.el6uek | 0.4.3-4.el6 | ELSA-2014-3070 |
| Oracle Linux 7 | dtrace-modules-3.8.13-44.el7uek | 0.4.3-4.el7 | ELSA-2014-3070 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-44.el7uek | ELSA-2014-3070 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel 3.0.5 - 'ath9k_htc_set_bssid_mask()' Information Disclosure EDB-38826 · remote · Dec 10, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- ELSA-2014-3070 Important: Unbreakable Enterprise kernel security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 22, 2014
References
- USN-2135-1 vendor-advisory
- USN-2138-1 vendor-advisory
- USN-2113-1 vendor-advisory
- USN-2141-1 vendor-advisory
- [oss-security] 20131114 Re: CVE request: ath9k_htc improperly updates MAC address mailing-list
- USN-2136-1 vendor-advisory
- USN-2139-1 vendor-advisory
- USN-2134-1 vendor-advisory
- USN-2117-1 vendor-advisory
- USN-2133-1 vendor-advisory
- http://www.mathyvanhoef.com/2013/11/unmasking-spoofed-mac-address.html
- [ath9k-devel] 20131110 Security Bug: MAC address not properly configured mailing-list
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729573