SecurityContext

CVE-2024-8214: D-Link - Command Injection

  • Cve: CVE-2024-8214
  • Name: D-Link - Command Injection
  • Description: A vulnerability classified as critical 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. Affected by this vulnerability is the function cgi_FMT_Std2R5_2nd_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. The attack can be launched 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.
  • Impact: Remote attackers can execute arbitrary commands on affected devices, potentially leading to full system compromise.
  • Remediation: Since the products are end-of-life, replace with supported devices and discontinue use.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.05185
  • Epss percentile: 0.92666
  • Assignee: [email protected]
  • Published at: 2024-08-27T20:15:09Z
  • Age in days: 819
  • Modified at: 2026-06-17T08:22:07Z
  • Public exploits total: 1
  • References total: 6
  • Products total: 20
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8214
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-77Improper Neutralization of Special Elements used in a Command
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/BuaaIOTTeam/Iot_Dlink_NAS/blob/main/DNS_cgi_FMT_Std2R5_2nd_DiskMGR.mdnvd2024-08-27

References

Same in every row:

  • Source: nvd
UrlTags
https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10383Vendor Advisory
https://github.com/BuaaIOTTeam/Iot_Dlink_NAS/blob/main/DNS_cgi_FMT_Std2R5_2nd_DiskMGR.mdExploit, Third Party Advisory
https://vuldb.com/?id.275923Third Party Advisory
https://vuldb.com/?submit.397278Issue Tracking
https://vuldb.com/?ctiid.275923Permissions Required
https://www.dlink.com/Product

Products

Same in every row:

  • Affected: all versions
  • Platform bound: yes
  • Sources: nvd
ProductUrl
dlink:dns-320_firmware/v1/products/dlink/dns-320_firmware
dlink:dns-320lw_firmware/v1/products/dlink/dns-320lw_firmware
dlink:dns-325_firmware/v1/products/dlink/dns-325_firmware
dlink:dns-340l_firmware/v1/products/dlink/dns-340l_firmware
dlink:dns-343_firmware/v1/products/dlink/dns-343_firmware
dlink:dnr-202l_firmware/v1/products/dlink/dnr-202l_firmware
dlink:dnr-326_firmware/v1/products/dlink/dnr-326_firmware
dlink:dns-1100-4_firmware/v1/products/dlink/dns-1100-4_firmware
dlink:dns-1200-05_firmware/v1/products/dlink/dns-1200-05_firmware
dlink:dns-120_firmware/v1/products/dlink/dns-120_firmware

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-08-27
  • Remote: yes
  • Exposed hosts: 744
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports