Technical impact
A buffer overflow flaw in the SetWanSettings function of the HNAP Handler allows an attacker to overwrite memory when the Primary/Secondary argument is manipulated. This vulnerability can be triggered remotely, potentially leading to execution of arbitrary code on the DIR‑878 router. The flaw is confirmed in firmware 1.20B05 and was discovered after the product left active support, making it difficult to receive a vendor patch.
Affected Systems
D‑Link DIR‑878 routers running firmware 1.20B05 (or older versions that include the vulnerable SetWanSettings implementation). The vulnerability is limited to this model and was identified in the HNAP Handler component. Only devices that are no longer supported by D‑Link are impacted, meaning there is no official update path.
Risk and Exploitability
The CVSS score of 8.7 indicates high severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, but the public release of an exploit and remote attack feasibility raise the risk level considerably. Attackers can remotely interact with the vulnerable endpoint, sending crafted requests that overflow the buffer and potentially execute arbitrary code on the device. Given the lack of official support, exposed devices pose a significant threat.