Shenzhen Tenda Technology Tenda G300-F
Tenda G300-F Command Injection via formSetWanDiag
Edge device · Router / network deviceknown edge product: Shenzhen Tenda Technology Tenda G300-F Tenda G300-F Command Injection (high confidence)
Tenda G300-F router firmware version 16.01.14.2 and prior contain an OS command injection vulnerability in the WAN diagnostic functionality (formSetWanDiag). The implementation constructs a shell command that invokes curl and incorporates attacker-controlled input into the command line without adequate neutralization. As a result, a remote attacker with access to the affected management interface can inject additional shell syntax and execute arbitrary commands on the device with the privileges of the management process.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 16.01.14.2
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 4.9 days after publication; not in CISA KEV. First PoC: eeeeeeeeeevan/CVE-2026-25857 (created 12 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| eeeeeeeeeevan/CVE-2026-25857 | 12 Feb 2026 +4.9 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://blog.evan.lat/blog/cve-2026-25857/ | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /goform/getModules/quick
- Body markers
"diagnose"inapplication/json- Seen in
- 1 repo: eeeeeeeeeevan/CVE-2026-25857
- Evidence
- eeeeeeeeeevan/CVE-2026-25857/xp.py:29 eeeeeeeeeevan/CVE-2026-25857/xp.py:60
POST /goform/setModules/quick
- Body markers
"diagnose"inapplication/json- Seen in
- 1 repo: eeeeeeeeeevan/CVE-2026-25857
- Evidence
- eeeeeeeeeevan/CVE-2026-25857/xp.py:18 eeeeeeeeeevan/CVE-2026-25857/xp.py:51
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/goform/getModules/quick(?:[?#].*)?$
(?i)^/goform/setModules/quick(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-25857 Shenzhen Tenda Technology Tenda G300-F exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/goform/getModules/quick"; http.request_body; content:"|22|diagnose|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-25857; classtype:web-application-attack; sid:9829495; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-25857 Shenzhen Tenda Technology Tenda G300-F exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/goform/setModules/quick"; http.request_body; content:"|22|diagnose|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-25857; classtype:web-application-attack; sid:9027915; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Shenzhen Tenda Technology Tenda G300-F exploit attempt (CVE-2026-25857)
id: gg-pocmon-cve-2026-25857-9829495
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25857. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25857
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/goform/getModules/quick'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25857
title: Shenzhen Tenda Technology Tenda G300-F exploit attempt (CVE-2026-25857)
id: gg-pocmon-cve-2026-25857-9027915
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25857. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25857
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/goform/setModules/quick'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25857