OS Command Injection in DIR-3040 - CVE-2021-21819

 

OS Command Injection in DIR-3040 - CVE-2021-21819

Published: July 16, 2021


Vulnerability identifier: #VU54935
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-21819
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: D-Link
Affected software:
DIR-3040

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation in the Libcli Test Environment functionality. A remote administrator can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2021-21819

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources