CVE-2024-51244: Draytek Vigor3900 · OS Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 8.0 High.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Nov 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
- Immediate mitigation should include restricting access to the router’s management interface, especially the mainfunction.cgi endpoint, by limiting it to trusted IP addresses or internal networks only.
- Disable or restrict IPSec VPN functionality if not in use or if it can be temporarily suspended without business impact.
- Monitor network traffic and router logs for unusual commands or access patterns indicative of exploitation attempts.
- Implement network segmentation to isolate critical infrastructure from potentially compromised devices.
- Apply any available firmware updates or patches from Draytek as soon as they are released.
- 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 mainfunction.cgi.
- Conduct regular security assessments and penetration tests focusing on router and VPN infrastructure to identify and remediate similar vulnerabilities proactively.
Description
In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the doIPSec function.