CVE-2022-46561
Description
D-Link DIR-882 DIR882A1_FW130B06, DIR-878 DIR_878_FW1.30B08 was discovered to contain a stack overflow via the Password parameter in the SetWanSettings module.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
D-Link DIR-878 and DIR-882 routers contain a stack overflow in the SetWanSettings module via the Password parameter, allowing remote code execution.
Vulnerability
The SetWanSettings module in D-Link DIR-878 (firmware version DIR_878_FW1.30B08) and DIR-882 (firmware version DIR882A1_FW130B06) routers contains a stack overflow vulnerability [1][2][3][4]. The issue occurs when the Password parameter is processed by the decrypt_aes function and subsequently passed to sub_426D74, where unchecked copy operations overwrite a stack buffer [1][2][3][4]. The vulnerability is triggerable when the WAN connection mode is set to PPPoE, L2TP, or PPTP [1][2][3].
Exploitation
An attacker must have administrative access to the router's web interface (typically at 192.168.0.1) and send a crafted HTTP POST request to the /HNAP1/ endpoint with the SOAPACTION header set to "http://purenetworks.com/HNAP1/SetWanSettings" [1][2][3][4]. The request includes an oversized Password field in the XML body, which triggers the stack overflow when the router processes the input [1][2][3][4]. No user interaction is required beyond the attacker possessing valid admin credentials.
Impact
Successful exploitation allows an authenticated attacker to overwrite stack memory and achieve remote code execution on the affected device [1][2][3][4]. The gained privileges are at the system level, giving the attacker full control over the router.
Mitigation
As of the publication date, no official patch has been released by D-Link [1][2][3][4]. The firmware versions DIR_878_FW1.30B08 and DIR882A1_FW130B06 are known to be vulnerable. Users should restrict administrative access to the local network and monitor for any firmware updates from the vendor. The CVE is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
- D-Link DIR-878 was discovered stack overflow in the SetWanSettings module when the mode was set to PPPoE - HackMD
- D-Link DIR-878 was discovered stack overflow in the SetWanSettings module when the mode was set to L2TP - HackMD
- D-Link DIR-878 was discovered stack overflow in the SetWanSettings module when the mode was set to PPTP - HackMD
- D-link DIR882-8 - HackMD
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
3Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5News mentions
0No linked articles in our index yet.