cbcvebase.
CVE-2022-26188
published 2022-03-22

CVE-2022-26188: TOTOLINK N600R V4.3.0cu.7570_B20200620 was discovered to contain a command injection vulnerability via /setting/NTPSyncWithHost.

PriorityP263critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.46%
87.6th percentile
TOTOLINK N600R V4.3.0cu.7570_B20200620 was discovered to contain a command injection vulnerability via /setting/NTPSyncWithHost.

Affected

1 ranges
VendorProductVersion rangeFixed in
totolinkn600r_firmware

Detection & IOCsextracted from sources · hover to see the quote

url/cgi-bin/cstecgi.cgi
path/setting/NTPSyncWithHost
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS TOTOLINK N600R cstecgi.cgi hostTime parameter Command Injection Attempt (CVE-2022-26188)"; flow:established,to_server; http.method; content:"POST"; http.uri; bsize:20; content:"/cgi-bin/cstecgi.cgi"; http.request_body; content:"|22|topicurl|22 3a|"; content:"|22|setting/NTPSyncWithHost|22|"; within:30; fast_pattern; content:"|22|hostTime|22 3a|"; pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R"; reference:url,github.com/doudoudedi/TOTOLINK_N600R_Command_Injection/blob/main/TOTOLINK-N600R-Command-Injection.md; reference:cve,2022-26188; classtype:attempted-admin; sid:2061800; rev:1; metadata:affected_product TOTOLINK, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_04_22, cve CVE_2022_26188, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_22, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • Exploit traffic is HTTP POST only; filter on method POST to /cgi-bin/cstecgi.cgi
  • Request body must contain the topicurl field set to setting/NTPSyncWithHost to identify the vulnerable endpoint
  • Injection payload is carried in the hostTime parameter; look for shell metacharacters (;, newline, backtick, pipe, $) in that field
  • Traffic is expected in plaintext (no TLS); deploy detection at the network perimeter and internally
  • Reference PoC available at GitHub for additional payload patterns
  • ·Vulnerable firmware version is specifically V4.3.0cu.7570_B20200620; detections should be scoped to TOTOLINK N600R devices running this version
  • ·The Snort/Suricata rule (sid:2061800) uses a fixed URI bsize of 20 bytes for /cgi-bin/cstecgi.cgi; ensure your IDS/IPS supports the bsize keyword to avoid false negatives

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
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.