LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2019-16057: D-Link DNS-320 Remote Code Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Apr 15, 2022
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
May 6, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2019-16057 to its Known Exploited Vulnerabilities catalog on Apr 15, 2022, with a federal patch deadline of May 6, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

The login_mgr.cgi script in D-Link DNS-320 is vulnerable to remote code execution.

CVE-2019-16057 is a remote code execution vulnerability in the D-Link DNS-320 storage device. It affects the login_mgr.cgi script and allows an attacker to run commands on the device. Because this product class often sits on internal networks with access to shared files, successful abuse can lead to data theft, lateral movement, or ransomware. CISA notes known ransomware use and states the product is end-of-life; organizations still running it should treat exposure as high priority and confirm all details against the vendor advisory.

How it works

The weakness is CWE-78, OS command injection. In this class of flaw, user-controlled input reaches a system command without proper sanitization or parameterization. On the D-Link DNS-320, the login_mgr.cgi script is the reported entry point. An unauthenticated or lightly authenticated remote attacker can supply crafted input that the device interprets as operating-system commands, giving the attacker the ability to execute code with the privileges of the vulnerable process.

Exact request format, parameters, and preconditions are not detailed in the provided facts; defenders must treat any internet- or network-reachable DNS-320 as potentially exploitable and verify behavior against the vendor advisory. Once code execution is obtained, an attacker can install persistence, exfiltrate data from attached storage, or deploy ransomware—activity already associated with this CVE.

Am I affected? How to find it in your systems

The affected product is the D-Link DNS-320 network-attached storage device. These units commonly appear in small offices, branch locations, and home-lab or departmental file-sharing setups. They are often left on internal subnets with little ongoing patching once deployed.

How to remediate

CISA’s required action is unambiguous: the impacted product is end-of-life and should be disconnected if still in use. There is no expectation of a continuing vendor patch stream for an EOL device. Replace the unit with a supported storage platform, migrate data, and decommission the DNS-320.

If a temporary maintenance window is required before removal, apply any final vendor-supplied update that addresses CVE-2019-16057—confirm the exact fixed build in the official advisory—then immediately proceed with isolation and replacement. After removal, revoke any credentials or certificates that resided on the device and rotate secrets that may have been stored on its shares.

If you can't patch immediately

Because the product is end-of-life, “can’t patch” is the expected state; compensating controls must bridge only until disconnection.

These steps reduce but do not eliminate risk; plan forced disconnection on a short timeline.

If your data may have been exposed

Actively exploited vulnerabilities, especially those with documented ransomware use, frequently precede data theft or encryption events. If the DNS-320 held sensitive shares or credentials, assume possible compromise: isolate the device, preserve logs and disk images for forensics, notify internal incident response, and evaluate notification obligations. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether related accounts have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedD-Link · DNS-320 Storage Device
WeaknessCWE-78
Added to CISA KEVApr 15, 2022
Federal patch deadlineMay 6, 2022
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities