CVE-2024-51252: Draytek Vigor3900 · OS Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 8.0 High.
Data as of 26 Oct 2026, 16:39 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 focus on restricting access to the router's management interfaces, especially the mainfunction.cgi endpoint, by limiting access to trusted IP addresses and using VPNs or secure management networks.
- Employ network segmentation to isolate critical network infrastructure devices from general user networks and the internet.
- Monitor network traffic and device logs for unusual activity indicative of command injection attempts or unauthorized configuration changes.
- Disable or restrict the restore function in mainfunction.cgi if possible until a patch is available.
- Engage with Draytek support or vendor channels to obtain firmware updates or patches addressing this vulnerability as soon as they are released.
- Implement intrusion detection/prevention systems (IDS/IPS) with signatures or heuristics capable of detecting command injection patterns targeting Draytek devices.
- Conduct regular security audits and vulnerability assessments on network infrastructure to identify and remediate similar issues proactively.
- Educate network administrators on the risks of command injection vulnerabilities and best practices for secure device management.
Description
In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the restore function.