A local stack-based buffer overflow vulnerability exists in the infostat.cgi and cstecgi.cgi binaries of ToToLink routers (A720R V4.1.5cu.614_B20230630, LR1200GB V9.1.0u.6619_B20230130, and NR1800X V9.1.0u.6681_B20230703). Both programs parse the contents of /proc/net/arp using sscanf() with "%s" format specifiers into fixed-size stack buffers without length validation. Specifically, one function writes user-controlled data into a single-byte buffer, and the other into adjacent small arrays without bounds checking.
An attacker who controls the contents of /proc/net/arp can trigger memory corruption, leading to denial of service or potential arbitrary code execution.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 6
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Totolink A720r_Firmware
cpe:2.3:o:totolink:a720r_firmware:4.1.5cu.614_b20230630:*:*:*:*:*:*:*
|
— | — |
|
Totolink A720r
cpe:2.3:h:totolink:a720r:-:*:*:*:*:*:*:*
|
— | — |
|
Totolink Lr1200gb_Firmware
cpe:2.3:o:totolink:lr1200gb_firmware:9.1.0u.6619_b20230130:*:*:*:*:*:*:*
|
— | — |
|
Totolink Lr1200gb
cpe:2.3:h:totolink:lr1200gb:-:*:*:*:*:*:*:*
|
— | — |
|
Totolink Nr1800x_Firmware
cpe:2.3:o:totolink:nr1800x_firmware:9.1.0u.6681_b20230703:*:*:*:*:*:*:*
|
— | — |
|
Totolink Nr1800x
cpe:2.3:h:totolink:nr1800x:-:*:*:*:*:*:*:*
|
— | — |