Security Resilience

CVE-2024-8212

Command Injection in Dlink Dns-315L Firmware

Published
27 August 2024
Modified
29 August 2024
Patch / advisory
CVSS Score v4 5.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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
EPSS Score 0.075 95th percentile
Risk Priority 41 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-8212 is a medium-severity Command Injection (CWE-77) vulnerability in Dlink Dns-315L Firmware. Its CVSS base score is 5.3 (Medium).

Operationally, ranked in the top 5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-3273Same product: Dlink Dns-315L Firmware
CVE-2024-8130Same product: Dlink Dns-315L Firmware
CVE-2024-8133Same product: Dlink Dns-315L Firmware
CVE-2024-8210Same product: Dlink Dns-315L Firmware
CVE-2024-8132Same product: Dlink Dns-315L Firmware
CVE-2024-8129Same product: Dlink Dns-315L Firmware
CVE-2024-8214Same product: Dlink Dns-315L Firmware
CVE-2024-8131Same product: Dlink Dns-315L Firmware
CVE-2024-8213Same product: Dlink Dns-315L Firmware
CVE-2024-8134Same product: Dlink Dns-315L Firmware

Affected Assets

dlink
dns-315l firmware
all versions
dlink
dns-320lw firmware
all versions
dlink
dns-1550-04 firmware
all versions
dlink
dns-1200-05 firmware
all versions
dlink
dns-1100-4 firmware
all versions
dlink
dns-726-4 firmware
all versions
dlink
dns-345 firmware
all versions
dlink
dns-343 firmware
all versions
dlink
dns-340l firmware
all versions
dlink
dnr-326 firmware
all versions
+10 more product configuration(s) — see NVD for full list

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References