Tenda F456 Stack-Based Buffer Overflow Vulnerability
Vulnerability
A stack-based buffer overflow vulnerability has been identified in the Tenda F456 router, specifically in version 1.0.0.5. The issue arises in the 'fromNatStaticSetting' function within the '/goform/NatStaticSetting' file. The vulnerability is triggered by manipulating the 'page' argument, which is processed by the 'sprintf' function without proper length validation, allowing for stack memory overflow. This vulnerability can be exploited remotely, potentially leading to a denial-of-service condition or arbitrary code execution.
Impact
Exploitation of this vulnerability causes a stack-based buffer overflow, which can be leveraged to execute arbitrary code or cause a denial-of-service condition on the device.
Reproduction
The vulnerability can be reproduced by sending a POST request to '/goform/NatStaticSetting' with a 'page' parameter that contains a payload designed to overflow the stack buffer. The request should include appropriate headers to mimic a legitimate XMLHttpRequest.
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.
