CVEvulnerability

CVE-2022-43625

6.8 MEDIUM Published 2023-03-29 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2023-03-29
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.8 MEDIUM — CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
6.8 MEDIUM — CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-121

Description

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 1.03 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed. The specific flaw exists within the handling of SetStaticRouteIPv4Settings requests to the web management portal. When parsing the NetMask element, the process does not properly validate 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 root. Was ZDI-CAN-16144.

Affected configurations

• dlink dir-1935 firmware (<= 1.02) • dlink dir-1935 firmware 1.03

Related

Weakness · CWE (1)

  • CWE-121 Stack-based Buffer Overflow weakness

References