CVE-2021-45998 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on D-Link DIR-882 routers via a crafted HNAP1 POST request targeting the LocalIPAddress parameter.

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-45998?

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

Official description

D-Link device DIR_882 DIR_882_FW1.30B06_Hotfix_02 was discovered to contain a command injection vulnerability in the LocalIPAddress parameter. This vulnerability allows attackers to execute arbitrary commands via a crafted HNAP1 POST request.

Weakness: CWE-77

Which versions are affected by CVE-2021-45998?

It affects 1 product.

Products include Dlink Dir-882 Firmware.

How do I fix CVE-2021-45998?

No fix has been published for CVE-2021-45998 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-45998 being exploited?

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

Sources

Also known as GHSA-4qm7-pr27-68gm.

Is CVE-2021-45998 in your software?

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

Check your SBOMs for free