CVE-2021-21820 Hardcoded credentials in D-Link

Critical 10.0 Published Updated

Hard-coded credentials in the Libcli Test Environment allow remote attackers to execute arbitrary code on D-Link DIR-3040 routers.

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

CVE-2021-21820 is a critical vulnerability in D-Link, published on 16 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A hard-coded password vulnerability exists in the Libcli Test Environment functionality of D-LINK DIR-3040 1.13B03. A specially crafted network request can lead to code execution. An attacker can send a sequence of requests to trigger this vulnerability.

Weakness: CWE-798

Which versions are affected by CVE-2021-21820?

It affects 1 product.

Products include Dlink Dir-3040 Firmware.

How do I fix CVE-2021-21820?

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

Is CVE-2021-21820 being exploited?

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

Sources

Also known as GHSA-gmq9-r2m4-2qvg.

Is CVE-2021-21820 in your software?

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

Check your SBOMs for free