Tenda i12 Stack-Based Buffer Overflow Vulnerability in WifiMacFilterGet Function
Vulnerability
A stack-based buffer overflow vulnerability has been identified in the Tenda i12 router, specifically in version 1.0.0.6(2204). The issue arises in the formWifiMacFilterGet function within the file /goform/WifiMacFilterGet. This vulnerability allows for remote exploitation by manipulating the 'index' parameter, leading to potential denial-of-service conditions or arbitrary code execution.
Impact
Exploitation of this vulnerability causes a stack-based buffer overflow, which can lead to arbitrary code execution or a denial-of-service condition.
Reproduction
The vulnerability can be reproduced by sending a POST request to the /goform/WifiMacFilterGet endpoint. The request must include a 'wl_radio' parameter set to a value other than 0, and an 'index' parameter filled with a payload that exceeds the buffer's capacity. This unvalidated input is then processed by the sprintf function, creating the overflow condition.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
