PT-2019-5830 · D Link · D-Link Dir-846

Published

2019-08-09

·

Updated

2022-02-18

·

CVE-2019-17509

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions D-Link DIR-846 version 100A35
Description The issue is related to insufficient argument checking in the SetMasterWLanSettings function of the D-Link DIR-846 firmware, allowing remote attackers to execute arbitrary OS commands as root. This can be achieved by sending a specially crafted /HNAP1/ request for SetMasterWLanSettings with shell metacharacters to the /squashfs-root/www/HNAP1/control/SetMasterWLanSettings.php script.
Recommendations For version 100A35, update the firmware to a version that addresses the issue with the SetMasterWLanSettings function, ensuring proper argument checking to prevent arbitrary command execution. As a temporary workaround, consider restricting access to the /squashfs-root/www/HNAP1/control/SetMasterWLanSettings.php script to minimize the risk of exploitation.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-03215
CVE-2019-17509

Affected Products

D-Link Dir-846