PT-2019-6341 · D Link · D-Link Dir-822+1

Pr0V3Rbs

·

Publicado

2019-01-07

·

Atualizado

2023-04-26

·

CVE-2018-19986

CVSS v3.1

10

Crítica

VetorAV: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-818LW Rev.A version 2.05.B03 D-Link DIR-822 B1 version 202KRb06
Description The issue affects the /HNAP1/SetRouterSettings message, where the RemotePort parameter is vulnerable. This vulnerability can be exploited by sending a specially crafted XML message with shell metacharacters in the RemotePort element, such as the telnetd string. The lack of regex checking in the SetRouterSettings.php source code and the IPTWAN build command function of the iptwan.php source code allows the exploitation of this issue. Successful exploitation can allow a remote attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations For D-Link DIR-818LW Rev.A version 2.05.B03, consider disabling the RemotePort parameter in the /HNAP1/SetRouterSettings message until a patch is available. For D-Link DIR-822 B1 version 202KRb06, restrict access to the IPTWAN build command function in the iptwan.php source code to minimize the risk of exploitation. Avoid using the RemotePort parameter in the affected API endpoint until the issue is resolved.

Exploit

Correção

OS Command Injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-02617
BDU:2023-02618
BDU:2023-02679
CVE-2018-19986

Produtos afetados

D-Link Dir-818Lw
D-Link Dir-822