CVE-2024-51259: DrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbi
CVE-2024-51259 is a critical-severity flaw (CVSS 9.8) affecting vigor3900 firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
DrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the setup_cacertificate function.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 71%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2024-10-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-51259?
vigor3900 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-51259 being exploited?
CVE-2024-51259 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-51259 affect?
CVE-2024-51259 affects vigor3900 firmware. Severity is critical (CVSS 9.8). DrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the setup_cacertificate function.
How urgent is CVE-2024-51259?
Priority 47/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-51304 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51301 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51300 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51299 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
- CVE-2024-51298 CRITICAL 9.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr