Buffer Overflow Vulnerability in DrayTek Routers

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

CVE-2024-51138

Key Information:

Vendor

DrayTek

CVE ID
CVE ID:
CVE-2024-51138
Vendor
CVE Published:
27 February 2025

Timeline

Exploit known 8 days after it was published

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by GBHackers News

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐Ÿ“ฐ News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

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 โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach DrayTek Routers. 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.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed DrayTek Routers systems for unusual requests or new processes from before you patched.

4Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2024-51138?

A stack-based buffer overflow vulnerability has been discovered in the URL parsing functionality of the TR069 STUN server within various DrayTek routers. This flaw is due to inadequate bounds checking on URL parameters, potentially leading to an attacker executing arbitrary code with elevated privileges by sending a specially crafted request. This severity underscores the necessity for immediate patching to safeguard affected devices.

News Articles

Critical DrayTek Router Vulnerabilities Expose Devices to RCE Attacks

highlight systemic risks in widely used SOHO routers due to outdated firmware, weak authentication mechanisms, and insecure update processes.

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

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
.