Skip to main content

Dir 816 Firmware CVE-2025-5622

| EUVDEUVD-2025-16941 CRITICAL
Buffer Overflow (CWE-119)
2025-06-05 cna@vuldb.com
9.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents CRITICAL real-world risk despite being on end-of-life hardware. CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects maximum severity: network-accessible, no authentication required, trivial attack complexity, complete system compromise. The combination of public exploit availability and zero-day-like conditions (no vendor patches forthcoming for EOL product) elevates practical risk substantially. Attack surface is exceptionally broad—any Internet-connected DIR-816 with default credentials or accessible management interface is immediately exploitable. While EPSS data is not provided, the presence of public POC code, trivial exploitation requirements (no user interaction), and lack of mitigating factors (no patches available, products still deployed globally) suggests exploitation probability >70%. Unlike theoretical high-CVSS vulnerabilities, this represents immediate actionable threat to installed base, particularly in SMB/SOHO environments where router management interfaces are often directly Internet-exposed. The EOL status is critical: no vendor security updates are forthcoming.

Exploit ScenarioDerived

An attacker performs the following attack: (1) Identifies target D-Link DIR-816 router via port scanning (port 80/443 management interface exposed to Internet) or passive reconnaissance; (2) Sends crafted HTTP POST request to http://target-ip/goform/wirelessApcli_5g with oversized payload in apcli_enc_5g parameter (e.g., 2000+ character string); (3) Stack buffer overflow occurs in wirelessApcli_5g function, overwriting return address on stack; (4) Attacker's shellcode executes with router firmware privileges (typically root); (5) Attacker gains persistent access, modifies firewall rules, installs backdoor, harvests WiFi passwords, redirects DNS, or uses router as botnet node. No user interaction required—attack is fully automated and can be launched against thousands of exposed routers via internet-wide scanning. Public POC code likely automates payload generation and delivery.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Critical stack-based buffer overflow vulnerability in D-Link DIR-816 wireless router (version 1.10CNB05) affecting the 5GHz wireless configuration interface. An unauthenticated remote attacker can exploit improper input validation in the wirelessApcli_5g function to achieve complete system compromise including arbitrary code execution, data theft, and service disruption. Public exploit code exists and the affected product line is end-of-life, creating significant risk for unpatched deployments.

RemediationAI

Primary Remediation: Retire affected hardware; details: Since DIR-816 1.10CNB05 is EOL, no official patches exist. Organizations should plan immediate replacement with supported router models receiving active security updates. Interim Mitigation: Network segmentation and access control; details: If immediate replacement is impossible: (1) Disable remote management access—disable WAN-accessible web interface (disable HTTP/HTTPS management from WAN side); (2) Restrict to LAN-only management via strong firewall rules; (3) Change default administrative credentials to complex passwords; (4) Isolate router management network from guest/untrusted networks; (5) Monitor for suspicious management interface access attempts. Detection: Monitor for exploitation attempts; details: Log access to /goform/wirelessApcli_5g endpoint. Monitor HTTP requests containing unusual lengths or binary data in apcli_mode_5g, apcli_enc_5g, or apcli_default_key_5g parameters. Monitor for unexpected router restarts or configuration changes. Vendor Advisory: Check D-Link security advisories; details: D-Link has not released security patches for EOL DIR-816 hardware. Users should verify no firmware updates are available via D-Link support portal and assume permanent vulnerability.

Affected VersionsENISA

DIR-816 1.10CNB05

Affected Packages

euvd dir_816 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the web management interface of D-Link DIR-816 routers, specifically in the /goform/wirelessApcli_5g endpoint. This endpoint handles 5GHz wireless AP client mode configuration parameters (apcli_mode_5g, apcli_enc_5g, apcli_default_key_5g). The underlying issue is CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), manifesting as a stack-based buffer overflow. When processing user-supplied wireless configuration parameters, the application fails to properly validate input length before copying data into fixed-size stack buffers. The wireless configuration subsystem directly passes unsanitized user input to string manipulation functions without bounds checking, allowing attackers to overflow adjacent stack memory. This is typical of legacy embedded device firmware that lacks modern secure coding practices and memory protection mechanisms (ASLR, stack canaries).

Know when Dir 816 Firmware gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
PoC Detected
Jun 06, 2025 - 15:42 vuln.today
Public exploit code
CVE Published
Jun 05, 2025 - 00:15 nvd
CRITICAL 9.8

DescriptionCVE.org

A vulnerability was found in D-Link DIR-816 1.10CNB05 and classified as critical. Affected by this issue is the function wirelessApcli_5g of the file /goform/wirelessApcli_5g. The manipulation of the argument apcli_mode_5g/apcli_enc_5g/apcli_default_key_5g leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.

Executive ViewAI

Why It Matters

D-Link DIR-816 routers running firmware 1.10CNB05 contain a critical remote code execution vulnerability that allows attackers to completely compromise affected devices without authentication. Organizations using these end-of-life routers face immediate risk of network infiltration, data theft, and lateral movement into internal systems, particularly since public exploits are already available.

Business Impact: Severe
Compensating Controls

Implement WAF rules blocking POST requests to /goform/wirelessApcli_5g; disable wireless AP client mode if not operationally required; restrict administrative access to router management interfaces via network segmentation and IP allowlisting; deploy IDS/IPS signatures to detect exploitation attempts; establish 24/7 monitoring for unusual traffic patterns from affected devices. Note: These controls are temporary mitigations only; device replacement is mandatory.

Threat Intelligence Overview

EPSS Score
0.3%
Top 48% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2024-24321 CRITICAL POC
9.8 Feb 08

An issue in Dlink DIR-816A2 v.1.10CNB05 allows a remote attacker to execute arbitrary code via the wizardstep4_ssid_2 pa

CVE-2025-45931 CRITICAL POC
9.8 Jun 30

An issue D-Link DIR-816-A2 DIR-816A2_FWv1.10CNB05_R1B011D88210 allows a remote attacker to execute arbitrary code via sy

CVE-2025-5623 CRITICAL POC
9.8 Jun 05

Critical stack-based buffer overflow vulnerability in D-Link DIR-816 1.10CNB05 affecting the qosClassifier function's di

CVE-2025-5630 CRITICAL POC
9.8 Jun 05

Critical stack-based buffer overflow vulnerability in D-Link DIR-816 firmware version 1.10CNB05 affecting the /goform/fo

CVE-2025-5624 CRITICAL POC
9.8 Jun 05

Critical stack-based buffer overflow vulnerability in D-Link DIR-816 firmware version 1.10CNB05 affecting the QoSPortSet

CVE-2022-43003 CRITICAL POC
9.8 Oct 26

D-Link DIR-816 A2 1.10 B05 was discovered to contain a stack overflow via the pskValue parameter in the setRepeaterSecur

CVE-2022-43002 CRITICAL POC
9.8 Oct 26

D-Link DIR-816 A2 1.10 B05 was discovered to contain a stack overflow via the wizardstep54_pskpwd parameter at /goform/f

CVE-2022-43001 CRITICAL POC
9.8 Oct 26

D-Link DIR-816 A2 1.10 B05 was discovered to contain a stack overflow via the pskValue parameter in the setSecurity func

CVE-2022-43000 CRITICAL POC
9.8 Oct 26

D-Link DIR-816 A2 1.10 B05 was discovered to contain a stack overflow via the wizardstep4_pskpwd parameter at /goform/fo

CVE-2022-42998 CRITICAL POC
9.8 Oct 26

D-Link DIR-816 A2 1.10 B05 was discovered to contain a stack overflow via the srcip parameter at /goform/form2IPQoSTcAdd

CVE-2022-37130 CRITICAL POC
9.8 Aug 31

In D-Link DIR-816 A2_v1.10CNB04, DIR-878 DIR_878_FW1.30B08.img a command injection vulnerability occurs in /goform/Diagn

CVE-2022-37125 CRITICAL POC
9.8 Aug 31

D-link DIR-816 A2_v1.10CNB04.img is vulnerable to Command injection via /goform/NTPSyncWithHost. Rated critical severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy