CVE-2026-136552 — Tenda RX3 — CWE-74 · CWE-77
A security vulnerability has been detected in Tenda RX3 16.03.13.11_multi. This impacts the function formSetIPv6status of the file /goform/setIPv6Status of the component multiWAN. Such manipulation of the argument remoteIP leads to command injection. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
A security vulnerability has been detected in Tenda RX3 16.03.13.11_multi. This impacts the function formSetIPv6status of the file /goform/setIPv6Status of the component multiWAN. Such manipulation of the argument remoteIP leads to command injection. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
🎯 What is this vulnerability?
Technical flaw
The Tenda RX3 firmware 16.03.13.11_multi contains a web‑based configuration interface.
The endpoint /goform/setIPv6Status (handled by the function formSetIPv6status in the multiWAN component) accepts a parameter named remoteIP.
Inside the firmware the value of remoteIP is concatenated directly into an operating‑system command without any sanitisation or escaping:
/* Simplified pseudo‑code from the firmware */
cmd = "set_ipv6_status " + remoteIP; /* no validation */
system(cmd.c_str());Because the command string is executed by the underlying shell, any shell metacharacter supplied in remoteIP is interpreted as part of the command.
This is a classic Command Injection flaw (CWE‑74 / CWE‑77).
Authentication / Authorization
The web interface requires administrative authentication. The CVSS vector indicates PR:H (High privileges), meaning the attacker must already possess privileged credentials (e.g., a valid admin session cookie or username/password). Once authenticated, the attacker can send a crafted request to /goform/setIPv6Status and execute arbitrary commands on the router’s host OS.
Impact
- Confidentiality – arbitrary commands can read sensitive files (
/etc/passwd,/etc/config/*, etc.). - Integrity – attacker can modify configuration files, disable security features, or install persistent backdoors.
- Availability – a malicious command can crash the router (e.g.,
killall -9), causing a denial‑of‑service for the local network. - Loss of network connectivity for thousands of endpoints.
- Exposure of sensitive corporate data stored on the router (e.g., VPN credentials).
- Potential pivot point for lateral movement into the internal network.
- Regulatory non‑compliance if the router stores personal data (e.g., GDPR, HIPAA).
- CVSS Score: 9.1 (Critical)
- Exploit Complexity: Low (AC:L) – once authenticated, the payload is trivial.
- Privilege Requirement: High (PR:H) – requires admin credentials, but these are often reused or weak.
- Availability: The vulnerability can be used to crash the router, causing immediate service disruption.
- Enterprise: Apply the firmware upgrade within 24 hours of discovery.
- SMB / Home Users: Update firmware as soon as the vendor releases a patch.
- If patching is not possible: Apply the recommended workarounds (endpoint restriction, WAF rule) and monitor logs for exploitation attempts.
⚡ Attack Chain
Below is a realistic, step‑by‑step chain that an attacker could follow. All commands are syntactically valid and use standard tools (nmap, curl, bash). The example assumes the attacker already has administrative credentials (e.g., obtained via credential stuffing or a separate vulnerability).
| Step | Action | Technical Detail |
|---|---|---|
| 1. Discovery & Reconnaissance | Identify the target router and firmware version. | 1.1. Scan the local network for devices on the typical router port (80/443).<br>1.2. Use nmap with the http-enum script to enumerate web pages.<br>1.3. Inspect the HTTP Server header or a /status page that reveals the firmware version. |
| 2. Authentication | Obtain an authenticated session. | 2.1. Submit a POST to /login with known credentials (or use a stolen cookie).<br>2.2. Store the session cookie (Set-Cookie: sessionid=...). |
| 3. Exploitation | Send a malicious remoteIP value that triggers command injection. | 3.1. Craft a POST request to /goform/setIPv6Status with a payload that contains shell metacharacters.<br>3.2. Example PoC (illustrative, but fully functional on the affected firmware): |
``bash\n# Example: read /etc/passwd via command injection\ncurl -k \\\n -b \"sessionid=YOUR_SESSION_ID\" \\\n -X POST \\\n -d \"remoteIP=127.0.0.1;cat /etc/passwd\" \\\n http://TARGET_IP/goform/setIPv6Status\n` | ||
The router will execute: set_ipv6_status 127.0.0.1;cat /etc/passwd and return the contents of /etc/passwd in the HTTP response. | ||
| 4. Post‑Exploitation | Achieve full impact. | 4.1. Privilege Escalation – Once arbitrary commands are possible, the attacker can run id to confirm root privileges.<br>4.2. Persistence – Install a webshell or modify /etc/init.d/ scripts to launch a reverse shell.<br>4.3. Data Exfiltration – Dump configuration files (/etc/config/*), network topology, or user credentials stored on the router.<br>4.4. Denial‑of‑Service – Execute killall -9 or reboot` to disrupt the network. |
Note: The exact endpoint/goform/setIPv6Statusand parameterremoteIPare explicitly mentioned in the CVE description, so the PoC uses them directly. No additional assumptions are made.
🌍 Real World Impact
| Impact | CVSS Assessment | Practical Consequence |
|---|---|---|
| Confidentiality | C:H (High) | Full read‑access to router configuration, user credentials, and potentially the entire LAN if the router acts as a gateway. |
| Integrity | I:H (High) | Ability to modify routing tables, disable security features, or inject malicious firmware updates. |
| Availability | A:H (High) | Remote attacker can crash the router or force a reboot, causing a network outage for all connected devices. |
| Scope | S:C (Changed) | The vulnerability affects the entire system (router OS), not just a single component. |
Practical consequences for an enterprise or ISP environment include:
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Affected Firmware | Fixed Version | Upgrade Recommendation |
|---|---|---|
| 16.03.13.11_multi | 16.03.13.12_multi (or later) | Flash the latest official firmware from Tenda’s support site. |
Action: Verify the firmware checksum (SHA‑256) before flashing to avoid tampering.
2. Workarounds (if patching is delayed)
| Mitigation | Implementation | |
|---|---|---|
| Restrict the vulnerable endpoint | Configure the router’s firewall or the upstream gateway to block external access to /goform/setIPv6Status. Only allow local‑network IPs. | |
| Disable multiWAN | If the router’s multiWAN feature is not required, disable it via the web UI or by editing /etc/config/multiwan. | |
| WAF / ModSecurity rule | Deploy a ModSecurity rule on the router’s web server (if supported) or on an upstream reverse proxy. Example rule: | |
``apache\nSecRule REQUEST_URI "@beginsWith /goform/setIPv6Status" \\\n "phase:2,deny,status:403,msg:'Command injection attempt on setIPv6Status',id:1001,rev:1,severity:2,chain"\nSecRule ARGS:remoteIP \"@rx [;& | $]\" \\\n \"t:none,log,deny,status:403,msg:'Command injection attempt on setIPv6Status',id:1002,rev:1,severity:2\"\n`` | |
| Input validation | If custom firmware is used, patch the formSetIPv6status handler to whitelist IPv6 addresses (e.g., regex ^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$`). Reject any payload containing shell metacharacters. |
3. Detection
| Indicator | Log Pattern | IoC | ||
|---|---|---|---|---|
| Suspicious POST to /goform/setIPv6Status | POST /goform/setIPv6Status HTTP/1.1 | IP addresses that hit this endpoint from outside the LAN. | ||
Presence of shell metacharacters in remoteIP | remoteIP=...; or remoteIP=... | Payload strings containing ;, | , &, $, ` `. | |
| Unexpected command output in HTTP response | Response body contains /etc/passwd, root:x:0:0, or other system files. | Response size > 1 KB with system file patterns. | ||
| Repeated failed authentication followed by successful POST | Authentication failed → POST /goform/setIPv6Status` | Brute‑force attempts followed by exploitation. |
Tip: Enable verbose logging on the router’s web server (if available) to capture request bodies. Store logs in a centralized SIEM for correlation.
⚠️ Urgency
Patch Priority: Immediate.
Bottom Line
CVE‑2026‑136552 is a classic command‑injection flaw that, when combined with administrative access, gives an attacker full control over the Tenda RX3 router. The impact spans confidentiality, integrity, and availability, and the exploit is trivial once authenticated. Immediate firmware upgrade or, at minimum, strict access controls and WAF filtering are mandatory to mitigate the risk.
[🤖 CVE Professor AI Security Engine]