Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach router HNAP1 web interface
-
DeliveryAuthenticate with valid or default credentials
-
ExploitSend crafted SetStaticRouteSettings request
-
ExecutionOverflow stack buffer via strcpy on Gateway field
-
PersistOverwrite saved return address
-
ImpactExecute code or crash device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the ability to reach the router's HNAP1 web interface and send a SetStaticRouteSettings request; the CVSS PR:L indicates a privilege/authentication requirement, so the realistic prerequisite is a valid administrative session or working credentials (default or weak credentials suffice on many SOHO units). Limiting factors: the device must have its management interface reachable by the attacker - LAN-side by default, or internet-facing only if remote/WAN management is explicitly enabled - and only the specific end-of-life DIR-823G firmware (1.0.2B05_20181207 and code-identical builds) is confirmed vulnerable. No user interaction is required (UI:N), and attack complexity is low (AC:L). |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, all impacts High) scores 9.4 and reflects a network-reachable, low-complexity flaw that nonetheless requires some privilege (PR:L) - consistent with HNAP endpoints that typically need authentication or at least a valid session. That authentication gate is the main mitigating factor: pre-auth exploitation is not established from the data, so the realistic threat is an authenticated LAN user, an attacker with default/weak credentials, or one chaining a separate auth-bypass. Public exploit code exists via VulDB and the Amalll-Sec GitHub advisory, but there is no CISA KEV listing and no EPSS score in the input, so this reads as a disclosed, PoC-backed issue rather than confirmed mass exploitation. Because the DIR-823G is an end-of-life consumer router unlikely to receive a fix, exposure is driven by whether the management interface is reachable and whether WAN-side HNAP is enabled; any operator still running these devices should treat unpatched, internet-exposed units as urgent and prioritize replacement or network isolation. |
| Exploit ScenarioDerived | An attacker with access to the router's web interface - an authenticated LAN user, or a remote attacker where WAN management is enabled and credentials are weak or default - sends a crafted HNAP1 SetStaticRouteSettings SOAP request with an overlong PAddress, SubnetMask, or Gateway value. The oversized string overflows the fixed stack buffer via strcpy, overwriting the saved return address to crash the device or execute attacker-controlled code. Public PoC/exploit material is referenced by VulDB and the Amalll-Sec GitHub advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 14, 2026
Stack-based buffer overflow in the D-Link DIR-823G router (firmware 1.0.2B05_20181207) lets a remote attacker corrupt stack memory via the HNAP1 SetStaticRouteSettings handler. The vulnerable strcpy call copies attacker-supplied PAddress, SubnetMask, and Gateway values without bounds checking, enabling denial of service and potential code execution on the device. Publicly available exploit code exists (VulDB and a GitHub advisory), though it is not listed in CISA KEV; EPSS was not provided.
RemediationAI
No vendor-released patch identified at time of analysis - the DIR-823G is end-of-life and D-Link is unlikely to issue firmware, so the primary recommendation is to replace the device with a currently supported model. As compensating controls, disable remote/WAN-side management so the HNAP1 interface is unreachable from the internet (side effect: no off-LAN administration); restrict LAN access to the web management interface to trusted hosts via firewall/VLAN segmentation (side effect: management must originate from those hosts); ensure strong, non-default administrator credentials since exploitation requires privilege (PR:L); and if HNAP is not needed, block or filter requests to the /HNAP1/ path at an upstream firewall (side effect: breaks HNAP-based management tools and mobile apps). Monitor for the vendor advisory at https://www.dlink.com/ and consult the technical writeup at https://github.com/Amalll-Sec/router-vulnerability-research/blob/main/advisories/d-link/dir-823g/SetStaticRouteSettings/README.md.
Affected VersionsENISA
Affected Packages
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 affected component is HNAP1, D-Link's implementation of the Home Network Administration Protocol - a SOAP-based management interface exposed over the router's web server. The SetStaticRouteSettings action parses network routing parameters (PAddress, SubnetMask, Gateway) and passes them directly into an unbounded strcpy() into a fixed-size stack buffer, matching CWE-121 (stack-based buffer overflow). On MIPS/ARM SOHO routers running without stack canaries, ASLR, or non-executable stacks, overflowing this buffer can overwrite the saved return address, a classic primitive for arbitrary code execution. The single CPE, cpe:2.3:a:d-link:dir-823g:*, indicates the DIR-823G product line; the specific tested firmware is 1.0.2B05_20181207, a build from 2018 for a device that is end-of-life.
Know when Dir 823G 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable HNAP endpoint (AV:N) with low complexity (AC:L) but requires an authenticated/privileged session per PR:L; buffer overflow enables full compromise, so C/I/A all High, scope unchanged.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A security flaw has been discovered in D-Link DIR-823G 1.0.2B05_20181207. The impacted element is the function strcpy of the file /HNAP1/SetStaticRouteSettings of the component HNAP1. The manipulation of the argument PAddress/SubnetMask/Gateway results in stack-based buffer overflow. The attack can be launched remotely.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-121, stack-based buffer overflow.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
D-Link DIR-823G routers (firmware 1.0.2B05_20181207) are vulnerable to a remote stack-based buffer overflow in the HNAP1 protocol handler that could enable denial of service or code execution; publicly available exploit code exists for this vulnerability. Organizations using this router model face potential loss of network connectivity and unauthorized device control, with no vendor patch currently available to mitigate the risk.
Until patch availability is confirmed, implement network-based mitigations: restrict HNAP1 protocol access through firewall rules to trusted administrative subnets only; disable HNAP1 if the device has alternative management protocols; segment affected routers to a dedicated VLAN with egress filtering; maintain detailed logs of all access attempts to detect exploitation; consider temporarily placing devices in read-only or offline mode until patching is possible.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Least-privilege violation in the D-Link DIR-823G router (firmware 1.0.2B05_20181207) stems from insecure configuration o
Least privilege violation in D-Link DIR-823G firmware version 1.0.2B05 exposes the vsftpd FTP daemon configuration file
EUVD-2026-77191
GHSA-gfg5-84mh-g97c
NVD
CVE.org
EPSS
VulDB
Exploit-DB