CVE-2026-36956
Executive Summary
CVE-2026-36956 is a Cross-Site Request Forgery (CSRF) vulnerability in the web management interface of the Dbit N300 T1 Pro wireless router (firmware V1.0.0). The device fails to implement anti-CSRF tokens or strict Origin/Referer validation on administrative API endpoints, allowing an attacker to forge HTTP requests that are processed as legitimate administrative actions when an authenticated administrator visits a malicious webpage. Successful exploitation enables full configuration takeover, including wireless network manipulation, credential theft via configuration exfiltration, and potential device bricking. The vulnerability carries a CVSS score of 8.8 (High) and remains unpatched with no vendor fix available.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Technical Analysis
The Dbit N300 T1 Pro wireless router exposes a web management interface with administrative API endpoints, notably /api/setWlan, which handles wireless configuration changes. The root cause of CVE-2026-36956 is the absence of server-side CSRF protection mechanisms across all administrative endpoints.
Vulnerability Mechanism:
The router's HTTP handler for administrative APIs validates only the session cookie to authenticate requests. It does not:
- Generate or validate anti-CSRF tokens (e.g., synchronized token patterns)
- Check the
OriginorRefererHTTP headers - Implement SameSite cookie attributes on session cookies
- Require custom headers (e.g.,
X-Requested-With) for state-changing requests
When an authenticated administrator's browser makes a request to /api/setWlan, the session cookie is automatically attached by the browser regardless of the request's origin. A malicious webpage hosted on any attacker-controlled domain can embed HTML forms, JavaScript fetch() calls, or XMLHttpRequest objects that target these endpoints. Because the router treats any request with a valid session cookie as authenticated, the forged request executes with full administrative privileges.
Attack Surface:
- Administrative API endpoints:
/api/setWlan(wireless configuration), likely/api/setAdmin(admin credentials),/api/reboot,/api/setDhcp, and other configuration endpoints - Authentication mechanism: Session-based cookies without CSRF protections
- Network exposure: The management interface is typically bound to the LAN side (192.168.0.1 or similar) but may be exposed to WAN if UPnP or port forwarding is enabled
Affected Component Architecture:
The router firmware V1.0.0 uses a lightweight HTTP daemon that parses JSON or form-encoded POST requests. The session management relies on a simple cookie value (e.g., sessionid), which is validated only for existence and session state. No per-request nonce is embedded in forms or JavaScript files served by the management interface, making all POST and GET requests vulnerable to CSRF.
Exploitation Scenarios
Attack Chain: Scenario 1 — Wireless Configuration Hijack
Reconnaissance/Target Identification: The attacker identifies Dbit N300 T1 Pro routers via network scanning (e.g., Shodan dork
title:"Dbit N300"orhttp.html:"Dbit N300 T1 Pro"). Alternatively, the attacker targets users of the router through phishing emails or malicious websites.Weaponization: The attacker hosts a malicious webpage containing an auto-submitting HTML form targeting the router's configuration endpoint. The form data is crafted to change the SSID and WPA2 passphrase:
<html>
<body>
<form id="csrf" method="POST" action="http://192.168.0.1/api/setWlan">
<input type="hidden" name="ssid" value="attacker_eve_network">
<input type="hidden" name="wpa2_key" value="HackedPass123!">
<input type="hidden" name="channel" value="11">
</form>
<script>document.getElementById('csrf').submit();</script>
</body>
</html>
Payload/Execution: The attacker lures the authenticated administrator (via phishing email, malicious advertisement, or watering-hole attack) to visit the webpage. The victim's browser submits the forged POST request. The router processes the request with the valid session cookie, updating the wireless configuration.
Post-Exploitation: The attacker connects to the now-known SSID with the new passphrase, gaining access to the internal LAN. They can then pivot to other devices, capture network traffic, or further compromise the network.
Attack Chain: Scenario 2 — Admin Credential Exfiltration
The attacker crafts a malicious page that first sends a CSRF request to
/api/getConfig(if such an endpoint exists) or/api/backup, which returns the router configuration including admin credentials.Using JavaScript
fetch()withmode: 'no-cors', the attacker receives the response (since the router lacks CORS headers, the response is opaque but can still be read in some browser contexts withmode: 'cors'if the router sends permissive CORS headers — alternatively, the attacker uses a<form target="hidden_iframe">to trigger a download or uses a request toPOST /api/exportConfigthat saves the config).The attacker exfiltrates the configuration containing the admin hash to their server.
If the router has no rate limiting, the attacker offline-cracks the admin password hash and gains direct authenticated access even after the administrator logs out.
Attack Chain: Scenario 3 — Device Bricking / DoS
- The attacker crafts CSRF payload targeting
/api/upgradeFirmwareor/api/setSysParamendpoints. - The payload triggers a firmware downgrade to a corrupted version or modifies critical system parameters (e.g., VLAN misconfiguration, corrupt routing table).
- The router becomes non-functional, requiring a factory reset via hardware button — a denial-of-service impact.
Impact Assessment
CVSS Breakdown (Score: 8.8 — High):
- Attack Vector (AV): Network — Exploitation requires only network access (the target router is reachable from the victim's browser)
- Attack Complexity (AC): Low — No special conditions beyond authenticated admin session
- Privileges Required (PR): None — The attacker does not need any privileges
- User Interaction (UI): Required — The authenticated admin must visit a malicious page
- Scope (S): Unchanged — The compromised component is the router itself
- Confidentiality Impact (C): High — Full configuration data (credentials, network settings) can be extracted
- Integrity Impact (I): High — Configuration can be completely altered
- Availability Impact (A): High — Device can be bricked or rendered non-functional
Business Impact:
- Small Office/Home Office (SOHO) Networks: Compromise of the router grants full network access, enabling lateral movement, data interception, and man-in-the-middle attacks
- Managed Service Providers: If MSPs manage fleets of these routers, a single compromise pattern can cascade across multiple client sites
- Compliance: For regulated environments, unauthorized access to network infrastructure violates PCI-DSS, HIPAA, and similar frameworks
Blast Radius:
- Direct compromise of all LAN/WLAN clients behind the router
- Potential pivot to cloud applications via captured credentials
- Persistent compromise (if admin credentials are harvested) even after router reboot
EPSS Consideration: With an EPSS score of 0.00163 (5.9th percentile), exploitation is currently rare. However, the vulnerability is trivial to exploit and likely to gain traction once PoC code circulates.
Detection Guidance
Sigma Rule
title: Dbit N300 T1 Pro CSRF Exploitation via setWlan Endpoint
id: 6b8f7e2a-9c3d-4f5e-8a1b-2c3d4e5f6a7b
status: experimental
description: Detects POST requests to /api/setWlan (or other admin API) on Dbit N300 T1 Pro from pages without matching Origin/Referer headers, indicating potential CSRF attack.
author: Valtersit Threat Intelligence
date: 2026/01/15
logsource:
category: webserver
product: router
service: http
detection:
selection:
http.url:
- "*/api/setWlan"
- "*/api/setAdmin"
- "*/api/reboot"
http.method: "POST"
filter_legit:
http.referer:
- "http://192.168.*"
- "http://10.*"
- "http://172.16.*"
condition: selection and not filter_legit
level: high
falsepositives:
- Administrators accessing the interface from non-LAN IPs (rare)
tags:
- attack.t1203
- attack.t1071.001
- cve.2026-36956
YARA Rule
rule Dbit_N300_CSRF_Exploit_Payload {
meta:
author = "Valtersit Threat Intelligence"
description = "Detects HTML/JS payloads targeting Dbit N300 T1 Pro CSRF vulnerability CVE-2026-36956"
cve = "CVE-2026-36956"
date = "2026-01-15"
severity = "high"
strings:
$s1 = "/api/setWlan" ascii nocase
$s2 = "/api/setAdmin" ascii nocase
$s3 = "/api/reboot" ascii nocase
$s4 = "wpa2_key" ascii nocase
$s5 = "Dbit" ascii nocase
$s6 = "N300" ascii nocase
$s8 = "document.getElementById" ascii nocase
$s9 = "XMLHttpRequest" ascii nocase
$s10 = ".submit()" ascii nocase
condition:
(any of ($s1, $s2, $s3)) and
(any of ($s4, $s5, $s6)) and
(any of ($s8, $s9, $s10))
}
Suricata IDS Rule
alert http any any -> $HOME_NET any (msg:"ET EXPLOIT Dbit N300 T1 Pro CSRF Attack via /api/setWlan"; flow:established,to_server; content:"POST"; http_method; content:"/api/setWlan"; http_uri; content:"Referer|3a 20|http"; http_header; pcre:"/Referer:\s*https?:\/\/(?!192\.168\.)(?!10\.)(?!172\.(1[6-9]|2[0-9]|3[0-1])\.)/i"; classtype:attempted-admin; sid:202656001; rev:1; metadata:created_at 2026_01_15, cve CVE-2026-36956;)
Elastic Detection
sequence by source.ip
[ network where event.type == "connection" and network.protocol == "http" and
http.request.method == "POST" and
url.path in ("/api/setWlan", "/api/setAdmin", "/api/reboot", "/api/setDhcp")
]
[ http where process.executable == "browser.exe" and
http.request.referrer != null and
not startsWith(http.request.referrer, "http://192.168.") and
not startsWith(http.request.referrer, "http://10.") and
not startsWith(http.request.referrer, "http://172.16.") and
url.path in ("/api/setWlan", "/api/setAdmin", "/api/reboot", "/api/setDhcp")
]
Splunk SPL Query
index=proxy OR index=web
uri_path IN ("/api/setWlan", "/api/setAdmin", "/api/reboot", "/api/setDhcp")
http_method="POST"
| eval malicious_referer = if(match(referer, "^(?!https?://(192\\.168\\.|10\\.|172\\.(1[6-9]|2[0-9]|3[0-1])\\.)).*$"), "yes", "no")
| search malicious_referer="yes"
| stats count, values(clientip) as client_ip, values(referer) as referer
by uri_path, _time
| where count > 1
Wazuh OSSEC Rule
<group name="web, cve-2026-36956,">
<rule id="100369" level="12">
<decoded_as>json</decoded_as>
<field name="url">\./api/setWlan|\./api/setAdmin|\./api/reboot</field>
<field name="method">POST</field>
<description>Potential CSRF attack on Dbit N300 T1 Pro router - multiple admin API POST requests with mismatched Referer</description>
<group>cve-2026-36956,exploit,router,csrf</group>
<mitre>
<id>T1203</id>
</mitre>
</rule>
<rule id="100370" level="10">
<decoded_as>json</decoded_as>
<field name="url">\./api/setWlan|\./api/setAdmin|\./api/reboot</field>
<field name="method">POST</field>
<field name="referer">!^http://192\.168\.|!^http://10\.|!^http://172\.(1[6-9]|2[0-9]|3[0-1])\.</field>
<description>Suspicious CSRF attempt on Dbit router - non-LAN referer</description>
<group>cve-2026-36956,csrf,router</group>
</rule>
</group>
Mitigation & Patch Guidance
Patch Status: CVE-2026-36956 remains UNPATCHED (patch confidence 0/4). No firmware update or vendor advisory exists from Dbit. The vendor has not responded to disclosure, and no patch is currently available.
Immediate Mitigations (implement now):
- Disable Remote Management: If WAN-side access to the management interface is enabled, disable it immediately. Restrict management access to LAN IP ranges only.
- Access Restriction via Firewall: Configure an external firewall or router ACL to block access to ports 80/443 on the Dbit router from untrusted networks.
- Browser Extensions: Deploy browser extensions (e.g., uBlock Origin, NoScript) to administrator workstations that block auto-submitting forms and cross-origin requests.
- Educate Administrators: Instruct administrators to:
- Never browse untrusted websites while logged into the router's management console
- Use a dedicated browser profile for router management
- Log out of the router management interface when not actively configuring it
- Network Segmentation: Place the router in a dedicated management VLAN, separate from user devices, to limit CSRF source exposure.
Patch/Upgrade Steps:
- Monitor Dbit's official website and firmware repositories for an updated firmware (V1.0.1 or later) that addresses CSRF.
- Contact Dbit support (if available) to request the vulnerability fix and confirm a timeline.
- If no patch is released within 90 days, replace the device with a router model from a vendor with a track record of security updates (e.g., OpenWrt-compatible hardware, ASUS, TP-Link with regular firmware updates, Ubiquiti EdgeRouter).
Long-Term Hardening:
- Router Replacement Criteria: Replace Dbit N300 T1 Pro with hardware that supports:
- OpenWrt or dd-wrt custom firmware (enables community patches)
- Automatic firmware updates with security advisories
- Built-in CSRF protection (SameSite cookies, token validation)
- Configuration Baseline: For any replacement router, verify:
- CSRF tokens are present in all management forms
SameSite=LaxorSameSite=Strictcookies are used- Origin header validation is enforced
- Vulnerability Management: Add the Dbit N300 T1 Pro to your asset inventory with a flag for "end-of-security-support." Establish a deprecation date for forced replacement.
- Active Monitoring: If the devices cannot be replaced immediately, deploy the Sigma/Elastic/Suricata detections above to monitor for CSRF attempts.
- Inventory Review: Audit all network devices for similar CSRF weaknesses; apply the same mitigation criteria across all vendors.
References
- NVD Entry — CVE-2026-36956: https://nvd.nist.gov/vuln/detail/CVE-2026-36956
- MITRE CVE Repository — CVE-2026-36956: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-36956
- CWE-352 (Cross-Site Request Forgery): https://cwe.mitre.org/data/definitions/352.html
- OWASP CSRF Prevention Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html
- FIRST EPSS — CVE-2026-36956 EPSS Score: https://www.first.org/epss/search?cve=CVE-2026-36956
Exploit-in-the-Wild Evidence: No publicly observed campaigns or mass exploitation have been reported for CVE-2026-36956 as of the writing date. The EPSS score (0.00163, 5.9th percentile) indicates low current exploitation likelihood. However, the simplicity of the attack and the prevalence of SOHO router targets suggest that weaponization is likely once proof-of-concept code circulates in public exploit databases or security research forums. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.