CVE-2024-51254: DrayTek Vigor3900 · Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-51254, organizations should immediately restrict access to the DrayTek Vigor3900 management interfaces, especially the web interface hosting mainfunction.cgi, by limiting it to trusted internal networks or VPNs. Implement network segmentation to isolate critical infrastructure and reduce exposure. Employ strict firewall rules to block unauthorized inbound traffic targeting the router’s management ports. Monitor network traffic and device logs for unusual activity, particularly requests to mainfunction.cgi or attempts to invoke sign_cacertificate. Disable or restrict unused services and interfaces on the router to minimize attack surface. Until an official patch is released, consider deploying web application firewalls (WAFs) or intrusion prevention systems (IPS) with custom rules to detect and block command injection patterns targeting this vulnerability. Regularly check for firmware updates from DrayTek and apply patches promptly once available. Additionally, maintain an incident response plan to quickly address any signs of compromise.
Description
DrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the sign_cacertificate function.