CVE-2023-46574
published 2023-10-25CVE-2023-46574: An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile…
PriorityP186critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
65.41%
99.2th percentile
An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile function.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| totolink | a3700r_firmware | — | — |
Detection & IOCsextracted from sources · hover to see the quote
yara↗
regex: uid=([0-9(a-z)]+) gid=([0-9(a-z)]+) groups=([0-9(a-z)]+)
- →Exploit targets the UploadFirmwareFile function via the FileName parameter with command injection (e.g., ';id') sent as a JSON body to /cgi-bin/cstecgi.cgi using a GET request. ↗
- →Successful exploitation returns command output in the HTTP response body matching the pattern: uid=... gid=... groups=... — monitor for this pattern in responses from /cgi-bin/cstecgi.cgi. ↗
- →Shodan/FOFA exposure queries can identify internet-facing TOTOLINK devices: search for title 'Totolink' or 'totolink'. ↗
- →The vulnerability is unauthenticated (PR:N) and network-reachable (AV:N), meaning no credentials are required to exploit the UploadFirmwareFile endpoint. ↗
- ·Affected version is specifically TOTOLINK A3700R firmware v.9.1.2u.6165_20211012 only; other firmware versions are not confirmed vulnerable. ↗
- ·The exploit uses a GET request with a JSON body — some WAFs or detection tools may not inspect GET request bodies, reducing detection coverage. ↗
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
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.
GHSA
GHSA-5xgm-7mgw-vcg3: An issue in TOTOLINK A3700R v
ghsa_unreviewed·2023-10-25
CVE-2023-46574 [CRITICAL] CWE-77 GHSA-5xgm-7mgw-vcg3: An issue in TOTOLINK A3700R v
An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile function.
VulnCheck
totolink a3700r_firmware Improper Neutralization of Special Elements used in a Command ('Command Injection')
vulncheck·2023·CVSS 9.8
CVE-2023-46574 [CRITICAL] totolink a3700r_firmware Improper Neutralization of Special Elements used in a Command ('Command Injection')
totolink a3700r_firmware Improper Neutralization of Special Elements used in a Command ('Command Injection')
An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile function.
Affected: totolink a3700r_firmware
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-08-09&host_type=src&vulnerability=cve-2023-46574; https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-08-13&host_type=src&vulnerability=cve-2023-46574; https://dashboard.shadowserver.org/stati
No detection rules found.
Nuclei
TOTOLINK A3700R - Command Injection
nuclei·CVSS 9.8
CVE-2023-46574 [CRITICAL] TOTOLINK A3700R - Command Injection
TOTOLINK A3700R - Command Injection
An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile function.
Template:
id: CVE-2023-46574
info:
name: TOTOLINK A3700R - Command Injection
author: DhiyaneshDk
severity: critical
description: |
An issue in TOTOLINK A3700R v.9.1.2u.6165_20211012 allows a remote attacker to execute arbitrary code via the FileName parameter of the UploadFirmwareFile function.
impact: |
Unauthenticated attackers can execute arbitrary commands on the router, potentially gaining full device control and compromising network security.
remediation: |
Update TOTOLINK A3700R firmware to a version newer than 9.1.2u.6165_20211012.
reference:
- https://nvd.nist.gov/vuln/detail/CVE
2023-10-25
Published
Exploited in the wild