TOTOLINK A950RG
cpe:2.3:h:totolink:a950rg:*:*:*:*:*:*:*, +1 more
- V5.9c.4592_B20191022_ALL
A buffer overflow vulnerability has been identified in the TOTOLINK A950RG Router, specifically in the firmware version V5.9c.4592_B20191022_ALL. The issue resides within the 'global.so' binary, in the 'getSaveConfig' function. This function retrieves the 'http_host' parameter from user input using 'websGetVar' and copies it into a fixed-size stack buffer without proper length validation, using 'strcpy()'. As a result, an unauthenticated remote attacker could exploit this vulnerability by sending a crafted HTTP request to the router's web interface, potentially leading to arbitrary code execution.
Exploitation of this vulnerability causes a buffer overflow, which can be leveraged to execute arbitrary code on the affected device.
The vulnerability can be reproduced by sending a POST request to the '/cgi-bin/global.cgi' endpoint. The 'http_host' parameter should be included in the request body with a value that exceeds the buffer size of the 'v13' variable in the 'getSaveConfig' function. This crafted input will overflow the stack buffer, creating the conditions for exploitation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.