Tenda F456 Buffer Overflow Vulnerability in the AddressNat Function
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 'fromaddressNat' function within the '/goform/addressNat' file. The vulnerability is triggered by manipulating the 'mitInterface' parameter, which is passed to the 'sprintf' function without proper length validation, allowing for stack memory overflow. This vulnerability can be exploited remotely, and public proof-of-concept exploits are available.
Impact
Exploitation of this vulnerability leads to a stack-based buffer overflow, which can commonly result in arbitrary code execution or causing a denial-of-service condition on the device.
Reproduction
The vulnerability can be reproduced by sending a POST request to the '/goform/addressNat' endpoint. The request must include a 'mitInterface' parameter filled with a payload that exceeds the buffer size, effectively overwriting the stack.
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.
