← Vulnerability feed

Vulnerability record · CVE-2024-51252 · published 1 November 2024

CVE-2024-51252: Draytek vigor3900 firmware os command injection vulnerability

Draytek · Vigor3900 Firmware

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

9.8 CVSS 3.1 Critical EPSS 0.82% · top 44.7% CWE-78 · OS command injection
9.8CVSS 3.1 base score
0.82%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
1References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-51252 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-15415DrayTek Vigor routers OS command injection in cvmcfguploadDrayTek Vigor3900, Vigor2960 and Vigor300B devices before firmware 1.5.1 allow OS command injection through shell metacharacters in a filename upload…KEVEPSS 84%analysed9.8CVE-2020-8515DrayTek Vigor routers unauthenticated OS command injection in web managementDrayTek Vigor2960, Vigor3900 and Vigor300B firmware pass shell metacharacters to cgi-bin/mainfunction.cgi, allowing OS command injection. Because the…KEVEPSS 100%analysed9.8CVE-2024-51255Draytek vigor3900 firmware command injection vulnerabilityDrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the ruequest_…EPSS 0.39%9.8CVE-2024-51260Draytek vigor3900 firmware command injection vulnerabilityDrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the acme_proc…EPSS 0.62%9.8CVE-2024-51259Draytek vigor3900 firmware command injection vulnerabilityDrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the setup_cac…EPSS 0.35%9.8CVE-2024-51298Draytek vigor3900 firmware code injection vulnerabilityIn Draytek Vigor3900 1.5.1.3, attackers can inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the doGRETunnel…EPSS 0.62%9.8CVE-2024-48153Draytek vigor3900 firmware command injection vulnerabilityDrayTek Vigor3900 1.5.1.3 allows attackers to inject malicious commands into mainfunction.cgi and execute arbitrary commands by calling the get_subco…EPSS 0.68%9.8CVE-2021-42911Draytek vigor2960 firmware vulnerabilityA Format String vulnerability exists in DrayTek Vigor 2960 <= 1.5.1.3, DrayTek Vigor 3900 <= 1.5.1.3, and DrayTek Vigor 300B <= 1.5.1.3 in the mainfu…EPSS 3.5%

Source: NIST National Vulnerability Database (record CVE-2024-51252), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.