Apple iOS 10.2 - Broadcom Out-of-Bounds Write when Handling 802.11k Neighbor Report Response
🗓️ 25 Sep 2017 00:00:00Reported by Google Security ResearchType
exploitdb🔗 www.exploit-db.com👁 55 Views
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| Apple iOS < 11.0 Multiple Vulnerabilities (APPLE-SA:APPLE-SA-2017-09-19-1) | 17 Apr 201900:00 | – | nessus | |
| Apple iOS < 11.0.1 Multiple Vulnerabilities | 17 Apr 201900:00 | – | nessus | |
| Apple TV < 11 Multiple Vulnerabilities | 22 Sep 201700:00 | – | nessus | |
| Apple iOS < 11 Multiple Vulnerabilities | 21 Sep 201700:00 | – | nessus | |
| CVE-2017-11120 | 1 Sep 201700:00 | – | android | |
| About the security content of iOS 11 | 19 Sep 201700:00 | – | apple | |
| About the security content of tvOS 11 | 19 Sep 201700:00 | – | apple | |
| About the security content of iOS 11 - Apple Support | 27 Jul 202008:16 | – | apple | |
| About the security content of tvOS 11 - Apple Support | 3 Apr 201909:46 | – | apple | |
| The vulnerability of Broadcom BCM4355C0 Wi-Fi chip drivers allows attackers to compromise the confidentiality, integrity, and accessibility of data. | 26 Oct 201700:00 | – | bdu_fstec |
10
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=1289
The exploit gains code execution on the Wi-Fi firmware on the iPhone 7.
The exploit has been tested against the Wi-Fi firmware as present on iOS 10.2 (14C92), but should work on all versions of iOS up to 10.3.3 (included). However, some symbols might need to be adjusted for different versions of iOS, see "exploit/symbols.py" for more information.
Upon successful execution of the exploit, a backdoor is inserted into the firmware, allowing remote read/write commands to be issued to the firmware via crafted action frames (thus allowing easy remote control over the Wi-Fi chip).
The attached archive contains the following directories:
-hostapd-2.6 - A modified version of hostapd utilised in the exploit. This version of hostapd is configured to
support 802.11k RRM, and in particular Neighbor Reports. Moreover, this version of hostapd is
instrumented to add various commands, allowing injection and reception of crafted action frames
used throughout the exploit.
-exploit - The exploit itself.
To run the exploit, you must execute the following steps:
-Connect (and enable) a SoftMAC Wi-Fi dongle to your machine (such as the TL-WN722N)
-Compile the provided version of hostapd
-Modify the "interface" setting under "hostapd-2.6/hostapd/hostapd.conf" to match your interface's name
-Configure the following settings under "exploit/conf.py":
-HOSTAPD_DIR - The directory of the hostapd binary compiled above
-TARGET_MAC - The MAC address of the device being exploited
-AP_MAC - The MAC address of your wireless dongle
-INTERFACE - The name of the wireless dongle's interface
-Assemble the backdoor shellcode by running "exploit/assemble_backdoor.sh"
-Run hostapd with the configuration file provided above, broadcasting a Wi-Fi network ("test80211k")
-Connect the target device to the network
-Run "exploit/attack.py"
Following the steps above should result in installation of a simple backdoor allowing read/write access to the firmware. You can interact with the backdoor to gain R/W access to the firmware by calling the "read_dword" and "write_dword" functions, respectively.
Proof of Concept:
https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/42784.zipData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
27 Sep 2017 00:00Current
8.6High risk
Vulners AI Score8.6
CVSS 39.8
CVSS 210
EPSS0.09129