ToToLink A720R
cpe:2.3:h:totolink:a720r:*:*:*:*:*:*:*, +1 more
- V4.1.5cu.614_B20230630
A local stack-based buffer overflow vulnerability has been identified in the ToToLink A720R, LR1200GB, and NR1800X router models. This vulnerability arises in the 'infostat.cgi' and 'cstecgi.cgi' binaries, which improperly parse the '/proc/net/arp' file using 'sscanf()' with unvalidated format specifiers. The flawed parsing allows for user-controlled data to be written into fixed-size stack buffers, creating a risk of memory corruption. An attacker with the ability to manipulate the ARP file content can exploit this vulnerability, potentially leading to a denial-of-service condition or arbitrary code execution.
Exploitation of this vulnerability causes memory corruption, which can result in a denial-of-service condition or potentially allow for arbitrary code execution on the device.
The vulnerability can be reproduced by creating a malicious ARP entry that exceeds the buffer size limitations. This can be done by crafting an entry with a long hardware address and then using 'infostat.cgi' or 'cstecgi.cgi' to trigger the buffer overflow. The proof-of-concept involves linking the crafted ARP entry into the '/proc/net/arp' file, which the vulnerable CGI scripts will read and parse, leading to the 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.