CVE-2025-60688: Buffer Overflow
A stack buffer overflow vulnerability exists in the ToToLink LR1200GB (V9.1.0u.6619B20230130) and NR1800X (V9.1.0u.6681B20230703) Router firmware within the cstecgi.cgi binary (setDefResponse function). The binary reads the "IpAddress" parameter from a web request and copies it into a fixed-size stack buffer using strcpy() without any length validation. Maliciously crafted input can overflow the buffer, leading to potential arbitrary code execution or memory corruption, without requiring authentication.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ToToLink LR1200GBto a version that resolves this vulnerability.Fixed in V9.1.0u.6619_B20230130 - Upgrade
Upgrade
ToToLink NR1800Xto a version that resolves this vulnerability.Fixed in V9.1.0u.6681_B20230703 - Configuration
Modify cstecgi.cgi so the IpAddress web parameter is length-validated (or uses a bounded copy) before copying into the fixed-size stack buffer in setDefResponse; replace strcpy() usage to prevent stack buffer overflow.
cstecgi.cgi (setDefResponse function) IpAddress input handling = validate length before copying; avoid strcpy() into fixed-size stack buffer
Event History
Frequently Asked Questions
What is the severity of CVE-2025-60688?
CVE-2025-60688 is considered to be a critical vulnerability due to the potential for remote code execution.
What software is affected by CVE-2025-60688?
CVE-2025-60688 affects ToToLink LR1200GB and NR1800X router firmware versions V9.1.0u.6619_B20230130 and V9.1.0u.6681_B20230703.
How do I fix CVE-2025-60688?
To fix CVE-2025-60688, update to the latest firmware version provided by ToToLink that addresses this vulnerability.
How does CVE-2025-60688 exploit work?
CVE-2025-60688 exploits a stack buffer overflow in the cstecgi.cgi binary, allowing attackers to execute arbitrary code.
What should I do if I am using affected devices for CVE-2025-60688?
If you are using affected devices, immediately update your firmware to mitigate the risk associated with CVE-2025-60688.