CVE-2025-1339 TOTOLINK X18 cstecgi.cgi setL2tpdConfig os command injection
Remote attackers can execute arbitrary OS commands via the setL2tpdConfig function in TOTOLINK X18 routers, requiring authentication.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-1339?
CVE-2025-1339 is a medium-severity command injection vulnerability in TOTOLINK X18, published on 16 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in TOTOLINK X18 9.1.0cu.2024_B20220329. It has been rated as critical. This issue affects the function setL2tpdConfig of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument enable leads to os command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2025-1339?
It affects 1 product.
Products include Totolink X18 Firmware.
How do I fix CVE-2025-1339?
No fix has been published for CVE-2025-1339 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-1339 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1339 exists.
Other vulnerabilities in TOTOLINK X18
Sources
Also known as GHSA-27g6-qpfh-w967.