Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv web credentials
-
DeliveryReach /cgi-bin/mainfunction.cgi set_table
-
ExploitInject OS command via sectiontype
-
ExecutionExecute arbitrary commands on router
-
ImpactFull device compromise / network pivot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
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 authenticated access to the Vigor2960 web management interface with at least a low-privileged account (CVSS PR:L; the public PoC is explicitly an 'authenticated' case), plus network reachability to the HTTP(S) management service exposing /cgi-bin/mainfunction.cgi. The concrete trigger is manipulation of the 'sectiontype' argument passed to the set_table function, which reaches an OS shell unsanitized. Limiting factors that reduce real-world risk: valid credentials are mandatory (not anonymous/remote-unauthenticated), the management interface must be reachable by the attacker (internet-exposed admin panels greatly increase exposure; LAN-only reduces it), and the affected product is a single EoS firmware (Vigor2960 1.5.1.6 Rev 8218) that organizations are advised to replace rather than patch. |
| Impact | Multiple signals must be weighed carefully here. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) yields a base score of 8.6 (High) and indicates a network-reachable, low-complexity attack requiring low-level privileges (PR:L) - i.e. an authenticated attacker, not an anonymous remote one. A public POC exists (VulDB-referenced GitHub case DRV2960-0006), and the exploit code itself is explicitly labeled 'authenticated-set-table-command-injection', which corroborates the PR:L authentication requirement rather than contradicting it. Exploitation status is best characterized as 'publicly available exploit code exists' - there is NO CISA KEV listing and NO evidence of active in-the-wild exploitation, so this should not be treated as a confirmed exploited zero-day. No EPSS score was supplied in the input, so probabilistic exploitation likelihood cannot be quantified. The embedded SSVC-style signal E:P (Proof-of-Concept) is consistent with POC-only, not active attack. The most important risk-tempering fact is that this product is End-of-Service: the vendor states the Vigor2960 is EoS with only major (notably unauthenticated) issues reviewed, and 1.5.1.7 already addressed many issues - so an authenticated-only flaw on an EoS device is a real but bounded priority. Net assessment: a genuine high-severity, fully-exploitable issue for anyone running this legacy router with exposed management, but the authentication precondition and niche/retired product footprint make it targeted rather than mass-exploitable. The 8.6 is credible but reflects device-total compromise impact more than ease of access. |
| Exploit ScenarioDerived | An attacker who already possesses low-privileged credentials to the Vigor2960 web management interface (or obtains them via default/weak passwords or phishing) sends a crafted request to /cgi-bin/mainfunction.cgi invoking the set_table function with a malicious sectiontype argument. Because the parameter is passed unsanitized into a shell context (CWE-77), injected OS commands execute on the router, yielding full device control. A public proof-of-concept for this exact authenticated set_table command injection is available on GitHub, lowering the skill barrier to exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
Authenticated command injection in DrayTek Vigor2960 1.5.1.6 Revision 8218 lets a low-privileged user of the web management interface run arbitrary OS commands by manipulating the sectiontype argument to set_table in /cgi-bin/mainfunction.cgi. Publicly available exploit code exists, but the attack requires valid credentials and network reachability to the HTTP(S) management service. The vendor has placed the Vigor2960 on end-of-support with limited maintenance, so replacement or mitigation is more realistic than waiting for a dedicated fix.
RemediationAI
No vendor-released patch specifically for CVE-2026-113389 is identified at time of analysis, and DrayTek has declared the Vigor2960 end-of-support with limited support; the primary remediation is to replace the device or migrate to a supported model. If replacement is not immediately possible, update to 1.5.1.7 as the vendor says it corrected many security issues, while recognizing that DrayTek has not confirmed this CVE is fixed and the platform remains EoS. Reduce exposure by disabling HTTP/HTTPS management access from the WAN and restricting /cgi-bin/mainfunction.cgi to trusted LAN or VPN sources, accepting that this complicates remote administration and may require out-of-band access. Enforce strong, unique credentials and least-privilege accounts because the exploit is authenticated, and monitor web-management logs for suspicious sectiontype parameters or unexpected command execution; these controls lower risk but do not remove the underlying command-injection flaw. References: https://vuldb.com/vuln/422665 and the public PoC at https://github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0006-authenticated-set-table-command-injection.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-77 command-injection issue in the CGI processing component of the Vigor2960 web management interface. The set_table function in /cgi-bin/mainfunction.cgi takes the sectiontype argument and passes it toward an OS shell without adequate sanitization, so crafted input can append or alter shell commands. The CVSS 4.0 vector reports AV:N/AC:L/PR:L/UI:N with high confidentiality, integrity, and availability impact, meaning the attacker needs a low-privileged authenticated session but no user interaction; the independent CVSS 3.1 assessment matches that authenticated-remote profile. The public PoC is explicitly an authenticated case, and the CPE cpe:2.3:a:draytek:vigor2960:*:*:*:*:*:*:*:* reflects the broader Vigor2960 family even though the reported issue is tied to firmware 1.5.1.6 Revision 8218. Because the product is EoS, the practical risk depends heavily on whether the management interface is exposed beyond trusted networks and whether low-privileged accounts are broadly distributed.
Know when Vigor2960 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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-reachable CGI (AV:N) with low complexity (AC:L) but needing a valid low-priv account (PR:L); command injection grants full device control, so C/I/A:H.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in DrayTek Vigor2960 1.5.1.6 Revision 8218. Affected by this vulnerability is the function set_table of the file /cgi-bin/mainfunction.cgi of the component CGI Process. The manipulation of the argument sectiontype results in command injection. The attack may be launched remotely. The exploit is now public and may be used. The vendor explains: "2960 1.5.1.7 has corrected many security issues. And 2960 is EoS with limited support, only major issues would be reviewed(e.g. unauthenticated vuln.)". This vulnerability only affects products that are no longer supported by the maintainer.
Technical POC Analysis
CWE-77 (Improper Neutralization of Special Elements used in a Command / command injection), in the settable action handler of /cgi-bin/mainfunction.cgi (on-disk path www/cgi-bin/mainfunction.cgi) in…
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
A command injection flaw in the DrayTek Vigor2960 router firmware (version 1.5.1.6, Revision 8218) allows anyone holding valid web management credentials to execute arbitrary operating system commands on the device, and exploit code for this is already circulating publicly. Because the Vigor2960 sits at the network edge with limited vendor support and has been placed on end-of-support, any compromise could expose the internal network, VPN tunnels, and traffic passing through the device - affecting every user and site that depends on it. Leadership should care because remediation depends on our own replacement and access-control decisions rather than on a vendor fix, so the exposure will persist until the device is retired or tightly locked down.
No vendor patch is available and the platform is end-of-support. Interim mitigations: restrict the web management interface to a dedicated management VLAN or IP allowlist and remove any internet-facing exposure of HTTP(S) management; enforce least-privilege and MFA-capable administrative access with strong unique credentials and prompt rotation; monitor and alert on requests to /cgi-bin/mainfunction.cgi and unexpected set_table invocations; segment the device so that compromise does not grant lateral reach into production networks; and accelerate replacement with a supported platform.
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.
OS command injection in DrayTek Vigor2960 firmware 1.5.1.6 Revision 8218 allows authenticated, low-privilege attackers t
Authenticated command injection in DrayTek Vigor2960 1.5.1.6 Revision 8218 allows a low-privileged user with valid crede
Path traversal in DrayTek Vigor2960 1.5.1.6 Revision 8218 allows an authenticated low-privilege user to manipulate the s
Authenticated command injection in the IPsec certificate-handling path of DrayTek Vigor2960 routers running firmware 1.5
Authenticated path traversal in the End-of-Sale DrayTek Vigor2960 1.5.1.6 web management interface lets a low-privilege
Authenticated remote attackers can exploit an unrestricted file-upload flaw in DrayTek Vigor2960 firmware 1.5.1.6 Revisi
Authenticated path traversal in DrayTek Vigor2960 firmware 1.5.1.6 (Revision 8218) lets a user with a valid web-manageme
EUVD-2026-104968
GHSA-93hq-w565-c2gv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB