CVE-2023-5148: Unrestricted File Upload in D-Link DAR-7000/DAR-8000 /Tool/uploadfile.php
- Vendor
- D-Link
CVE-2023-5148 is a critical vulnerability in D-Link DAR-7000 and DAR-8000 (up to 20151231) in the /Tool/uploadfile.php script. The vulnerability is due to insufficient validation of the 'file_upload' parameter, allowing remote attackers to upload arbitrary files to the device. This can be exploited to upload malicious files, such as web shells, leading to full compromise of the device. The affected products are end-of-life and no longer supported by the vendor.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to upload arbitrary files, potentially leading to remote code execution, full device compromise, and use of the device as a pivot point for further attacks within the network. Given the public disclosure of the exploit, the risk of exploitation is high.
Mitigation
If you can’t patch tonight, do this now.
Mitigation options are limited. Network administrators should immediately remove affected devices from service. If immediate replacement is not possible, restrict network access to the device, disable the /Tool/uploadfile.php endpoint if feasible, and monitor for signs of compromise.
Remediation
Patch, then assume compromise.
There is no official remediation as the affected products are end-of-life and unsupported. The vendor recommends retiring and replacing the affected devices with supported hardware.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-5148 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-5148?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2023-5148.
- Is there a patch for CVE-2023-5148?
- There is no official remediation as the affected products are end-of-life and unsupported. The vendor recommends retiring and replacing the affected devices with supported hardware.
- What products are affected by CVE-2023-5148?
- D-Link Dar-7000 Firmware and D-Link Dar-8000 Firmware.
- How severe is CVE-2023-5148?
- CVE-2023-5148 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 30.5% (98th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.