cbcvebase.
CVE-2024-24329
published 2024-01-30

CVE-2024-24329: TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable parameter in the setPortForwardRules…

PriorityP184critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
6.17%
92.7th percentile
TOTOLINK A3300R V17.0.0cu.557_B20221024 was discovered to contain a command injection vulnerability via the enable parameter in the setPortForwardRules function.

Affected

1 ranges
VendorProductVersion rangeFixed in
totolinka3300r_firmware

Detection & IOCsextracted from sources · hover to see the quote

url/cgi-bin/cstecgi.cgi?token=C6F41C563E86A379
command{"enable":"1`ls>/web/{{randstr}}.txt`","addEffect":"0","topicurl":"setPortForwardRules"}
path/cgi-bin/cstecgi.cgi
path/advance/portfwd.html
  • Exploit POST request targets /cgi-bin/cstecgi.cgi with topicurl=setPortForwardRules and backtick command injection in the 'enable' parameter; look for backtick or shell metacharacters in the enable field of JSON POST bodies to this endpoint.
  • Successful exploitation writes a file under /web/ on the router filesystem; a subsequent GET request to retrieve the dropped file (e.g., /<randstr>.txt) containing directory listing output ('bin','etc') confirms RCE.
  • The exploit uses a hardcoded token value 'C6F41C563E86A379' in both the URL query string and the Referer header; presence of this token in HTTP traffic to a TOTOLINK device is a strong indicator of exploitation attempts.
  • FOFA/Shodan hunting query for exposed vulnerable devices uses the page title 'totolink'; use this to identify internet-facing instances.
  • The vulnerability is unauthenticated (PR:N) and network-reachable (AV:N); no prior authentication is required to trigger command injection via the enable parameter in setPortForwardRules.
  • ·The token value 'C6F41C563E86A379' used in the PoC is hardcoded for demonstration; real-world exploitation may use different or dynamically obtained tokens, so detection should not rely solely on this specific token value.
  • ·Affected firmware is specifically TOTOLINK A3300R V17.0.0cu.557_B20221024; detections should be scoped to this CPE to avoid false positives on other TOTOLINK models.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
vendor_oracle5.3MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

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.