Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2020-15415: Remote Command Execution in DrayTek Vigor cgi-bin/mainfunction.cgi/cvmcfgupload

Published Jun 30, 2020 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS84.5%100th percentile
CISA KEVYesAdded Sep 30, 2024
In the wildActivePer CISA KEV
Vendor
Draytek
IdentifiersCVE-2020-15415CWE-78 · Improper Neutralization of Special…

CVE-2020-15415 is a remote command execution vulnerability affecting DrayTek Vigor3900, Vigor2960, and Vigor300B devices before version 1.5.1. The flaw is in the cgi-bin/mainfunction.cgi/cvmcfgupload functionality, which improperly handles a supplied filename parameter. When a request uses the text/x-python-script content type, shell metacharacters embedded in the filename are not safely neutralized before being passed to a shell or shell-interpreted command context, allowing arbitrary command execution on the device. This is a distinct issue from CVE-2020-14472.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote attacker can execute arbitrary commands on the affected DrayTek device. Depending on the privileges of the vulnerable CGI component, this can result in full compromise of the appliance, including unauthorized administrative control, modification of device configuration, installation of persistent backdoors, interception or redirection of network traffic, and use of the device as a pivot point into adjacent networks.

Mitigation

If you can’t patch tonight, do this now.

Until patching is completed, restrict access to the management interface and the vulnerable CGI endpoint to trusted administrative networks only, disable or firewall Internet exposure of the device management plane, and monitor for suspicious requests involving cgi-bin/mainfunction.cgi/cvmcfgupload, especially those using the text/x-python-script content type or filenames containing shell metacharacters. Where possible, place administrative access behind VPN or source-IP allowlisting.

Remediation

Patch, then assume compromise.

Upgrade affected DrayTek Vigor3900, Vigor2960, and Vigor300B devices to version 1.5.1 or later, which addresses the vulnerable command-handling behavior in cgi-bin/mainfunction.cgi/cvmcfgupload. If vendor-fixed releases are available beyond 1.5.1, deploy the latest supported firmware.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
DraytekVigor2960 Firmwareoperating_system
DraytekVigor300b Firmwareoperating_system
DraytekVigor3900 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2020-15415 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 30, 2024.
Is there a public exploit for CVE-2020-15415?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2020-15415.
Is there a patch for CVE-2020-15415?
Upgrade affected DrayTek Vigor3900, Vigor2960, and Vigor300B devices to version 1.5.1 or later, which addresses the vulnerable command-handling behavior in cgi-bin/mainfunction.cgi/cvmcfgupload. If vendor-fixed releases are available beyond 1.5.1, deploy the latest supported firmware.
What products are affected by CVE-2020-15415?
Draytek Vigor2960 Firmware, Draytek Vigor300b Firmware, and Draytek Vigor3900 Firmware.
How severe is CVE-2020-15415?
CVE-2020-15415 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 84.5% (100th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.