Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-51301: n/a

0
High
VulnerabilityCVE-2024-51301cvecve-2024-51301
Published: Wed Oct 30 2024 (10/30/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the packet_monitor function.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 02:54:11 UTC

Technical Analysis

CVE-2024-51301 is a command injection vulnerability identified in the Draytek Vigor3900 router firmware version 1.5.1.3. The vulnerability exists in the mainfunction.cgi web interface, specifically within the packet_monitor function, which improperly sanitizes user input. This flaw allows an attacker with low privileges (PR:L) to inject arbitrary commands that the system executes with the privileges of the web server process. The attack vector is network-based (AV:N), requiring no user interaction (UI:N), and the vulnerability affects confidentiality, integrity, and availability (C:H/I:H/A:H). The vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command). Exploitation could lead to full system compromise, including unauthorized data access, modification, or denial of service. Although no public exploits have been reported yet, the vulnerability's characteristics suggest it could be weaponized quickly. The lack of available patches at the time of publication increases the urgency for interim mitigations. The vulnerability's scope is limited to devices running the affected firmware, but given the critical nature of network infrastructure devices, the impact is substantial.

Potential Impact

Successful exploitation of CVE-2024-51301 can lead to complete compromise of affected Draytek Vigor3900 routers. Attackers could execute arbitrary commands, potentially gaining control over network traffic, intercepting sensitive data, modifying configurations, or disrupting network availability. This could facilitate further lateral movement within corporate networks or enable persistent backdoors. The compromise of network infrastructure devices like routers can have cascading effects on organizational security, impacting confidentiality, integrity, and availability of critical systems. Given the router's role in managing network traffic, exploitation could also enable man-in-the-middle attacks, data exfiltration, or denial of service conditions. Organizations relying on these devices for secure communications, VPN termination, or firewalling are particularly at risk. The absence of known exploits currently provides a window for proactive defense, but the high CVSS score indicates a severe threat if exploited.

Mitigation Recommendations

1. Immediately restrict access to the router's management interface (mainfunction.cgi) to trusted IP addresses only, ideally via VPN or internal network segments. 2. Disable or limit the packet_monitor functionality if not required, to reduce the attack surface. 3. Implement network segmentation to isolate critical network infrastructure devices from general user networks. 4. Monitor router logs and network traffic for unusual commands or spikes in activity related to the mainfunction.cgi endpoint. 5. Apply any available firmware updates or patches from Draytek as soon as they are released. 6. If patches are not yet available, consider deploying web application firewalls (WAFs) or intrusion prevention systems (IPS) with custom rules to detect and block command injection attempts targeting the packet_monitor function. 7. Conduct regular security assessments and penetration tests focusing on network infrastructure devices to identify similar vulnerabilities. 8. Educate network administrators about this vulnerability and enforce strong authentication and access control policies for device management.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-10-28T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6baeb7ef31ef0b558b15

Added to database: 2/25/2026, 9:37:50 PM

Last enriched: 2/28/2026, 2:54:11 AM

Last updated: 4/12/2026, 3:40:54 PM

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses