Vigor3912 FirmwareOperating system · Draytek

CVE-2024-51138

CRITICAL · 9.8 CVSS v3.1 Published 2025-02-27
Fix available
A fix is available. Upgrade to 3.9.8.3 / 3.9.9.1 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Vigor165/166 4.2.7 and earlier; Vigor2620/LTE200 3.9.8.9 and earlier; Vigor2860/2925 3.9.8 and earlier; Vigor2862/2926 3.9.9.5 and earlier; Vigor2133/2762/2832 3.9.9 and earlier; Vigor2135/2765/2766 4.4.5. and earlier; Vigor2865/2866/2927 4.4.5.3 and earlier; Vigor2962 4.3.2.8 and earlier; Vigor3912 4.3.6.1 and earlier; Vigor3910 4.4.3.1 and earlier a stack-based buffer overflow vulnerability has been identified in the URL parsing functionality of the TR069 STUN server. This flaw occurs due to insufficient bounds checking on the amount of URL parameters, allowing an attacker to exploit the overflow by sending a maliciously crafted request. Consequently, a remote attacker can execute arbitrary code with elevated privileges.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A stack-based buffer overflow vulnerability exists in the TR069 STUN server's URL parsing functionality across multiple DrayTek Vigor router models. The flaw stems from insufficient bounds checking when processing URL parameters, allowing an attacker to overflow a stack-allocated buffer by sending a maliciously crafted request with excessive parameters. This enables remote code execution with elevated privileges.

MitigationApply vendor-supplied firmware updates for the specific Vigor model to address the bounds checking deficiency in the TR069 STUN server URL parsing code.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Vigor3912 FirmwareOperating system
Affected:< 4.4.3.2
Vigor2620 FirmwareOperating system
Affected:< 3.9.9.1
Vigorlte200 FirmwareOperating system
Affected:< 3.9.9.1
Vigor2860 FirmwareOperating system
Affected:< 3.9.8.3
Vigor2925 FirmwareOperating system
Affected:< 3.9.8.3
Vigor2862 FirmwareOperating system
Affected:< 3.9.9.8
Vigor2926 FirmwareOperating system
Affected:< 3.9.9.8
Vigor2133 FirmwareOperating system
Affected:< 3.9.9.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify the DrayTek router model
    Access the router admin web interface or check the device label to determine the exact model number (e.g., Vigor3912, Vigor2620, Vigor2860, Vigor2925, Vigor2862, Vigor2926, Vigor2133, or Vigorlte200)
    Affected if The router model matches one of the affected models listed in the CVE
  2. Check the installed firmware version
    Log into the router web interface and navigate to System Maintenance > Firmware Upgrade, or use the CLI command 'sys fwup' or check the status page for the current firmware build number
    Affected if The firmware version is lower than the threshold for your model (Vigor3912: < 4.4.3.2, Vigor2620/Vigorlte200: < 3.9.9.1, Vigor2860/Vigor2925: < 3.9.8.3, Vigor2862/Vigor2926: < 3.9.9.8, Vigor2133: < 3.9.9.2)
  3. Verify if TR069 STUN server is enabled
    In the router web interface, navigate to Application > TR069 STUN Server or similar path under WAN or Application settings, and check if the STUN server functionality is turned on
    Affected if The TR069 STUN server is enabled on the device
  4. Confirm network accessibility of the STUN server
    Check firewall or access control rules to determine if the TR069 STUN server UDP port (typically 3478) is exposed to untrusted networks or the internet
    Affected if The STUN server port is reachable from untrusted external networks without proper access restrictions

The device is affected if it is a DrayTek Vigor model listed in the CVE, runs firmware below the specified threshold, and has the TR069 STUN server enabled and accessible.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.9.8.3 / 3.9.9.1 / 3.9.9.2 or later
Fixed in 3.9.8.33.9.9.13.9.9.2
Interim mitigation

Apply vendor-supplied firmware updates for the specific Vigor model to address the bounds checking deficiency in the TR069 STUN server URL parsing code.

Recommended fix Moderate confidence

Vigor3912: 4.4.3.2+ | Vigor2620: 3.9.9.1+ | Vigorlte200: 3.9.9.1+ | Vigor2860: 3.9.8.3+ | Vigor2925: 3.9.8.3+ | Vigor2862: 3.9.9.8+ | Vigor2926: 3.9.9.8+ | Vigor2133: 3.9.9.2+ (refer to DrayTek for complete model-specific releases)

  1. 1. Identify the exact DrayTek Vigor router model from the affected product list (Vigor3912, Vigor2620, Vigorlte200, Vigor2860, Vigor2925, Vigor2862, Vigor2926, Vigor2133)
  2. 2. Access the router's web administration interface or CLI
  3. 3. Navigate to the Firmware Upgrade or System Maintenance section
  4. 4. Download the appropriate fixed firmware version from the official DrayTek support website (draytek.com)
  5. 5. Upload and apply the firmware update, ensuring uninterrupted power during the process
  6. 6. After reboot, verify the new firmware version matches or exceeds the fixed release for your model
  7. 7. Consider resetting to factory defaults and reconfiguring after major firmware upgrades to ensure clean configuration
Caveat Firmware upgrades may reset configuration to defaults; backup current config before upgrading and plan for potential reconfiguration downtime

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Vigor3912 Firmware Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA2.0 h
20.0 hours of engineering $3,500
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-51138 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-51138 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data