Skip to main content
VulnerabilityPublished

CVE-2024-51249: OS Command Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 8.0 High.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
8.0High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% 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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-51249, organizations should take immediate steps beyond waiting for an official patch: 1) Restrict access to the router’s management interfaces (especially mainfunction.cgi) by implementing strict firewall rules and limiting access to trusted IP addresses only. 2) Employ network segmentation to isolate the router management network from general user and internet-facing networks. 3) Monitor network traffic and device logs for unusual commands or reboot requests that could indicate exploitation attempts. 4) Disable or restrict the reboot function remotely if possible, or require stronger authentication mechanisms for management functions. 5) Use intrusion detection/prevention systems (IDS/IPS) to detect command injection patterns targeting the CGI endpoint. 6) Regularly back up router configurations to enable rapid recovery in case of compromise. 7) Stay informed on vendor advisories and apply firmware updates promptly once patches are released. 8) Consider deploying compensating controls such as VPN access for management interfaces to reduce exposure.

Description

In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the reboot function.

References

Community reviews

Loading reviews…