Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-3273: Remote Command Injection in D-Link ShareCenter NAS Devices

Published Apr 4, 2024 · Updated 24 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS99.0%100th percentile
CISA KEVYesAdded Apr 11, 2024
In the wildActivePer CISA KEV
Vendor
D-Link
IdentifiersCVE-2024-3273CWE-77 · Improper Neutralization of Special…

CVE-2024-3273 is a command injection vulnerability in the NAS sharing CGI HTTP GET handler of D-Link DNS-320L, DNS-325, DNS-327L, and DNS-340L devices, with an affected-version cutoff of April 3, 2024. Insecure handling of the system parameter allows remote attackers to inject arbitrary operating-system commands. Chaining this flaw with the hard-coded credentials vulnerability CVE-2024-3272 permits exploitation without legitimate credentials. Public exploits and active exploitation are documented, and the vulnerability is included in CISA's Known Exploited Vulnerabilities catalog. The affected products are end-of-life and will not receive security fixes.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise the confidentiality, integrity, and availability of the NAS, enabling sensitive-data theft, configuration changes, malicious software installation, and service disruption. A published exploit demonstration achieved root execution. Observed campaigns have used the vulnerability together with CVE-2024-3272 to install unauthorized residential proxy software, monetizing victims' bandwidth and exposing their connections to blocklisting or association with unlawful activity. Compromised devices can also provide a foothold into connected networks.

Mitigation

If you can’t patch tonight, do this now.

Until retirement, remove public internet exposure and restrict HTTP management access to explicitly authorized administrative hosts using firewall rules. Isolate affected NAS devices in a separate network segment with limited access to critical systems, disable unnecessary services, and monitor for exploitation attempts, unexpected outbound proxy traffic, and unauthorized configuration or authentication changes. These controls reduce exposure but do not correct the vulnerability.

Remediation

Patch, then assume compromise.

Retire and replace affected NAS devices with supported products that receive security updates. No vendor patch is available because firmware development and support have ended. Investigate exposed devices for existing compromise, including unauthorized proxy software and attacker-added SSH authentication keys; replacing the vulnerable device does not by itself eliminate access established elsewhere.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2024-3273This repository contains a Python-based exploit tool targeting CVE-2024-3273, a command injection vulnerability in several D-Link NAS devices (DNS-320L, DNS-325, DNS-327L, DNS-340L) running specific, end-of-life firmware versions. The main file, exploit.py, provides both single-target and mass-scanning capabilities. It sends a specially crafted HTTP GET request to the /cgi-bin/nas_sharing.cgi endpoint on the target device, exploiting the vulnerability to execute arbitrary shell commands as root. If a single target is specified and found vulnerable, the tool opens an interactive shell for further command execution. The tool supports multi-threaded scanning and can output results to a file. The repository includes a README with detailed usage instructions and a requirements.txt listing necessary Python dependencies. The exploit is operational, providing real command execution and shell access, and is not part of a larger exploitation framework.Chocapikk · Disclosed Apr 7, 2024 · python · networkOperationalCVE-2024-3273-EXPLOITThis repository contains a Python proof-of-concept exploit for CVE-2024-3273, a remote command injection vulnerability affecting several D-Link NAS devices (DNS-320L, DNS-325, DNS-327L, DNS-340L) up to firmware dated 20240403. The main exploit file, 'CVE-2024-3273.py', allows an attacker to test for vulnerability and, if successful, obtain an interactive shell for arbitrary command execution on the target device. The exploit works by sending a specially crafted HTTP GET request to the '/cgi-bin/nas_sharing.cgi' endpoint, injecting commands via the 'system' parameter. The repository also includes a README.md with vulnerability details and a requirements.txt listing Python dependencies. The exploit supports both single-target and multi-target (file-based) scanning, and uses multithreading for efficient scanning. The payload is a base64-encoded shell command executed on the target. This is a functional PoC exploit, not a detection script, and provides real remote code execution capabilities.K3ysTr0K3R · Disclosed Apr 9, 2024 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
D-LinkDnr-202l Firmwareoperating_system
D-LinkDnr-322l Firmwareoperating_system
D-LinkDnr-326 Firmwareoperating_system
D-LinkDns-1100-4 Firmwareoperating_system
D-LinkDns-120 Firmwareoperating_system
D-LinkDns-1200-05 Firmwareoperating_system
D-LinkDns-1550-04 Firmwareoperating_system
D-LinkDns-315l Firmwareoperating_system
D-LinkDns-320 Firmwareoperating_system
D-LinkDns-320l Firmwareoperating_system
D-LinkDns-320lw Firmwareoperating_system
D-LinkDns-321 Firmwareoperating_system
D-LinkDns-323 Firmwareoperating_system
D-LinkDns-325 Firmwareoperating_system
D-LinkDns-326 Firmwareoperating_system
D-LinkDns-327l Firmwareapplication
D-LinkDns-340l Firmwareoperating_system
D-LinkDns-343 Firmwareoperating_system
D-LinkDns-345 Firmwareoperating_system
D-LinkDns-726-4 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2024-3273 exploited in the wild?
Yes. As of Nov 4, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 11, 2024.
Is there a public exploit for CVE-2024-3273?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2024-3273, the earliest disclosed Apr 7, 2024.
Is there a patch for CVE-2024-3273?
Retire and replace affected NAS devices with supported products that receive security updates. No vendor patch is available because firmware development and support have ended.
What products are affected by CVE-2024-3273?
D-Link Dnr-202l Firmware, D-Link Dnr-322l Firmware, D-Link Dnr-326 Firmware, D-Link Dns-1100-4 Firmware, D-Link Dns-1200-05 Firmware, and at least 15 more.
How severe is CVE-2024-3273?
CVE-2024-3273 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.0% (100th percentile) as of Nov 4, 2026.
Activity feed

Recent activity

18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
xakepNews · Oct 20, 2026Хакеры взламывают устройства D-Link и Ubiquiti, чтобы превратить их в прокси - ХакерA known vulnerability in D-Link ShareCenter NAS exploited in the unauthorized Pawns.app installation campaign. Compromised connections were used as residential proxies to generate revenue for the attackers. The technical mechanism is not specified.Read more ↗scworldNews · Oct 16, 2026Proxyjacking campaign exploits vulnerabilities to monetize internet connections | brief | SC MediaA vulnerability in D-Link ShareCenter NAS exploited in a proxyjacking campaign that installed the legitimate bandwidth-sharing application Pawns.app on compromised devices. The content does not describe the vulnerability's technical mechanism.Read more ↗cyber security newsNews · Oct 16, 2026Hackers Exploit D-Link, Ubiquiti and SAP Flaws to Hijack Devices for Proxy NetworksA vulnerability in D-Link ShareCenter NAS devices exploited by skynox7 in a proxyjacking campaign that installed Pawns.app without device owners' consent. The article discusses D-Link NAS command-injection issues collectively but does not provide a separate technical explanation for this CVE. Recommended mitigations include restricting management or vulnerable services and removing unnecessary internet exposure.Read more ↗bleeping computerNews · Oct 15, 2026Hackers hijack D-Link, Ubiquiti devices to resell your stolen bandwidthA vulnerability in D-Link ShareCenter NAS devices exploited in the reported proxyjacking campaign. Compromised systems were enrolled in a commercial residential proxy network through unauthorized installation of Pawns.app. The article does not describe the vulnerability’s technical mechanism.Read more ↗
+11 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.