CVE-2026-31179

Command Injection through STUN Port Parameter in TOTOLINK A3300R Firmware

Published Apr 23, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the stunPort parameter to /cgi-bin/cstecgi.cgi.

Analysis

AI-generated

Technical impact

The TOTOLINK A3300R firmware contains a command‑injection flaw that can be triggered by supplying an arbitrary string to the stunPort parameter in the /cgi-bin/cstecgi.cgi endpoint. This allows an attacker to run arbitrary commands under the privileges of the router’s web daemon, potentially leading to full device compromise. The weakness is a classic instance of CWE‑77 (Command Injection).

Affected Systems

Affected devices are TOTOLINK routers of the A3300R model running firmware version 17.0.0cu.557_B20221024. No product variations are listed beyond this firmware build, so any device identified by the CPE strings provided is likely vulnerable.

Risk and Exploitability

The CVSS score of 6.5 reflects a moderate severity, and the EPSS score of less than 1% indicates that real‑world exploitation is considered unlikely at this time. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that attackers would require network access to the router’s internal interface, typically from a local or compromised network segment. Based on the description, it is inferred that the exploit requires no special privileges beyond reaching the web service, and it could be performed by sending a crafted HTTP request to the exposed /cgi-bin/cstecgi.cgi endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the device to a firmware version that removes the vulnerable stunPort handling or otherwise fixes the command injection issue. If a patch is not yet available, block or disable access to the /cgi-bin/cstecgi.cgi CGI script by configuring the router’s firewall or access control lists to limit the endpoint to trusted internal IP addresses.
  • Restrict or disable the STUN port functionality in the router’s settings, which removes the attack vector altogether. This can be achieved by setting the stunPort value to a null or invalid state via the router’s configuration interface.
  • Configure network perimeter devices or a local firewall to block inbound traffic to the router’s web management interface from untrusted networks, and audit the web server logs regularly for abnormal CGI invocation patterns.

Generated by OpenCVE AI on April 28, 2026 at 15:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Command Injection through STUN Port Parameter in TOTOLINK A3300R Firmware
Type Values Removed Values Added
First Time appeared Totolink
Totolink a3300r
Totolink a3300r Firmware
CPEs cpe:2.3:h:totolink:a3300r:-:*:*:*:*:*:*:*
cpe:2.3:o:totolink:a3300r_firmware:17.0.0cu.557_b20221024:*:*:*:*:*:*:*
Vendors & Products Totolink
Totolink a3300r
Totolink a3300r Firmware
Type Values Removed Values Added
Description An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the stun-port parameter to /cgi-bin/cstecgi.cgi. An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the stunPort parameter to /cgi-bin/cstecgi.cgi.
Type Values Removed Values Added
Weaknesses CWE-77
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An issue was discovered in ToToLink A3300R firmware v17.0.0cu.557_B20221024 allowing attackers to execute arbitrary commands via the stun-port parameter to /cgi-bin/cstecgi.cgi.
References
Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 23, 2026, 6:42 PM
Reserved
Mar 9, 2026, 12:00 AM
Status
Analyzed
Published
Apr 23, 2026, 6:16 PM
Modified
Nov 11, 2026, 7:10 PM