Remote Code Execution Vulnerability in DrayTek Vigor Series Routers

Patch nowFull system takeover over the network, no login needed.
9.8CRITICAL

CVE-2020-8515

Key Information:

Vendor

Draytek

CVE ID
CVE ID:
CVE-2020-8515
Vendor
CVE Published:
1 February 2020

Timeline

Exploit known 578 days after it was published

  • ๐Ÿฆ…

    CISA Reported

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 99%๐Ÿฆ… CISA Reported

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (3 proof-of-concepts)
  • Yes: Attacked in the wild (on CISA's KEV list)
  • No: No ransomware use seen

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Follow CISA's required action

Apply updates per vendor instructions.

3Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Vigor2960 Firmware. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

4Look for signs of compromise

It is being exploited in the wild, so check logs on exposed Vigor2960 Firmware systems for unusual requests or new processes from before you patched. The 3 public proof-of-concepts show what an attack looks like.

5Why it's rated "Patch now"
  • CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 99.9% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.8).

What is CVE-2020-8515?

DrayTek's Vigor2960, Vigor3900, and Vigor300B routers contain a serious vulnerability that allows unauthorized remote code execution. This flaw arises when users access the cgi-bin/mainfunction.cgi URI with shell metacharacters, permitting attackers to execute arbitrary commands with root privileges without any authentication. Users are advised to update their devices to version 1.5.1 or later to mitigate this security risk.

CISA has reported CVE-2020-8515

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2020-8515 as being exploited . Neither CISA nor our sources have linked it to ransomware campaigns so far.

The CISA's recommendation is: Apply updates per vendor instructions.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

OS Command Injection in DrayTek Vigor2960/Vigor300B

CVE-2024-12987
DraytekVigor2960๐Ÿ‘พ6.9MEDIUM
View more Draytek vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

99% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.