CVE-2025-1829 TOTOLINK X18 cstecgi.cgi setMtknatCfg os command injection
Remote attackers can execute arbitrary OS commands via the setMtknatCfg function in TOTOLINK X18 routers, requiring immediate mitigation due to public exploit availability.
- 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-1829?
CVE-2025-1829 is a medium-severity command injection vulnerability in TOTOLINK X18, published on 2 Mar 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 declared as critical. This vulnerability affects the function setMtknatCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument mtkhnatEnable leads to os command injection. The attack can 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-1829?
It affects 1 product.
Products include Totolink X18 Firmware.
How do I fix CVE-2025-1829?
No fix has been published for CVE-2025-1829 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-1829 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1829 exists.
Other vulnerabilities in TOTOLINK X18
Sources
Also known as GHSA-mwjq-q4w6-76fx.