ToToLink LR1200GB
cpe:2.3:o:totolink:lr1200gb_firmware:*:*:*:*:*:*:*, +1 more
- V9.1.0u.6619_B20230130
A stack buffer overflow vulnerability has been identified in ToToLink LR1200GB (V9.1.0u.6619_B20230130) and NR1800X (V9.1.0u.6681_B20230703) router firmware. The issue resides within the cstecgi.cgi binary, specifically in the setDefResponse function. The vulnerability arises because the binary uses strcpy() to copy the 'IpAddress' parameter from a web request into a fixed-size stack buffer, without proper length validation. This flaw allows for memory corruption or arbitrary code execution, and can be exploited remotely without authentication.
Exploitation of this vulnerability leads to a stack buffer overflow, causing memory corruption and potentially allowing for arbitrary code execution on the device.
The vulnerability can be reproduced by sending a POST request to the '/cgi-bin/cstecgi.cgi' endpoint. The request must include a JSON payload with the 'IpAddress' parameter. The value of this parameter should be crafted to exceed the buffer size, thereby causing a stack buffer overflow.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.