Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain privileged management credentials
-
DeliveryReach copyfile web handler remotely
-
ExploitInject shell metacharacters via http_src_file
-
ExecutionTrigger OS command execution on switch
-
ImpactFull device compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires privileged/authenticated access (CVSS PR:H) to the web management interface of a D-Link DMS-3130 or DXS-3130 running firmware 1.20.P006, after which the attacker manipulates the http_src_file argument processed by application/webroot/lua/DataStore/369_copyfile.lua to inject OS commands. Limiting factors: the PR:H requirement means an unauthenticated outsider cannot trigger it directly; the issue is confined to the specific 1.20.P006 firmware on these two switch models; no special non-default configuration is noted in the sources, but the privilege prerequisite is the primary constraint on realistic exploitation. The exact mechanism by which http_src_file reaches a shell is not further detailed in the available sources. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) scores 8.5 and describes a network-reachable, low-complexity OS command injection (CWE-78) that nonetheless requires high privileges (PR:H) to reach the vulnerable handler. This PR:H qualifier is the single most important risk-limiting signal: an attacker must already hold privileged/administrative access to the device's management interface before the injection in 369_copyfile.lua is reachable, which substantially narrows the realistic threat to insiders, credential-compromise follow-on, or chained attacks rather than opportunistic unauthenticated takeover. On exploitation signals the picture is mixed and mostly weak: this is NOT on CISA KEV, no EPSS score is provided, and the only exploit artifact is a GitHub reference flagged as 'reference only, not verified as working exploit code' - so a public PoC reference exists but it is not verified as working exploit code. The vuln.today decision label is 'this_week', i.e. a near-term-but-not-emergency priority, consistent with a privilege-gated flaw on specialized hardware rather than a wormable internet-facing bug. No SSVC automatable/technical-impact fields were supplied. Net: this is a genuine high-severity post-authentication device-compromise issue worth patching promptly, but the PR:H requirement and unverified PoC argue against treating it as an active, widespread emergency. |
| Exploit ScenarioDerived | An attacker who already holds privileged credentials on the D-Link DMS-3130/DXS-3130 management interface submits a crafted value for the http_src_file argument handled by application/webroot/lua/DataStore/369_copyfile.lua, where the input is passed into a shell context without sanitization, yielding arbitrary OS command execution on the switch. Because the CVSS vector is AV:N/AC:L, the request can be delivered remotely over the network with low complexity once authenticated. A public PoC reference exists on GitHub, but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 30, 2026
D-Link DMS-3130 and DXS-3130 firmware 1.20.P006 contain an OS command injection in the web management interface's Lua-based file-copy handler, where manipulation of the http_src_file argument can lead to arbitrary command execution. The issue is network-reachable and scored 8.5, but exploitation requires high-privilege access (PR:H), so an unauthenticated outsider cannot trigger it directly. A public PoC reference exists but is not verified as working exploit code, and no confirmed active exploitation or vendor patch is identified in the supplied sources.
Earlier versions of this analysis (1)
OS command injection in D-Link DMS-3130 and DXS-3130 switches running firmware 1.20.P006 allows an attacker who already holds administrator-level credentials on the device to execute arbitrary operating-system commands through the web management interface by manipulating the http_src_file argument handled by application/webroot/lua/DataStore/369_copyfile.lua. The flaw is rated 9.4 under CVSS 4.0 and 8.8-equivalent impact under the assessed CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H), with full loss of confidentiality, integrity and availability on the device; exploitation requires high-privileged authentication (PR:H), so it is not a remote-unauthenticated flaw, and the practical exposure depends heavily on whether the management interface is reachable from untrusted networks. A public PoC reference exists (a GitHub repository linked from the VulDB entry); it is not verified as working exploit code, and there is no KEV confirmation of active exploitation, though the vuln.today decision label is act_now given the severity and public proof-of-concept material.
RemediationAI
No vendor-released patch or fixed firmware version is identified in the supplied sources. Consult D-Link at https://www.dlink.com/ and the VulDB entry at https://vuldb.com/vuln/445159 for updated firmware or advisory guidance. Until a fix is confirmed, restrict access to the web management interface to trusted administrative networks and accounts, since the vulnerability requires PR:H privileges; this lowers exposure but does not remediate the command-injection flaw. No specific feature-disable or configuration workaround is confirmed in the available data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is application/webroot/lua/DataStore/369_copyfile.lua in D-Link DMS-3130 and DXS-3130 firmware 1.20.P006. CWE-78 describes the root cause class: user-controlled input (http_src_file) reaches an OS command execution context without adequate neutralization. CPE records list cpe:2.3:a:d-link:dms-3130:*:*:*:*:*:*:*:* and cpe:2.3:a:d-link:dxs-3130:*:*:*:*:*:*:*:*, while ENISA EUVD narrows affected versions to 1.20.P006. The supplied CVSS 4.0 vector scores 8.5 with PR:H; the independent CVSS 3.1 assessment (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) likewise requires high privileges. The sources do not describe the exact Lua-to-shell path, quoting, or sanitization failure that permits injection; they identify only the file and the http_src_file argument.
Know when Dms 3130 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-reachable (AV:N), low-complexity (AC:L) injection gated behind privileged management access (PR:H); command execution on the device yields full confidentiality, integrity, and availability loss.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in D-Link DMS-3130 and DXS-3130 1.20.P006. Affected is an unknown function of the file application/webroot/lua/DataStore/369_copyfile.lua. The manipulation of the argument http_src_file results in os command injection. The attack may be performed from remote. The exploit has been made public and could be used.
Technical POC Analysis
Evidence quality caveat up front: the only supplied source is a GitHub repository (jiangnandiyishenqin/D-link-DMSDXS-3130) containing a single commit with one artifact, DMS-DXS3130.zip.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
D-Link DMS-3130 and DXS-3130 switches (firmware 1.20.P006) contain a high-severity command injection flaw that could let an authenticated, high-privilege user execute arbitrary commands on the device. While exploitation requires valid credentials, a successful attack could disrupt network operations or provide a foothold for lateral movement, affecting the integrity and availability of critical network infrastructure. Leadership should prioritize patching and credential hygiene to mitigate this risk.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict web management access to trusted IP ranges, enforce strong authentication and least privilege for administrative users, monitor for suspicious command execution, and segment affected devices from critical network segments.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-137935
GHSA-98mm-5hj4-2jxp
NVD
CVE.org
EPSS
VulDB
Exploit-DB