Unauthenticated CGI access via hard-coded credentials
Published Apr 4, 2024 · Updated Oct 21, 2025
Hard-coded credentials in all revisions of D-Link DNS-320L, DNS-325, DNS-327L, and DNS-340L allow remote attackers to bypass CGI authentication. The /cgi-bin/nas_sharing.cgi handler accepts user=messagebus with an empty passwd value as valid credentials instead of verifying a device-specific secret. Unauthenticated network access reaches the embedded account; paired with the separate command-injection flaw, it enables unauthorized code execution.
Summary
What happened
Hard-coded credentials in all revisions of D-Link DNS-320L, DNS-325, DNS-327L, and DNS-340L allow remote attackers to bypass CGI authentication. The /cgi-bin/nas_sharing.cgi handler accepts user=messagebus with an empty passwd value as valid credentials instead of verifying a device-specific secret. Unauthenticated network access reaches the embedded account; paired with the separate command-injection flaw, it enables unauthorized code execution.
The record
- CVE
- CVE-2024-3272
- Published
- Apr 4, 2024
- Updated
- Oct 21, 2025
- Vendor
- D-Link
- Product
- DNS-325
- Classifications
- CWE-798, T1078.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 4, 2024CVE publishedPublication date reported by the CVE source.
- 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?
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.
Public exploit references
- netsecfish D-Link NAS disclosure and request exampleproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities entry for CVE-2024-3272known 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