LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2020-15415: DrayTek Multiple Vigor Routers OS Command Injection Vulnerability

RBRecent Breaches Vulnerability Intelligence·Sep 30, 2024
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Oct 21, 2024
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2020-15415 to its Known Exploited Vulnerabilities catalog on Sep 30, 2024, with a federal patch deadline of Oct 21, 2024 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

DrayTek Vigor3900, Vigor2960, and Vigor300B devices contain an OS command injection vulnerability in cgi-bin/mainfunction.cgi/cvmcfgupload that allows for remote code execution via shell…

CVE-2020-15415 is an OS command injection flaw affecting certain DrayTek Vigor routers. It allows an attacker to achieve remote code execution by supplying shell metacharacters in a filename when a specific content type is used against a CGI endpoint. Because these devices often sit at the network edge, successful exploitation can give an attacker a foothold for further lateral movement or persistent access. Confirm exact impact and affected configurations against the vendor advisory.

CISA notes that the vulnerability is present in the cgi-bin/mainfunction.cgi/cvmcfgupload path on listed models and can lead to remote code execution. Known ransomware use is not documented for this CVE. Organizations should treat any unpatched edge router as high priority for review.

How it works

This issue is classified as CWE-78 (OS Command Injection). The vulnerable component fails to properly sanitize user-controlled input before it is passed to a system shell. According to the CISA summary, an attacker can inject shell metacharacters into a filename parameter when the request uses the text/x-python-script content type against the cvmcfgupload handler. The injected characters are interpreted by the underlying operating system, allowing arbitrary command execution with the privileges of the web service process.

No further exploit mechanics are provided in the public summary. Attackers typically need network reachability to the management or CGI interface; whether authentication is required or whether the interface is exposed by default must be verified against the vendor advisory and your own configuration. Once code execution is obtained, the attacker can run commands, install persistence, or pivot into the internal network.

Am I affected? How to find it in your systems

DrayTek Vigor routers are commonly deployed as small-to-medium business or branch-office edge devices providing VPN, firewall, and WAN connectivity. The CISA summary specifically names Vigor3900, Vigor2960, and Vigor300B. Inventory all DrayTek Vigor appliances in your environment by:

Once located, compare the installed firmware version and enabled features against the vendor advisory. Pay particular attention to any configuration that exposes the cvmcfgupload functionality or accepts the text/x-python-script content type. Log sources that may indicate probing or exploitation include web server access logs showing requests to /cgi-bin/mainfunction.cgi/cvmcfgupload, unusual filenames containing shell metacharacters, or unexpected process execution on the device. Telemetry from network IDS/IPS looking for command-injection patterns on those paths can also help, but absence of alerts does not prove safety.

How to remediate

The primary remediation is to apply the mitigations or firmware updates specified by the vendor. CISA’s required action is to apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Obtain the official advisory, download the corrected firmware only from DrayTek’s authenticated channels, and follow the documented upgrade procedure. After patching, verify the new version is running and re-test that the vulnerable endpoint no longer accepts the previously dangerous input.

In addition to the vendor fix, harden the device class by:

Document the change and retain pre- and post-upgrade configuration snapshots for audit.

If you can't patch immediately

If an immediate firmware update is not possible, implement compensating controls to reduce exposure until the official fix can be applied:

These measures lower risk but do not eliminate the underlying vulnerability; schedule the vendor-recommended remediation as soon as operationally feasible.

If your data may have been exposed

Actively exploited edge-device vulnerabilities frequently serve as initial access vectors that lead to broader network compromise and data exposure. Even though ransomware use is not documented for this specific CVE, any successful remote code execution should be treated as a potential breach. Review device logs, network flows, and endpoint telemetry for signs of post-exploitation activity. If you believe credentials or data may have been taken, rotate secrets that traversed the device and consider a free exposure scan of organizational email addresses against known breach data sets to identify previously compromised accounts that attackers might reuse.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedDrayTek · Multiple Vigor Routers
WeaknessCWE-78
Added to CISA KEVSep 30, 2024
Federal patch deadlineOct 21, 2024
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities