CVE-2013-4579
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2013-4579 NameCVE-2013-4579 DescriptionThe 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…
CVE-2013-4579
| Name | CVE-2013-4579 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 729573 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.257-1 | fixed | |
| bookworm | 6.1.170-3 | fixed | |
| bookworm (security) | 6.1.174-1 | fixed | |
| trixie | 6.12.86-1 | fixed | |
| trixie (security) | 6.12.90-2 | fixed | |
| forky | 7.0.9-1 | fixed | |
| sid | 7.0.10-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | wheezy | 3.2.54-1 | |||
| linux | source | (unstable) | 3.12.8-1 | 729573 | ||
| linux-2.6 | source | (unstable) | (not affected) |
Notes
- linux-2.6 <not-affected> (ath9k not yet present)
http://www.mathyvanhoef.com/2013/11/unmasking-spoofed-mac-address.html
Apply commands
- linux-2.6 <not-affected> (ath9k not yet present)http://www.mathyvanhoef.com/2013/11/unmasking-spoofed-mac-address.html
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel 3.0.5 - 'ath9k_htc_set_bssid_mask()' Information Disclosure
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 3.12.8-1 |
| debian | bullseye | fixed | 3.12.8-1 |
| debian | forky | fixed | 3.12.8-1 |
| debian | sid | fixed | 3.12.8-1 |
| debian | trixie | fixed | 3.12.8-1 |
| linux-kernel | affected | | |
| linux-kernel | 3.0 | affected | |
| linux-kernel | 3.0.1 | affected | |
| linux-kernel | 3.0.2 | affected | |
| linux-kernel | 3.0.3 | affected | |
| linux-kernel | 3.0.4 | affected | |
| linux-kernel | 3.0.5 | affected | |
| linux-kernel | 3.0.6 | affected | |
| linux-kernel | 3.0.7 | affected | |
| linux-kernel | 3.0.8 | affected | |
| linux-kernel | 3.0.9 | affected | |
| linux-kernel | 3.0.10 | affected | |
| linux-kernel | 3.0.11 | affected | |
| linux-kernel | 3.0.12 | affected | |
| linux-kernel | 3.0.13 | affected | |
| linux-kernel | 3.0.14 | affected | |
| linux-kernel | 3.0.15 | affected | |
| linux-kernel | 3.0.16 | affected | |
| linux-kernel | 3.0.17 | affected | |
| linux-kernel | 3.0.18 | affected | |
| linux-kernel | 3.0.19 | affected | |
| linux-kernel | 3.0.20 | affected | |
| linux-kernel | 3.0.21 | affected | |
| linux-kernel | 3.0.22 | affected | |
| linux-kernel | 3.0.23 | affected | |
| linux-kernel | 3.0.24 | affected | |
| linux-kernel | 3.0.25 | affected | |
| linux-kernel | 3.0.26 | affected | |
| linux-kernel | 3.0.27 | affected | |
| linux-kernel | 3.0.28 | affected | |
| linux-kernel | 3.0.29 | affected | |
| linux-kernel | 3.0.30 | affected | |
| linux-kernel | 3.0.31 | affected | |
| linux-kernel | 3.0.32 | affected | |
| linux-kernel | 3.0.33 | affected | |
| linux-kernel | 3.0.34 | affected | |
| linux-kernel | 3.0.35 | affected | |
| linux-kernel | 3.0.36 | affected | |
| linux-kernel | 3.0.37 | affected | |
| linux-kernel | 3.0.38 | affected | |
| linux-kernel | 3.0.39 | affected | |
| linux-kernel | 3.0.40 | affected | |
| linux-kernel | 3.0.41 | affected | |
| linux-kernel | 3.0.42 | affected | |
| linux-kernel | 3.0.43 | affected | |
| linux-kernel | 3.0.44 | affected | |
| linux-kernel | 3.0.45 | affected | |
| linux-kernel | 3.0.46 | affected | |
| linux-kernel | 3.0.47 | affected | |
| linux-kernel | 3.0.48 | affected | |
| linux-kernel | 3.0.49 | affected | |
| linux-kernel | 3.0.50 | affected | |
| linux-kernel | 3.0.51 | affected | |
| linux-kernel | 3.0.52 | affected | |
| linux-kernel | 3.0.53 | affected | |
| linux-kernel | 3.0.54 | affected | |
| linux-kernel | 3.0.55 | affected | |
| linux-kernel | 3.0.56 | affected | |
| linux-kernel | 3.0.57 | affected | |
| linux-kernel | 3.0.58 | affected | |
| linux-kernel | 3.0.59 | affected | |
| linux-kernel | 3.0.60 | affected | |
| linux-kernel | 3.0.61 | affected | |
| linux-kernel | 3.0.62 | affected | |
| linux-kernel | 3.0.63 | affected | |
| linux-kernel | 3.0.64 | affected | |
| linux-kernel | 3.0.65 | affected | |
| linux-kernel | 3.0.66 | affected | |
| linux-kernel | 3.0.67 | affected | |
| linux-kernel | 3.0.68 | affected | |
| linux-kernel | 3.1 | affected | |
| linux-kernel | 3.1.1 | affected | |
| linux-kernel | 3.1.2 | affected | |
| linux-kernel | 3.1.3 | affected | |
| linux-kernel | 3.1.4 | affected | |
| linux-kernel | 3.1.5 | affected | |
| linux-kernel | 3.1.6 | affected | |
| linux-kernel | 3.1.7 | affected | |
| linux-kernel | 3.1.8 | affected | |
| linux-kernel | 3.1.9 | affected | |
| linux-kernel | 3.1.10 | affected | |
| linux-kernel | 3.2 | affected | |
| linux-kernel | 3.2.1 | affected | |
| linux-kernel | 3.2.2 | affected | |
| linux-kernel | 3.2.3 | affected | |
| linux-kernel | 3.2.4 | affected | |
| linux-kernel | 3.2.5 | affected | |
| linux-kernel | 3.2.6 | affected | |
| linux-kernel | 3.2.7 | affected | |
| linux-kernel | 3.2.8 | affected | |
| linux-kernel | 3.2.9 | affected | |
| linux-kernel | 3.2.10 | affected | |
| linux-kernel | 3.2.11 | affected | |
| linux-kernel | 3.2.12 | affected | |
| linux-kernel | 3.2.13 | affected | |
| linux-kernel | 3.2.14 | affected | |
| linux-kernel | 3.2.15 | affected | |
| linux-kernel | 3.2.16 | affected | |
| linux-kernel | 3.2.17 | affected | |
| linux-kernel | 3.2.18 | affected | |
| linux-kernel | 3.2.19 | affected | |
| linux-kernel | 3.2.20 | affected | |
| linux-kernel | 3.2.21 | affected | |
| linux-kernel | 3.2.22 | affected | |
| linux-kernel | 3.2.23 | affected | |
| linux-kernel | 3.2.24 | affected | |
| linux-kernel | 3.2.25 | affected | |
| linux-kernel | 3.2.26 | affected | |
| linux-kernel | 3.2.27 | affected | |
| linux-kernel | 3.2.28 | affected | |
| linux-kernel | 3.2.29 | affected | |
| linux-kernel | 3.2.30 | affected | |
| linux-kernel | 3.3 | affected | |
| linux-kernel | 3.3.1 | affected | |
| linux-kernel | 3.3.2 | affected | |
| linux-kernel | 3.3.3 | affected | |
| linux-kernel | 3.3.4 | affected | |
| linux-kernel | 3.3.5 | affected | |
| linux-kernel | 3.3.6 | affected | |
| linux-kernel | 3.3.7 | affected | |
| linux-kernel | 3.3.8 | affected | |
| linux-kernel | 3.4 | affected | |
| linux-kernel | 3.4.1 | affected | |
| linux-kernel | 3.4.2 | affected | |
| linux-kernel | 3.4.3 | affected | |
| linux-kernel | 3.4.4 | affected | |
| linux-kernel | 3.4.5 | affected | |
| linux-kernel | 3.4.6 | affected | |
| linux-kernel | 3.4.7 | affected | |
| linux-kernel | 3.4.8 | affected | |
| linux-kernel | 3.4.9 | affected | |
| linux-kernel | 3.4.10 | affected | |
| linux-kernel | 3.4.11 | affected | |
| linux-kernel | 3.4.12 | affected | |
| linux-kernel | 3.4.13 | affected | |
| linux-kernel | 3.4.14 | affected | |
| linux-kernel | 3.4.15 | affected | |
| linux-kernel | 3.4.16 | affected | |
| linux-kernel | 3.4.17 | affected | |
| linux-kernel | 3.4.18 | affected | |
| linux-kernel | 3.4.19 | affected | |
| linux-kernel | 3.4.20 | affected | |
| linux-kernel | 3.4.21 | affected | |
| linux-kernel | 3.4.22 | affected | |
| linux-kernel | 3.4.23 | affected | |
| linux-kernel | 3.4.24 | affected | |
| linux-kernel | 3.4.25 | affected | |
| linux-kernel | 3.4.26 | affected | |
| linux-kernel | 3.4.27 | affected | |
| linux-kernel | 3.4.28 | affected | |
| linux-kernel | 3.4.29 | affected | |
| linux-kernel | 3.4.30 | affected | |
| linux-kernel | 3.4.31 | affected | |
| linux-kernel | 3.4.32 | affected | |
| linux-kernel | 3.5.1 | affected | |
| linux-kernel | 3.5.2 | affected | |
| linux-kernel | 3.5.3 | affected | |
| linux-kernel | 3.5.4 | affected | |
| linux-kernel | 3.5.5 | affected | |
| linux-kernel | 3.5.6 | affected | |
| linux-kernel | 3.5.7 | affected | |
| linux-kernel | 3.6 | affected | |
| linux-kernel | 3.6.1 | affected | |
| linux-kernel | 3.6.2 | affected | |
| linux-kernel | 3.6.3 | affected | |
| linux-kernel | 3.6.4 | affected | |
| linux-kernel | 3.6.5 | affected | |
| linux-kernel | 3.6.6 | affected | |
| linux-kernel | 3.6.7 | affected | |
| linux-kernel | 3.6.8 | affected | |
| linux-kernel | 3.6.9 | affected | |
| linux-kernel | 3.6.10 | affected | |
| linux-kernel | 3.6.11 | affected | |
| linux-kernel | 3.7 | affected | |
| linux-kernel | 3.7.1 | affected | |
| linux-kernel | 3.7.2 | affected | |
| linux-kernel | 3.7.3 | affected | |
| linux-kernel | 3.7.4 | affected | |
| linux-kernel | 3.7.5 | affected | |
| linux-kernel | 3.7.6 | affected | |
| linux-kernel | 3.7.7 | affected | |
| linux-kernel | 3.7.8 | affected | |
| linux-kernel | 3.7.9 | affected | |
| linux-kernel | 3.7.10 | affected | |
| linux-kernel | 3.8.0 | affected | |
| linux-kernel | 3.8.1 | affected | |
| linux-kernel | 3.8.2 | affected | |
| linux-kernel | 3.8.3 | affected | |
| linux-kernel | 3.8.4 | affected | |
| linux-kernel | 3.8.5 | affected | |
| linux-kernel | 3.8.6 | affected | |
| linux-kernel | 3.8.7 | affected | |
| linux-kernel | 3.8.8 | affected | |
| linux-kernel | 3.8.9 | affected | |
| linux-kernel | 3.8.10 | affected | |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729573
- http://www.mathyvanhoef.com/2013/11/unmasking-spoofed-mac-address.html
- http://www.openwall.com/lists/oss-security/2013/11/15/3
- http://www.ubuntu.com/usn/USN-2113-1
- http://www.ubuntu.com/usn/USN-2117-1
- http://www.ubuntu.com/usn/USN-2133-1
- http://www.ubuntu.com/usn/USN-2134-1
- http://www.ubuntu.com/usn/USN-2135-1
- http://www.ubuntu.com/usn/USN-2136-1
- http://www.ubuntu.com/usn/USN-2138-1
- http://www.ubuntu.com/usn/USN-2139-1
- http://www.ubuntu.com/usn/USN-2141-1
- https://lists.ath9k.org/pipermail/ath9k-devel/2013-November/012215.html
- https://security-tracker.debian.org/tracker/CVE-2013-4579
CWEs
CWE-310
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.