CVE-2024-51304: n/a
Source CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 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 2026-10-26.
What to do
AI-suggested
To mitigate CVE-2024-51304, organizations should immediately restrict access to the management interfaces of Draytek Vigor3900 routers, limiting it to trusted IP addresses and using VPNs or secure management channels. Network segmentation should be enforced to isolate critical infrastructure from general user networks. Monitoring and logging of router management traffic should be enhanced to detect anomalous command injection attempts or unusual activity patterns. Until an official patch is released, consider disabling or restricting the use of the mainfunction.cgi interface if feasible. Employ intrusion detection/prevention systems (IDS/IPS) with signatures or heuristics capable of identifying command injection attempts targeting this vulnerability. Regularly update firmware and subscribe to vendor advisories to apply patches promptly once available. Additionally, conduct security audits and penetration tests focusing on router configurations and web management interfaces to identify and remediate similar weaknesses.
Description
In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the ldap_search_dn function.