CVE-2021-46319 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on D-Link routers by bypassing input validation in SSID parameters using special characters.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-46319?

CVE-2021-46319 is a critical command injection vulnerability in n/a, published on 17 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2021-46319?

It affects 1 product.

Products include Dlink Dir-846 Firmware.

How do I fix CVE-2021-46319?

No fix has been published for CVE-2021-46319 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2021-46319 being exploited?

There is no known exploitation of CVE-2021-46319 in the wild and no public exploit code.

Sources

Also known as GHSA-mq76-pcfx-jm9r.

Is CVE-2021-46319 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free