// For flags

CVE-2022-43633

D-Link DIR-1935 SetSysLogSettings IPAddress Command Injection Remote Code Execution Vulnerability

Severity Score

6.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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 SetSysLogSettings requests to the web management portal. When parsing the IPAddress 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-16154.

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-1935 routers. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
The specific flaw exists within the handling of SetSysLogSettings requests to the web management portal. When parsing the IPAddress 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.

*Credits: Anonymous
CVSS Scores
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-10-21 CVE Reserved
  • 2022-11-03 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-10-19 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Dlink
Search vendor "Dlink"
Dir-1935 Firmware
Search vendor "Dlink" for product "Dir-1935 Firmware"
<= 1.02
Search vendor "Dlink" for product "Dir-1935 Firmware" and version " <= 1.02"
-
Affected
in Dlink
Search vendor "Dlink"
Dir-1935
Search vendor "Dlink" for product "Dir-1935"
--
Safe
Dlink
Search vendor "Dlink"
Dir-1935 Firmware
Search vendor "Dlink" for product "Dir-1935 Firmware"
1.03
Search vendor "Dlink" for product "Dir-1935 Firmware" and version "1.03"
b1
Affected
in Dlink
Search vendor "Dlink"
Dir-1935
Search vendor "Dlink" for product "Dir-1935"
--
Safe
Dlink
Search vendor "Dlink"
Dir-1935 Firmware
Search vendor "Dlink" for product "Dir-1935 Firmware"
1.03
Search vendor "Dlink" for product "Dir-1935 Firmware" and version "1.03"
b2
Affected
in Dlink
Search vendor "Dlink"
Dir-1935
Search vendor "Dlink" for product "Dir-1935"
--
Safe