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

0
Critical
VulnerabilityCVE-2024-51259cvecve-2024-51259
Published: Thu Oct 31 2024 (10/31/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

DrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the setup_cacertificate function.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 02:52:55 UTC

Technical Analysis

CVE-2024-51259 is a critical remote command injection vulnerability identified in the DrayTek Vigor3900 router firmware version 1.5.1.3. The flaw exists in the handling of requests to the mainfunction.cgi endpoint, specifically within the setup_cacertificate function. An attacker can craft malicious HTTP requests that inject arbitrary OS commands, which the device executes with the privileges of the web server process. This vulnerability does not require any authentication or user interaction, making it highly exploitable remotely over the network. The vulnerability is classified under CWE-77 (Improper Neutralization of Special Elements used in a Command), indicating that input validation or sanitization is insufficient or absent. The CVSS v3.1 base score is 9.8, reflecting the ease of exploitation (network vector, no privileges or user interaction required) and the severe impact on confidentiality, integrity, and availability of the affected device. Exploiting this vulnerability could allow attackers to take full control of the router, intercept or manipulate network traffic, disrupt services, or pivot into internal networks. As of the publication date, no patches or official mitigations have been released, and no active exploitation has been reported. The DrayTek Vigor3900 is a widely used enterprise-grade router, often deployed in corporate, government, and ISP environments, increasing the potential impact of this vulnerability.

Potential Impact

The impact of CVE-2024-51259 is significant for organizations relying on DrayTek Vigor3900 routers as part of their network infrastructure. Successful exploitation allows remote attackers to execute arbitrary commands with high privileges, potentially leading to full device compromise. This can result in unauthorized access to sensitive internal networks, interception or manipulation of confidential data, disruption of network services, and the establishment of persistent backdoors. Given the router’s role as a gateway device, compromise could facilitate lateral movement within corporate or government networks, amplifying the damage. The lack of authentication and user interaction requirements lowers the barrier for attackers, increasing the likelihood of exploitation once the vulnerability becomes widely known. Organizations in sectors such as telecommunications, finance, government, and critical infrastructure are particularly at risk due to the strategic importance of their network devices. The absence of patches further elevates the threat level until mitigations or updates are available.

Mitigation Recommendations

1. Immediately isolate vulnerable DrayTek Vigor3900 devices from untrusted networks, especially the internet, to reduce exposure. 2. Implement strict firewall rules to restrict access to the router’s management interface (mainfunction.cgi) only to trusted administrative IP addresses or VPNs. 3. Monitor network traffic for unusual or suspicious HTTP requests targeting mainfunction.cgi or the setup_cacertificate function. 4. Employ network intrusion detection/prevention systems (IDS/IPS) with updated signatures to detect potential exploitation attempts. 5. Regularly audit and review router configurations and logs for signs of compromise or unauthorized command execution. 6. Contact DrayTek support or monitor official channels for firmware updates or patches addressing this vulnerability and plan prompt deployment once available. 7. Consider deploying compensating controls such as network segmentation to limit the impact of a compromised router. 8. Educate network administrators about this vulnerability and ensure they follow secure management practices, including changing default credentials and disabling unnecessary services. 9. If possible, temporarily disable remote management interfaces until a patch is available.

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: 699f6baeb7ef31ef0b558b06

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

Last enriched: 2/28/2026, 2:52:55 AM

Last updated: 4/12/2026, 6:13:42 PM

Views: 19

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