LiveActive security incident?Get immediate response
CVE Record

CVE-2021-46315: Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router D...

Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin. Malicoius users can use this vulnerability to use "\ " or backticks in the shell metacharacters in the ssid0 or ssid1 parameters to cause arbitrary command execution. Since CVE-2019-17510 vulnerability has not been patched and improved www/hnap1/control/setwizardconfig.php, can also use line breaks and backquotes to bypass.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This CVE describes remote command execution in a D-Link DIR-846 router configuration endpoint. If an attacker can reach the vulnerable management path, crafted wireless SSID input may make the router run unintended operating-system commands. That can turn a network edge device into a foothold for traffic interception, persistence, or further internal movement.

Executive priority

Prioritize internet-facing or remotely managed DIR-846 routers. Router RCE can compromise the network edge, but the urgency depends on exposure and firmware confirmation. If unsupported or externally reachable devices are found, remediation should be handled as a near-term infrastructure risk.

Technical view

The issue is reported in HNAP1/control/SetWizardConfig.php for D-Link DIR-846 firmware images DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin. The ssid0 and ssid1 parameters are described as insufficiently sanitized, allowing shell metacharacter-based command injection. The CVE description also states CVE-2019-17510 was not fully patched in related code.

Likely exposure

Most likely exposure is D-Link DIR-846 devices running the named firmware images, especially where router administration or HNAP endpoints are reachable from untrusted networks. The CVE affected-product metadata is incomplete, so asset validation should rely on model and firmware evidence, not the generic affected table.

Exploitation context

The source bundle includes a public GitHub write-up reference and describes arbitrary command execution conditions. CISA KEV status is false, and the provided sources do not state active exploitation in the wild. Treat exploitability as plausible where vulnerable devices are reachable, but do not assume active campaigns from this evidence alone.

Researcher notes

Evidence is limited but specific: the CVE description names the vulnerable path, parameters, and firmware images. The structured affected-product fields are unhelpful. No CVSS, CWE, fixed version, or confirmed exploitation is provided in the bundle, so validation should focus on firmware identification and management-plane exposure.

Mitigation direction

  • Check D-Link security guidance for fixed firmware or lifecycle status.
  • Upgrade affected DIR-846 devices if vendor-approved firmware is available.
  • Block external access to router administration and HNAP interfaces.
  • Limit management access to trusted internal networks or VPNs.
  • Replace devices if no supported fixed firmware is available.

Validation and detection

  • Inventory D-Link DIR-846 routers and record exact firmware versions.
  • Check for the named firmware images in fleet records.
  • Confirm management and HNAP endpoints are not internet-exposed.
  • Review router logs for unexpected configuration changes or reboots.
  • Track D-Link advisories for model-specific remediation details.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-46315 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.