ID

VAR-202103-1816


TITLE

(0Day) D-Link DIR-882 HNAP Stack-based Buffer Overflow Remote Code Execution Vulnerability

Trust: 0.7

sources: ZDI: ZDI-21-399

DESCRIPTION

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-882 routers. Authentication is not required to exploit this vulnerability.The specific flaw exists within the HNAP service, which listens on TCP port 80 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the device.

Trust: 0.7

sources: ZDI: ZDI-21-399

AFFECTED PRODUCTS

vendor:d linkmodel:dir-882scope: - version: -

Trust: 0.7

sources: ZDI: ZDI-21-399

CVSS

SEVERITY

CVSSV2

CVSSV3

ZDI: ZDI-21-399
value: HIGH

Trust: 0.7

ZDI: ZDI-21-399
baseSeverity: HIGH
baseScore: 8.8
vectorString: AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.0

Trust: 0.7

sources: ZDI: ZDI-21-399

PATCH

title:This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 120 day deadline.10/02/20 – ZDI reported the vulnerability to the vendor02/03/21 – ZDI requested an update03/23/21 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory on 03/30/2103/29/21 - The vendor posted a vulnerability announcement Mitigation:Given the nature of the vulnerability the only salient mitigation strategy is to restrict interaction with the application.url:https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=sap10215--

Trust: 0.7

sources: ZDI: ZDI-21-399

EXTERNAL IDS

db:ZDI_CANid:ZDI-CAN-11682

Trust: 0.7

db:ZDIid:ZDI-21-399

Trust: 0.7

sources: ZDI: ZDI-21-399

REFERENCES

url:https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=sap10215--

Trust: 0.7

sources: ZDI: ZDI-21-399

CREDITS

phieulang aka Hoang Le of VietSunShine Cyber Security Services

Trust: 0.7

sources: ZDI: ZDI-21-399

SOURCES

db:ZDIid:ZDI-21-399

LAST UPDATE DATE

2022-05-17T02:10:26.495000+00:00


SOURCES UPDATE DATE

db:ZDIid:ZDI-21-399date:2021-09-27T00:00:00

SOURCES RELEASE DATE

db:ZDIid:ZDI-21-399date:2021-03-31T00:00:00