SecurityContext

CVE-2021-46319: D-Link DIR-846 - Command Injection

  • Cve: CVE-2021-46319
  • Name: D-Link DIR-846 - Command Injection
  • Description: Remote Code Execution (RCE) vulnerability exists in D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin. Malicious users can use this vulnerability to use "\ " or backticks to bypass the shell metacharacters in the ssid0 or ssid1 parameters to execute arbitrary commands.This vulnerability is due to the fact that CVE-2019-17509 is not fully patched and can be bypassed by using line breaks or backticks on its basis.
  • Impact: Attackers can execute arbitrary commands on the router, potentially leading to full device compromise and network control.
  • Remediation: Update to the latest firmware version provided by D-Link that fully patches CVE-2019-17509.
  • 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.06573
  • Epss percentile: 0.93917
  • Assignee: [email protected]
  • Published at: 2022-02-17T22:15:07Z
  • Age in days: 1741
  • Modified at: 2026-06-17T04:14:43Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-46319
  • Nvd status: modified
  • 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-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.mdnvd2022-02-17

References

UrlSourceTags
https://www.dlink.com/en/security-bulletin/nvdVendor Advisory
https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.mdnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dlink:dir-846_firmware= 100a43, = 100a53dlayesnvd/v1/products/dlink/dir-846_firmware

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-02-17
  • Remote: yes
  • 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, exposed hosts