Skip to main content

D-Link DNS-320 CVE-2026-16331

| EUVDEUVD-2026-46138 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-07-21 VulDB GHSA-hfvv-f4x9-469c
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-exposed DNS-320 management interface
  2. Delivery
    Send unauthenticated HTTP POST to /web/function/save_ajax.php
  3. Exploit
    Upload PHP webshell via unrestricted file upload
  4. Execution
    Request uploaded webshell URL to trigger execution
  5. Impact
    Execute arbitrary OS commands as web server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions are required beyond network reachability of the device's web management interface - the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote, unauthenticated exploitation against the default configuration of D-Link DNS-320 firmware 1.0.2. No specific feature flag, non-default setting, or privileged account is required; the vulnerable endpoint /web/function/save_ajax.php is part of the standard management interface. The primary limiting factor is network exposure: devices not accessible from the attacker's network (e.g., behind NAT with no port forwarding, or firewall-restricted management ports) cannot be directly targeted. Authentication requirements are not confirmed from description text alone, but the CVSS 4.0 PR:N metric indicates no credentials are needed.

Impact

The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms remote, unauthenticated exploitation with no attack complexity - the highest-risk access profile possible. However, the base impact metrics (VC:L/VI:L/VA:L) appear to underestimate real-world consequences: unrestricted PHP file upload on a web server almost universally enables webshell deployment and full remote code execution, which would justify higher impact ratings. This discrepancy should be noted by defenders - the 6.9 CVSS 4.0 score likely underrepresents actual blast radius. The E:P supplemental metric confirms public proof-of-concept availability, further elevating practical exploitability. No CISA KEV listing exists at time of analysis, so widespread active exploitation is not confirmed, but POC availability combined with a no-authentication, no-complexity attack vector makes opportunistic exploitation plausible. Critically, the DNS-320 is end-of-life, meaning no vendor patch will be issued - residual risk is permanent for unmitigated deployments.

Exploit ScenarioDerived

An attacker scans for internet-exposed D-Link DNS-320 devices, then sends a crafted unauthenticated HTTP POST to /web/function/save_ajax.php with a PHP webshell as the uploaded file, exploiting the absent file-type validation. The server stores the file in a web-accessible location; the attacker retrieves it via HTTP to trigger server-side execution, yielding persistent remote code execution on the NAS. A public proof-of-concept has been disclosed, making this accessible to low-skilled attackers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

Unrestricted file upload in D-Link DNS-320 firmware 1.0.2 allows remote unauthenticated attackers to upload arbitrary files - including executable PHP webshells - via the /web/function/save_ajax.php endpoint by manipulating the handler argument. This effectively enables persistent remote code execution on an end-of-life NAS device for which no vendor patch is expected. A public proof-of-concept exploit has been disclosed, lowering the skill barrier for exploitation; however, no CISA KEV listing was identified at time of analysis.

RemediationAI

No vendor-released patch has been identified for this vulnerability, consistent with the DNS-320's end-of-life status. The primary remediation is to decommission and replace the device with a currently supported NAS solution. If immediate replacement is not feasible, the device's web management interface (HTTP/HTTPS) must be isolated from all untrusted networks via firewall rules - this is the most effective compensating control, as it removes remote reachability entirely. Additionally, network-level access controls should restrict access to port 80/443 on the device to specific trusted management IPs only. Blocking the specific path /web/function/save_ajax.php via a web application firewall or reverse proxy can add a further layer if the device sits behind one, though this is not a substitute for network isolation. Note that none of these controls fix the underlying flaw - they only reduce attack surface. VulDB details are available at https://vuldb.com/vuln/380697.

Affected VersionsENISA

DNS-320 1.0.2

Affected Packages

euvd dns_320 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The D-Link DNS-320 is a consumer/SMB Network Attached Storage device with a PHP-based web management interface. The vulnerable endpoint /web/function/save_ajax.php is responsible for AJAX-driven save operations but fails to validate or restrict uploaded file types, falling squarely into CWE-434 (Unrestricted Upload of File with Dangerous Type). Because the web management interface is PHP-driven, an uploaded PHP file placed in a web-accessible directory can be directly executed by the server process, transforming an upload flaw into remote code execution. The CPE string cpe:2.3:a:d-link:dns-320:*:*:*:*:*:*:*:* uses a wildcard version field, suggesting the vendor has not scoped the vulnerability to a specific firmware branch - version 1.0.2 is the confirmed affected release per the VulDB report.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 10.0 CRITICAL

Unrestricted PHP file upload enables webshell deployment and full RCE; unauthenticated network access with scope change justifies S:C and high C/I/A.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 21, 2026 - 01:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Jul 21, 2026 - 00:45 cve.org
MEDIUM 6.9

DescriptionCVE.org

A security vulnerability has been detected in D-Link DNS-320 1.0.2. This affects an unknown function of the file /web/function/save_ajax.php. Such manipulation of the argument Malicious Handler leads to unrestricted upload. The attack can be executed remotely. The exploit has been disclosed publicly and may be used.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Low
legacy end-of-life consumer NAS, limited current enterprise footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Related Vulnerabilities in D-Link DNS-320 Unrestricted File Upload Flaws

View all 4

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy