CVE-2024-51298: In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr
CVE-2024-51298 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.
In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the doGRETunnel 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.6% (top 50%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2024-10-30 |
| 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-51298?
vigor3900 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-51298 being exploited?
CVE-2024-51298 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-51298 affect?
CVE-2024-51298 affects vigor3900 firmware. Severity is critical (CVSS 9.8). In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the doGRETunnel function.
How urgent is CVE-2024-51298?
Priority 52/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-51296 HIGH 8.8 MITIGATE In Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitr