RCE in D-Link Dir-1935

CVE-2022-43626

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 SetIPv4FirewallSettings requests to the web management portal. When parsing subelements within the IPv4FirewallRule element, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-16146.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.011 (63.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 63.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-43626: held from 0.011 to 0.011.

EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: -0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-43626?
CVE-2022-43626 is a medium-severity vulnerability in D-Link Dir-1935, classified under OS Command Injection. CVSS score: 6.8/10. Published 2023-03-29.
How severe is CVE-2022-43626?
Medium severity. CVSS v3 base score is 6.8 out of 10.