Totolink N300RH
Totolink N300RH Web Management wireless.so setWiFiBasicConfig stack-based overflow
Edge device · Router / network deviceknown edge product: Totolink N300RH Totolink N300RH Web Management wireless.so (high confidence)
A vulnerability was detected in Totolink N300RH 6.1c.1353_B20190305. Affected by this issue is the function setWiFiBasicConfig of the file wireless.so of the component Web Management Interface. Performing a manipulation of the argument KeyStr results in stack-based buffer overflow. The attack is possible to be carried out remotely. The exploit is now public and may be used.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 6.1c.1353_B20190305
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 2.7 days after publication; not in CISA KEV. First PoC: passwa11/CVE-2026-10187 (created 3 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| passwa11/CVE-2026-10187 | 3 Jun 2026 +2.7 d | 0 | PoC via PoC Index |
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://wx.mail.qq.com/s?k=iXbjuHnfMwoD0oWW3v | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /cgi-bin/cstecgi.cgi
- Key headers
X-Requested-With: XMLHttpRequest- Body markers
"topicurl":"setWiFiBasicConfig""addEffect":"0""AuthMode":"OPEN""KeyType":"1""KeyStr"inapplication/x-www-form-urlencoded; charset=UTF-8- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:141.0) Gecko/20100101 Firefox/141.0- Seen in
- 1 repo: passwa11/CVE-2026-10187
- Evidence
- passwa11/CVE-2026-10187/TOTOLINK N300RH Stack-based Buffer Overflow Vulnerability.md:78
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/cgi-bin/cstecgi\.cgi(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-10187 Totolink N300RH exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/cgi-bin/cstecgi.cgi"; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"|22|topicurl|22|:|22|setWiFiBasicConfig|22|"; http.request_body; content:"|22|addEffect|22|:|22|0|22|"; http.request_body; content:"|22|AuthMode|22|:|22|OPEN|22|"; http.request_body; content:"|22|KeyType|22|:|22|1|22|"; http.request_body; content:"|22|KeyStr|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-10187; classtype:web-application-attack; sid:9400370; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Totolink N300RH exploit attempt (CVE-2026-10187)
id: gg-pocmon-cve-2026-10187-9400370
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-10187. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-10187
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/cgi-bin/cstecgi.cgi'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.10187