CVE-2024-8213 in Dlink Dns-325 and 39 more products
A vulnerability classified as critical has been found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814. Affected is the function cgi_FMT_R...
Affects 40 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Dlink | Dns-325 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-345 (device and firmware) | ≤ 20240814 |
| Dlink | Dnr-326 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-327L (device and firmware) | ≤ 20240814 |
| Dlink | Dns-320L (device and firmware) | ≤ 20240814 |
| Dlink | Dns-320Lw (device and firmware) | ≤ 20240814 |
| Dlink | Dns-320 (device and firmware) | ≤ 20240814 |
| Dlink | Dnr-322L (device and firmware) | ≤ 20240814 |
| Dlink | Dns-120 (device and firmware) | ≤ 20240814 |
| Dlink | Dnr-202L (device and firmware) | ≤ 20240814 |
| Dlink | Dns-315L (device and firmware) | ≤ 20240814 |
| Dlink | Dns-321 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-323 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-326 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-340L (device and firmware) | ≤ 20240814 |
| Dlink | Dns-343 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-726-4 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-1100-4 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-1200-05 (device and firmware) | ≤ 20240814 |
| Dlink | Dns-1550-04 (device and firmware) | ≤ 20240814 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A vulnerability classified as critical has been found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814. Affected is the function cgi_FMT_R12R5_1st_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed that the product is end-of-life. It should be retired and replaced.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-8213 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-047327-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-08-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77, CWE-78
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-77, CWE-78
Show all 11
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
CAPEC-88 OS Command Injection via CWE-78
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
{ "executive_summary": "A critical vulnerability (CVE-2024-8213) has been identified in multiple D-Link network storage devices, affecting the cgi_FMT_R12R5_1st_DiskMGR function in the /cgi-bin/hd_config.cgi file. This vulnerability could allow an attacker to execute arbitrary code with root privileges, leading to full control of the affected devices.", "attack_vector_detail": "The vulnerability is exploited through a crafted HTTP request to the /cgi-bin/hd_config.cgi endpoint, specifically targeting the cgi_FMT_R12R5_1st_DiskMGR function. An attacker can manipulate the arguments passed to this function to execute arbitrary code on the device.", "affected_components": [ "D-Link DNS-120", "DNR-202L", "DNS-315L", "DNS-320", "DNS-320L", "DNS-320LW", "DNS-321", "DNR-322L", "DNS-323", "DNS-325", "
Vulnerability details: A vulnerability classified as critical has been found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814. Affected is the function cgi_FMT_R12R5_1st_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. It is possible to launch the attack remotely. The exploi CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2024-8213?
{ "executive_summary": "A critical vulnerability (CVE-2024-8213) has been identified in multiple D-Link network storage devices, affecting the cgi_FMT_R12R5_1st_DiskMGR function in the /cgi-bin/hd_config.cgi file. This vulnerability could allow an attacker to execute arbitrary code with root privileges, leading to full control of the affected devices.", "attack_vector_detail": "The vulnerability is exploited through a crafted HTTP request to the /cgi-bin/hd_config.cgi endpoint, specifically
What is the CVSS score for CVE-2024-8213?
CVE-2024-8213 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 9.7%.
Is CVE-2024-8213 actively exploited?
No confirmed active exploitation of CVE-2024-8213 as of 2026-09-25.
How do I remediate CVE-2024-8213?
Priority: HIGH. Advisory: https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10383 PSIRT: [email protected]
What systems are affected by CVE-2024-8213?
CVE-2024-8213 affects Dlink Dns-325, Dns-345, Dnr-326, Dns-327L, Dns-320L, Dns-320Lw, Dns-320, Dnr-322L, Dns-120, Dnr-202L (plus 10 more products).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Dlink","product":"Dns-325","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.