D-Link DNS-320L
D-Link DNS-320L/DNS-325/DNS-327L/DNS-340L HTTP GET Request nas_sharing.cgi command injection
Edge device · Router / network deviceknown edge product: D-Link DNS-320L D-Link DNS-320L/DNS-325/DNS-327L/DNS-340L HTTP GET Request (high confidence)
** UNSUPPORTED WHEN ASSIGNED ** A vulnerability, which was classified as critical, was found in D-Link DNS-320L, DNS-325, DNS-327L and DNS-340L up to 20240403. Affected is an unknown function of the file /cgi-bin/nas_sharing.cgi of the component HTTP GET Request Handler. The manipulation of the argument system leads to command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-259284. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed immediately that the product is end-of-life. It should be retired and replaced.
Timeline
Days relative to CVE publicationFirst public PoC 3.1 days after publication; added to CISA KEV 7 days after publication. First PoC: Chocapikk/CVE-2024-3273 (created 7 Apr 2024, found by us: backfilled).
PoC repositories
Found on GitHub.7 PoCs · 2 pending · 2 informational · 1 suspicious or fake
PoCs 7
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Chocapikk/CVE-2024-3273 | 7 Apr 2024 +3.1 d | 99 | PoC |
| adhikara13/CVE-2024-3273 | 7 Apr 2024 +3.6 d | 13 | PoC |
| yarienkiva/honeypot-dlink-CVE-2024-3273 | 7 Apr 2024 +3.8 d | 0 | PoC |
| Ap0dexMe0/CVE-2024-3273 | 10 Apr 2024 +6 d | 5 | PoC |
| ThatNotEasy/CVE-2024-3273 | 10 Apr 2024 +6 d | 5 | PoC |
| mrrobot0o/CVE-2024-3273- | 23 Apr 2024 +19 d | 0 | PoC |
| X-Projetion/CVE-2024-3273-D-Link-Remote-Code-Execution-RCE | 21 Sep 2024 +170 d | 0 | PoC |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| GSTEINF/CVE-2024-3273 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| K3ysTr0K3R/CVE-2024-3273-EXPLOIT | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| OIivr/Turvan6rkus-CVE-2024-3273 | 5 May 2024 +32 d | 0 | Informational · write-up |
| askhatov21/Best-Practices-Cybersecurity-Otanata-Project | 25 Apr 2026 +2.1 y | 0 | Informational · write-up |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| netsecfish/dlink | 26 Mar 2024 −8.5 d | 99 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: D-Link Network Attached Storage - Command Injection and Backdoor Account | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 7 PoC reposGET /cgi-bin/nas_sharing.cgi
- Query
user=messagebuspasswd=cmd=15system=- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 YaBrowser/19.6.1.153 Yowser/2.5 Safari/537.36- Seen in
- 3 repos: Ap0dexMe0/CVE-2024-3273, ThatNotEasy/CVE-2024-3273, adhikara13/CVE-2024-3273
- Evidence
- Ap0dexMe0/CVE-2024-3273/CVE-2024-3273.py:46 ThatNotEasy/CVE-2024-3273/CVE-2024-3273.py:46 adhikara13/CVE-2024-3273/main.py:34
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/cgi-bin/nas_sharing\.cgi\?(?:.*&)?user=messagebus.*passwd=.*cmd=15.*system=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-3273 D-Link DNS-320L exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cgi-bin/nas_sharing.cgi"; http.uri; content:"user=messagebus"; http.uri; content:"passwd="; http.uri; content:"cmd=15"; http.uri; content:"system="; reference:url,poc.griffinguard.io/cve/CVE-2024-3273; classtype:web-application-attack; sid:9510121; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: D-Link DNS-320L exploit attempt (CVE-2024-3273)
id: gg-pocmon-cve-2024-3273-9510121
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-3273. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-3273
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/cgi-bin/nas_sharing.cgi'
cs-uri-query|contains|all:
- 'user=messagebus'
- 'passwd='
- 'cmd=15'
- 'system='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2024.3273