CVE-2019-16920 D-Link Multiple Routers Command Injection

Exploited in the wild Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary commands via the PingTest interface, leading to full system compromise on affected D-Link routers.

Exploited in the wild
Since 25 Mar 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-16920?

CVE-2019-16920 is a critical command injection vulnerability in n/a, published on 27 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Unauthenticated remote code execution occurs in D-Link products such as DIR-655C, DIR-866L, DIR-652, and DHP-1565. The issue occurs when the attacker sends an arbitrary input to a "PingTest" device common gateway interface that could lead to common injection. An attacker who successfully triggers the command injection could achieve full system compromise. Later, it was independently found that these are also affected: DIR-855L, DAP-1533, DIR-862L, DIR-615, DIR-835, and DIR-825.

Weakness: CWE-78

Which versions are affected by CVE-2019-16920?

It affects 10 products.

Products include Dlink Dap-1533 Firmware, Dlink Dhp-1565 Firmware, Dlink Dir-615 Firmware, Dlink Dir-652 Firmware, Dlink Dir-655 Firmware, Dlink Dir-825 Firmware and 4 more.

How do I fix CVE-2019-16920?

No fix has been published for CVE-2019-16920 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 15 Apr 2022.

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

Is CVE-2019-16920 being exploited?

Yes. Attackers have exploited CVE-2019-16920 in the wild since at least 25 Mar 2022.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5p5j-jvxx-68mp.

Is CVE-2019-16920 in your software?

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

Check your SBOMs for free