Tenda F451 Stack-Based Buffer Overflow Vulnerability in HTTPD Component
Vulnerability
A stack-based buffer overflow vulnerability has been identified in the Tenda F451 router, specifically in version 1.0.0.7. The issue arises in the HTTP daemon (httpd) within the 'frmL7ProtForm' function of the '/goform/L7Prot' file. The vulnerability is triggered by manipulating the 'page' parameter, which is passed to the 'sprintf' function without proper length validation. This oversight allows for remote exploitation, leading to potential denial-of-service conditions or arbitrary code execution.
Impact
Exploitation of this vulnerability causes a stack-based buffer overflow, which can be leveraged for arbitrary code execution or to create a denial-of-service condition on the device.
Reproduction
The vulnerability can be reproduced by sending a POST request to the '/goform/L7Prot' endpoint with a 'page' parameter that contains a payload of approximately 2048 bytes. This payload size exceeds the buffer's capacity, causing a stack-based overflow.
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.
