Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-41583 Overview
CVE-2024-41583 is a stored Cross-Site Scripting (XSS) vulnerability affecting DrayTek Vigor3910 routers running firmware through version 4.3.2.6. The flaw results from insufficient sanitization of the router name field in the device's web management interface. Authenticated users can inject malicious JavaScript that is stored on the device and executed in the browser of any user who subsequently views the affected page. The vulnerability is tracked under CWE-79 and was disclosed as part of Forescout's DRAYBREAK research into DrayTek edge devices.
Critical Impact
Authenticated attackers can store malicious scripts in the router name field, enabling session hijacking, credential theft, and administrative action forgery against other logged-in users.
Affected Products
- DrayTek Vigor3910 hardware appliance
- DrayTek Vigor3910 firmware versions through 4.3.2.6
- Deployments exposing the Vigor3910 web management interface to internal or external users
Discovery Timeline
- 2024-10-03 - CVE-2024-41583 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-41583
Vulnerability Analysis
The Vigor3910 web administration interface allows authenticated users to configure a router name used across multiple management pages. The device fails to apply output encoding or input validation when rendering this value, so HTML and JavaScript payloads supplied as the router name are stored and later executed in the context of the administrative interface. Because the injected script runs within the authenticated session of any viewer, it can perform configuration changes, exfiltrate session cookies, or pivot to other management functions. Exploitation requires an authenticated session and user interaction, which limits mass exploitation but remains relevant in multi-user administrative environments and in scenarios where credentials have been phished or reused.
Root Cause
The root cause is improper neutralization of input during web page generation ([CWE-79]). The router name parameter is written directly into HTML responses without contextual escaping, allowing <script> tags and event handlers to persist in device state and execute during normal administrative workflows.
Attack Vector
An authenticated attacker submits a crafted router name containing JavaScript through the device management interface. The payload is persisted in configuration and rendered on management pages viewed by other administrators. Once a privileged user loads an affected page, the script executes with that user's session privileges. Technical details are available in the Forescout DRAYBREAK research and the broader DrayTek 14 Vulnerabilities disclosure.
Detection Methods for CVE-2024-41583
Indicators of Compromise
- Router name values containing HTML tags, <script> elements, or JavaScript event handlers such as onerror= or onload=
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after loading the Vigor3910 management interface
- Unexplained configuration changes performed under legitimate administrator accounts
Detection Strategies
- Audit the current router name and any administrative display fields for non-alphanumeric content inconsistent with naming conventions
- Review web proxy and DNS logs for anomalous destinations originating from workstations that administer the Vigor3910
- Correlate administrator login events with subsequent configuration modifications to identify script-driven actions
Monitoring Recommendations
- Enable and centralize syslog from the Vigor3910 to capture configuration change events and administrative access
- Monitor browser telemetry on workstations used for router administration for execution of inline scripts loaded from the device management origin
- Alert on repeated or unusual edits to device identity fields such as the router name
How to Mitigate CVE-2024-41583
Immediate Actions Required
- Restrict access to the Vigor3910 web management interface to a dedicated management network or VPN
- Reset the router name to a safe alphanumeric value and remove any stored HTML or script content
- Rotate administrative credentials and review audit logs for unauthorized changes
Patch Information
DrayTek has published firmware updates addressing the DRAYBREAK findings. Administrators should upgrade Vigor3910 firmware beyond version 4.3.2.6 to the latest release available from DrayTek. Refer to the Forescout DRAYBREAK research for the complete fixed-version matrix and vendor advisory links.
Workarounds
- Limit the number of accounts with configuration privileges on the Vigor3910 and enforce least privilege
- Require multi-factor authentication for any administrator with access to the management interface
- Use a dedicated hardened browser profile for router administration to reduce the blast radius of stored XSS execution
# Configuration example
# Restrict management access to a management subnet (illustrative DrayOS CLI)
sys mngt restrict on
sys mngt subnet 10.10.0.0/24
sys name Vigor3910-Core
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

