CVE-2023-29803
published 2023-04-14CVE-2023-29803: TOTOLINK X18 V9.1.0cu.2024_B20220329 was discovered to contain a command injection vulnerability via the pid parameter in the disconnectVPN function.
PriorityP264critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
2.16%
80.1th percentile
TOTOLINK X18 V9.1.0cu.2024_B20220329 was discovered to contain a command injection vulnerability via the pid parameter in the disconnectVPN function.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| totolink | x18_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/cgi-bin/cstecgi.cgi
- →Exploit targets HTTP POST requests to /cgi-bin/cstecgi.cgi with a JSON body containing 'topicurl':'disconnectVPN' and a 'pid' parameter carrying shell metacharacters for command injection.
- →The injected payload in the 'pid' parameter uses shell metacharacters: semicolon (;/%3B), newline (\n/%0A), backtick (`/%60), pipe (|/%7C), or dollar sign ($/%24). Detection regex targets these characters after the pid value.
- →Vulnerability is in the disconnectVPN function of TOTOLINK X18 V9.1.0cu.2024_B20220329; the 'pid' parameter is passed unsanitized to a system command. ↗
- →Traffic is plaintext (non-TLS); deploy detection at perimeter and internal network boundaries monitoring inbound HTTP to networking equipment.
- ·The Snort/Suricata rule (sid:2068159) covers both CVE-2023-29803 and CVE-2024-34921 simultaneously, as both share the same vulnerable endpoint and injection vector; tuning may be needed to distinguish between the two CVEs.
- ·The URI match uses bsize:20, meaning it matches exactly on the 20-byte path /cgi-bin/cstecgi.cgi; ensure your HTTP normalisation does not alter URI length before inspection.
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Suricata
ET WEB_SPECIFIC_APPS Totolink disconnectVPN pid Parameter Command Injection Attempt (CVE-2024-34921, CVE-2023-29803)
suricata·2026-03-11·CVSS 9.8
CVE-2024-34921 [CRITICAL] ET WEB_SPECIFIC_APPS Totolink disconnectVPN pid Parameter Command Injection Attempt (CVE-2024-34921, CVE-2023-29803)
ET WEB_SPECIFIC_APPS Totolink disconnectVPN pid Parameter Command Injection Attempt (CVE-2024-34921, CVE-2023-29803)
Rule: alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Totolink disconnectVPN pid Parameter Command Injection Attempt (CVE-2024-34921, CVE-2023-29803)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/cstecgi.cgi"; http.request_body; content:"|22|topicurl|22|"; content:"|22|disconnectVPN|22|"; fast_pattern; within:20; content:"|22|pid|22|"; pcre:"/^(?:\x3a(?:\x20\x22|\x22))?[^\x2c\x7d$]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R"; reference:url,github.com/jinhao118/cve/blob/main/TOTOLINK%20X18%20Router.md; reference:cve,2024-34921; reference:cve,2023-29803; classtype:attempte
No public exploits indexed.
No writeups or analysis indexed.
2023-04-14
Published