Unauthenticated command execution via encoded system parameter
Published Apr 4, 2024 · Updated Oct 21, 2025
Command injection in nas_sharing.cgi on D-Link DNS-320L, DNS-325, DNS-327L, and DNS-340L allows remote attackers to execute commands. The CGI handler accepts a Base64-encoded command in the system query parameter and executes the decoded text without neutralizing command elements. A crafted HTTP GET request requires no authentication and can read or alter stored data, change device configuration, or interrupt NAS service.
Summary
What happened
Command injection in nas_sharing.cgi on D-Link DNS-320L, DNS-325, DNS-327L, and DNS-340L allows remote attackers to execute commands. The CGI handler accepts a Base64-encoded command in the system query parameter and executes the decoded text without neutralizing command elements. A crafted HTTP GET request requires no authentication and can read or alter stored data, change device configuration, or interrupt NAS service.
The record
- CVE
- CVE-2024-3273
- Published
- Apr 4, 2024
- Updated
- Oct 21, 2025
- Vendor
- D-Link
- Product
- DNS-325
- Classifications
- CWE-77, T1190, T1059
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 4, 2024CVE publishedPublication date reported by the CVE source.
- Apr 11, 2024Exploitation reportedCISA Known Exploited Vulnerabilities Catalog entry
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=20240403
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | 7 |
| Sep 11, 2026 | 1 |
| Sep 12, 2026 | 1 |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 1 |
| Sep 15, 2026 | 1 |
| Sep 16, 2026 | 4 |
Weakness, pattern, technique
Public exploit references
- netsecfish D-Link nas_sharing.cgi request proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities Catalog entryknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo