Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid VigorSwitch admin credentials
-
DeliveryAuthenticate to web management interface over network
-
ExploitSubmit crafted POST to webBackupAction with oversized pathN/valueN/key/option fields
-
ExecutionTrigger stack buffer overflow via unbounded concatenation
-
ImpactCorrupt return address and execute arbitrary code or crash device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique 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 valid administrative credentials for the DrayTek VigorSwitch web management interface, as explicitly stated in the CVE description and confirmed by the CVSS 4.0 PR:H metric - unauthenticated attackers cannot reach the vulnerable webBackupAction function. The web management interface (HTTP or HTTPS) must be network-reachable from the attacker's position; by default, VigorSwitch models enable web management, making any device with the management interface exposed to an untrusted network segment (including the internet) vulnerable once credentials are obtained. No special non-default configuration of the backup function is required beyond administrative access. Exploitation is concretely limited by: (1) the mandatory administrative credential gate - credential compromise or insider access is a prerequisite; (2) network reachability to the management interface - devices behind firewall rules restricting management port access are shielded; and (3) absence of public exploit code at time of analysis, requiring an attacker to independently develop working shellcode for the target platform. |
| Impact | The CVSS 4.0 score of 8.6 reflects the high potential impact (VC:H/VI:H/VA:H) but must be contextualized by the PR:H requirement, which substantially narrows the realistic attack surface. An unauthenticated internet-facing attacker cannot exploit this directly - valid administrative credentials are an explicit prerequisite per the CVE description and are corroborated by the CVSS PR:H metric. This repositions the threat model: the primary risk is from compromised administrator accounts, credential stuffing against exposed management interfaces, or insider threats, rather than opportunistic remote exploitation. The AV:N/AC:L metrics confirm that once credentials are held, network delivery requires no special conditions and minimal complexity. No EPSS score was provided in the input data, but the credential gate makes automated mass scanning exploitation unlikely. The vulnerability is not listed in CISA KEV and no POC code has been identified, further reducing near-term exploitation probability. Organizations with VigorSwitch management interfaces exposed directly to untrusted networks face the greatest risk, as credential compromise combined with network reachability is the realistic exploitation path. The breadth of affected models (potentially ~30 across the VigorSwitch line) expands aggregate organizational exposure. |
| Exploit ScenarioDerived | An attacker who has obtained DrayTek VigorSwitch administrative credentials through phishing, credential stuffing against an internet-exposed management interface, or lateral movement from a compromised internal host authenticates to the web management portal and sends a crafted POST request to the webBackupAction endpoint with pathN, valueN, key, and option fields containing payloads sized to overflow the target stack buffers. Repeated concatenation without bounds checking corrupts the stack frame, potentially overwriting the return address and diverting execution to attacker-controlled code, or immediately crashing the device and causing a denial of service affecting all switch-dependent network segments. No public POC code exists at time of analysis, though the CWE-120 class is well-documented and exploit construction is feasible for a researcher with physical or authenticated access to an affected device. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Stack buffer overflow in DrayTek VigorSwitch's webBackupAction function enables authenticated administrators to trigger denial of service or arbitrary code execution by submitting crafted HTTP requests with excessively long pathN, valueN, key, and option parameters. Exploitation is gated behind valid administrative credentials (CVSS PR:H), limiting direct internet exposure but creating meaningful risk via compromised admin accounts or insider threats. No public exploit identified at time of analysis and no CISA KEV listing, though the CWE-120 root cause class is well-understood and device-accessible researchers could feasibly develop working exploits.
RemediationAI
Apply the firmware update referenced in the DrayTek security advisory at https://www.draytek.com/about/security-advisory/multiple-vulnerabilities-in-vigorswitch-series-august-2026/ - exact patched firmware version numbers were not available in the input data and must be obtained directly from this advisory. As an immediate compensating control, restrict access to the VigorSwitch web management interface (HTTP/HTTPS ports) to a dedicated management VLAN or specific trusted administrator IP addresses using upstream ACLs or firewall policy; this eliminates network reachability for potential attackers even if credentials are compromised, at the operational trade-off of requiring administrative jump-host access. If web management cannot be network-isolated, enforce strong unique per-device administrative passwords and audit all active admin sessions for unauthorized access. Disabling the web management interface entirely in favor of in-band CLI access (SSH/console) would fully eliminate the attack surface for this function, though this may reduce operational convenience for organizations relying on GUI-based management.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 28 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 vulnerability (CWE-120, Classic Buffer Overflow - Buffer Copy without Checking Size of Input) resides in the webBackupAction handler within DrayTek VigorSwitch firmware's web management component. The flaw arises from repeated string concatenation of attacker-controlled POST parameters (pathN, valueN, key, option) into fixed-size stack buffers without any cumulative length boundary check. On the embedded platforms typical of managed network switches (commonly MIPS or ARM architectures), this type of stack corruption can overwrite return addresses and function pointers, potentially redirecting execution to attacker-supplied code if stack protections such as canaries or NX bits are absent or bypassable. CPE data confirms at least 10 distinct VigorSwitch model lines are affected (G2540XS, P2540XS, FX2120, G2282X, P2282X, Q2300X, PQ2300XB, G2542X, P2542X, P2542XH), with VulnCheck tags identifying up to approximately 30 total affected models across the VigorSwitch product family, all listed as all-versions in CPE.
Know when Vigorswitch G2540Xs 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:N/SI:N/SA:N
Network-accessible web interface with no complexity barrier (AV:N/AC:L), but administrative credentials required (PR:H); full RCE potential justifies C:H/I:H/A:H with no scope change (S:U).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Multiple DrayTek VigorSwitch models contain a buffer overflow vulnerability in the webBackupAction function. The vulnerability is caused by repeated string concatenation of the pathN, valueN, key, and option fields into fixed-size stack buffers without total length checks. A remote attacker can trigger this vulnerability via crafted input, causing a denial of service or potentially executing arbitrary commands. Exploitation requires valid administrative credentials for the device's web management interface.
Executive ViewAI
DrayTek VigorSwitch contains a stack buffer overflow in its administrative backup function that enables denial of service or remote code execution for authenticated administrators, creating material risk to network infrastructure if admin credentials are compromised or credentials are held by insiders. Organizations operating these devices face meaningful threat from credential compromise scenarios, as no vendor patch is currently available to remediate the underlying vulnerability.
No vendor-released patch identified at time of analysis. Implement strict role-based access control limiting administrative capabilities to essential personnel only; restrict network access to DrayTek VigorSwitch management functions via firewall rules and IP whitelisting; enable comprehensive audit logging of all administrative sessions and authentication attempts; deploy network intrusion detection rules targeting malformed HTTP requests to the webBackupAction endpoint; consider temporary workflow adjustments to reduce reliance on remote administrative access to affected devices.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Vigorswitch G2540Xs
View allPre-authentication OS command injection in DrayTek VigorSwitch managed switches lets a remote, unauthenticated attacker
Command injection in DrayTek VigorSwitch's setDevNet function allows authenticated remote attackers to execute arbitrary
Command injection in DrayTek VigorSwitch's setTime function enables authenticated administrators to execute arbitrary OS
Command injection in multiple DrayTek VigorSwitch models enables authenticated administrators to execute arbitrary OS co
Command injection in multiple DrayTek VigorSwitch models' getDetail function enables authenticated remote attackers hold
Command injection in DrayTek VigorSwitch's getVid function allows an authenticated remote administrator to execute arbit
Command injection in multiple DrayTek VigorSwitch managed switch models allows an authenticated remote administrator to
Command injection in the DrayTek VigorSwitch `webBackupAction` function allows authenticated remote attackers to execute
Command injection in the DrayTek VigorSwitch series' pingtrace diagnostic function allows an authenticated administrator
Command injection in DrayTek VigorSwitch's jsonstatus function allows authenticated remote administrators to execute arb
Command injection in DrayTek VigorSwitch's tftp_upgrade function enables authenticated remote administrators to execute
Command injection via the commandTable function affects 28 DrayTek VigorSwitch managed switch models across multiple fir
EUVD-2026-64994
GHSA-hc7m-6wqp-3xx8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB