MediaTek Wi-Fi Research Demonstrates Remote Code Execution via Beacon Flaw

· 39:59 · Watch on YouTube ↗

Summary

A Hexacon talk details reverse engineering of MediaTek Wi-Fi 6/7 firmware and kernel-module flaws, including unauthenticated frame injection and a beacon-triggered buffer overflow demonstrated for remote code execution. The presenter says all discussed issues have been.

Key points

  • The study examined MediaTek Wi-Fi 6 and Wi-Fi 7 firmware and the Wi-Fi kernel module, including the MT7981, MT7976, AM7563 and MT7991 platforms.
  • A Wi-Fi 6 MCU stack overflow found during testing was already patched in a newer firmware version; the presenter says chipset patches may not reach device firmware promptly.
  • The presenter describes a missing authentication check in an accelerated frame-processing path that allows unauthenticated devices to inject data frames and potentially attack the access point’s network.
  • The talk details kernel-module flaws in management-frame handling, including buffer overflows that can crash devices and, in some cases, allow remote code execution.
  • A crafted beacon triggers a buffer overflow that the presenter used to develop an arbitrary-write primitive and overwrite a function pointer; the demonstration achieved code execution after repeated attempts.
  • The presenter says the issues discussed have been fixed. The affected device model was withheld under MediaTek’s bug-bounty policy.

Article Details

Topics
  • [00:09] Research scope: MediaTek Wi-Fi MCU firmware and kernel-module security
  • [03:02] Wi-Fi 6 architecture, firmware loading and MCU reverse engineering
  • [09:27] MCU stack overflow discovery and evidence that a newer firmware version had patched it
  • [11:43] Wi-Fi 7 firmware analysis, encryption and RISC-V instruction challenges
  • [19:45] Unauthenticated data-frame injection through the MediaTek Wi-Fi processing path
  • [25:03] Management-frame parsing flaws and buffer overflows in the Wi-Fi kernel module
  • [29:08] Wi-Fi 7 multilink and beacon-processing vulnerabilities
  • [34:01] Beacon-based exploit demonstration, remote code execution and remediation status

People

Vendors

Products