CVE-2024-8212 in Dlink Dns-325 and 39 more products
A vulnerability was 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. It has been rated as critical. This issue affects the function...
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 was 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. It has been rated as critical. This issue affects the function cgi_FMT_R12R5_2nd_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. The attack may be initiated 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-8212 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-226124-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.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-15 Command Delimiters via CWE-77
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
Show all 8
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-8212) was identified in multiple D-Link DNS and DNR series devices, affecting the cgi_FMT_R12R5_2nd_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 can be exploited by sending a specially crafted HTTP request to the affected devices. The attack vector involves manipulating the input to the cgi_FMT_R12R5_2nd_DiskMGR function, which can lead to a buffer overflow and remote code execution.", "affected_components": [ "DNS-120", "DNR-202L", "DNS-315L", "DNS-320", "DNS-320L", "DNS-320LW", "DNS-321", "DNR-322L", "DNS-323", "DNS-325", "DNS-32
Vulnerability details: A vulnerability was 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. It has been rated as critical. This issue affects the function cgi_FMT_R12R5_2nd_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. The attack may be initiated remotely. The expl 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-8212?
{ "executive_summary": "A critical vulnerability (CVE-2024-8212) was identified in multiple D-Link DNS and DNR series devices, affecting the cgi_FMT_R12R5_2nd_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 can be exploited by sending a specially crafted HTTP request to the affected devices. The attack ve
What is the CVSS score for CVE-2024-8212?
CVE-2024-8212 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-8212 actively exploited?
No confirmed active exploitation of CVE-2024-8212 as of 2026-09-25.
How do I remediate CVE-2024-8212?
Priority: HIGH. Advisory: https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10383 PSIRT: [email protected]
What systems are affected by CVE-2024-8212?
CVE-2024-8212 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.