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-51251: n/a

0
High
VulnerabilityCVE-2024-51251cvecve-2024-51251
Published: Mon Nov 04 2024 (11/04/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 backup function.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 01:27:18 UTC

Technical Analysis

CVE-2024-51251 is a command injection vulnerability identified in the Draytek Vigor3900 router firmware version 1.5.1.3. The flaw exists in the mainfunction.cgi endpoint, specifically when handling the backup function. An attacker with low privileges (PR:L) and no need for user interaction (UI:N) can inject malicious commands that the system executes with the privileges of the affected process. The vulnerability is remotely exploitable over an adjacent network (AV:A), meaning the attacker must have network access but does not require local access. The vulnerability falls under CWE-78, indicating improper neutralization of OS command elements, which allows injection of arbitrary commands. The CVSS v3.1 vector (AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects high impact on confidentiality, integrity, and availability, with low attack complexity and no user interaction needed. 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 organizations to implement interim mitigations. Draytek Vigor3900 routers are commonly used in enterprise and ISP environments, making this vulnerability a significant threat to network infrastructure.

Potential Impact

Successful exploitation of CVE-2024-51251 allows attackers to execute arbitrary commands on the affected Draytek Vigor3900 devices, leading to full compromise of the router. This can result in unauthorized access to sensitive network traffic, disruption of network services, and potential pivoting into internal networks. The confidentiality of data passing through the device can be breached, integrity of network configurations can be altered, and availability can be disrupted by executing destructive commands or causing denial of service. Organizations relying on these routers for critical network functions face risks including data exfiltration, network downtime, and further compromise of connected systems. The vulnerability's low complexity and lack of user interaction requirements increase the likelihood of exploitation, especially in environments where network access controls are weak or management interfaces are exposed.

Mitigation Recommendations

1. Immediately restrict access to the Draytek Vigor3900 management interface to trusted IP addresses only, preferably via VPN or secure management networks. 2. Implement strict network segmentation to isolate management interfaces from general user networks and the internet. 3. Monitor network traffic for unusual requests to mainfunction.cgi, especially those invoking the backup function, and set up alerts for suspicious command injection patterns. 4. Disable or limit the backup function if possible until a vendor patch is available. 5. Regularly audit router configurations and logs for signs of compromise or unauthorized changes. 6. Engage with Draytek support to obtain firmware updates or patches addressing this vulnerability as soon as they are released. 7. Employ intrusion detection/prevention systems (IDS/IPS) with signatures targeting command injection attempts on Draytek devices. 8. Educate network administrators on this vulnerability and enforce strong authentication and access 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: 699f6baeb7ef31ef0b558ab3

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

Last enriched: 2/26/2026, 1:27:18 AM

Last updated: 4/12/2026, 12:21:51 PM

Views: 14

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