Skip to content
CVE-2026-138274

Tenda W12 loginCheck Authentication Bypass (CVE-2026-138274)

Initial Access Privilege Escalation Last updated:

Detects exploitation attempts against CVE-2026-138274, a critical (CVSS 9.3) improper authentication weakness (CWE-287) in the loginCheck function of /bin/httpd in the Web Management Interface of Tenda W12 version 3.0.0.7. The flaw allows an unauthenticated remote attacker to bypass authentication on the embedded web management interface. The vulnerability resides in the router HTTP server, so detection relies on web/HTTP proxy, firewall, and network telemetry capturing requests to login and management endpoints, authentication successes without valid credentials, and post-exploitation configuration changes. A public exploit is available.

Vulnerability Intelligence

Theoretical

What is CVE-2026-138274 Tenda W12 loginCheck Authentication Bypass (CVE-2026-138274)?

Tenda W12 loginCheck Authentication Bypass (CVE-2026-138274) (CVE-2026-138274) maps to the Initial Access and Privilege Escalation tactics — the adversary is trying to get into your network in MITRE ATT&CK.

This page provides production-ready detection logic for Tenda W12 loginCheck Authentication Bypass (CVE-2026-138274), covering the data sources and telemetry it touches: Network Firewall, Web Proxy, Syslog. The queries below are rated critical severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Initial Access Privilege Escalation
Microsoft Sentinel / Defender
kusto
// df00tech DF00-7b19a4868f · https://df00tech.com/detections/CVE-2026-138274 · licence: https://df00tech.com/detections/licence
let managementPaths = dynamic(["/goform/", "/cgi-bin/", "loginCheck", "/login", "/goform/SysToolReboot", "/goform/setSysTools", "/goform/SetRemoteWebCfg"]);
CommonSecurityLog
| where DeviceVendor has "Tenda" or DestinationServiceName has "httpd" or RequestURL has_any (managementPaths)
| where RequestMethod in ("GET", "POST")
| where RequestURL has_any (managementPaths)
| extend SuspiciousAuth = iff(RequestURL has "loginCheck" or RequestURL has "/login", true, false)
| summarize RequestCount = count(), Paths = make_set(RequestURL, 25), Methods = make_set(RequestMethod, 5) by SourceIP, DestinationIP, bin(TimeGenerated, 10m)
| where RequestCount > 15 or array_length(Paths) > 5
| order by RequestCount desc

Identifies bursts of HTTP requests to Tenda W12 web-management endpoints (loginCheck/login/goform) from a single source, consistent with authentication-bypass probing or automated exploitation of CVE-2026-138274.

critical severity medium confidence

Data Sources

Network Firewall Web Proxy Syslog

Required Tables

CommonSecurityLog

False Positives

  • Legitimate administrator accessing the router web UI from a management workstation.
  • Network monitoring or asset-discovery scanners enumerating device management interfaces.
  • Automated firmware/config backup tools polling goform endpoints on a schedule.

Query fingerprint DF00-7b19a4868f · licence

Sigma logsource & community rules

The detection logic for Tenda W12 loginCheck Authentication Bypass (CVE-2026-138274) (CVE-2026-138274) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  category: network_connection
  product: windows

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Simulated loginCheck request burst

    Expected signal: Proxy/firewall/web-server access logs recording 20+ requests to loginCheck and goform endpoints from the test source IP.

  2. Test 2 Auth-bypass then privileged action sequence

    Expected signal: HTTP logs showing a loginCheck request followed within minutes by a SetRemoteWebCfg request from the same source IP.

  3. Test 3 Management endpoint path enumeration

    Expected signal: Access logs showing 6 distinct management URIs requested from one source IP.


Response Playbook

Triage

  1. Confirm the destination IP is a Tenda W12 router running firmware 3.0.0.7 and that its web management interface is reachable from the source network segment.
  2. Review the HTTP requests to loginCheck/login endpoints and determine whether an authenticated session or configuration change followed without valid credentials being presented.
  3. Correlate the source IP against known administrator/management hosts; an unrecognized or external source strongly indicates exploitation.
  4. Check the router for unexpected configuration changes (remote management enabled, DNS changes, new port forwards, firmware changes) after the suspicious requests.

Containment

  1. Block the source IP at the perimeter firewall and disable remote/WAN access to the router's web management interface.
  2. Isolate the affected Tenda W12 device from the network pending inspection and place management access behind a VPN or management VLAN only.
  3. Reset administrator credentials and, if compromise is confirmed, factory-reset and re-flash the device with vendor-patched firmware.

Evidence Collection

  1. Capture proxy/firewall/web-server access logs showing the full request sequence to loginCheck and goform endpoints, including source IPs, timestamps and HTTP responses.
  2. Export the router running configuration and system/event logs (if accessible) to preserve evidence of unauthorized changes.

Escalation Criteria

  • ! Escalate to incident response if a configuration change, enabled remote management, or DNS/port-forward modification is observed following the suspicious requests.
  • ! Escalate if the source IP is external or if the same technique is observed against multiple Tenda devices, indicating a coordinated campaign.

Investigation Guide

Forensic Artifacts

  • > Router web-server (httpd) access and error logs showing requests to loginCheck/goform endpoints.
  • > Router NVRAM/running configuration deltas indicating unauthorized settings changes.
  • > Firewall/proxy connection records tying a source IP to management-interface access.

Tuning Guidance

Baseline the IP addresses of legitimate administrator and NMS/monitoring hosts and exclude them from the detection. Adjust the request-count and distinct-path thresholds to match the normal management cadence of your environment. Where Tenda devices are internet-exposed, lower thresholds and treat any external source hitting loginCheck as high priority. If HTTP response codes are available, prioritize sequences where loginCheck is followed by a successful (200) privileged goform action.


Hunting Queries

Hunt for sources repeatedly accessing Tenda management endpoints over a wider window to find low-and-slow probing.

Hunting — KQL
kql
// df00tech DF00-7b19a4868f · https://df00tech.com/detections/CVE-2026-138274 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has_any ("loginCheck", "/goform/", "/cgi-bin/") | summarize count() by SourceIP, DestinationIP, bin(TimeGenerated, 1h) | where count_ > 10
Hunting — SPL
spl
``` df00tech DF00-7b19a4868f · https://df00tech.com/detections/CVE-2026-138274 · licence: https://df00tech.com/detections/licence ```
index=proxy OR index=firewall (uri_path="*loginCheck*" OR uri_path="*/goform/*") | stats count by src_ip, dest_ip | where count>10

Atomic Red Team Tests

Test 1 Simulated loginCheck request burst
linux

Send a burst of GET/POST requests to the loginCheck and goform endpoints of a lab Tenda W12 (or emulated httpd) to trigger the volume-based detection.

Command

bash
for i in $(seq 1 20); do curl -s -o /dev/null -X POST "http://192.0.2.10/goform/loginCheck" -d 'username=admin&password=x'; curl -s -o /dev/null "http://192.0.2.10/goform/SetRemoteWebCfg"; done

Cleanup

bash
echo 'No persistent artifacts created; clear lab proxy logs if desired.'

Expected Telemetry

Proxy/firewall/web-server access logs recording 20+ requests to loginCheck and goform endpoints from the test source IP.

Expected Detection

KQL/SPL volume rules fire on >15 management-endpoint requests from a single source within the time window.

Test 2 Auth-bypass then privileged action sequence
linux

Simulate the exploit chain: a loginCheck request immediately followed by a privileged configuration-change request from the same source.

Command

bash
curl -s -o /dev/null "http://192.0.2.10/goform/loginCheck"; sleep 2; curl -s -o /dev/null -X POST "http://192.0.2.10/goform/SetRemoteWebCfg" -d 'remoteEnable=1'

Cleanup

bash
echo 'Reset lab device config / clear logs if needed.'

Expected Telemetry

HTTP logs showing a loginCheck request followed within minutes by a SetRemoteWebCfg request from the same source IP.

Expected Detection

Elastic EQL sequence rule correlates the login then privileged-action chain.

Test 3 Management endpoint path enumeration
linux

Enumerate multiple distinct management/cgi-bin paths from a single source to trigger the distinct-path diversity detection.

Command

bash
for p in loginCheck SysToolReboot setSysTools SetRemoteWebCfg cgi-bin/login goform/getSysInfo; do curl -s -o /dev/null "http://192.0.2.10/$p"; done

Cleanup

bash
echo 'No cleanup required beyond clearing lab logs.'

Expected Telemetry

Access logs showing 6 distinct management URIs requested from one source IP.

Expected Detection

Rules fire on distinct_paths>5 condition for a single source.

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections