NVD Vulnerability Detail
Search Exploit, PoC
CVE-2018-19986
Summary

In the /HNAP1/SetRouterSettings message, the RemotePort parameter is vulnerable, and the vulnerability affects D-Link DIR-818LW Rev.A 2.05.B03 and DIR-822 B1 202KRb06 devices. In the SetRouterSettings.php source code, the RemotePort parameter is saved in the $path_inf_wan1."/web" internal configuration memory without any regex checking. And in the IPTWAN_build_command function of the iptwan.php source code, the data in $path_inf_wan1."/web" is used with the iptables command without any regex checking. A vulnerable /HNAP1/SetRouterSettings XML message could have shell metacharacters in the RemotePort element such as the `telnetd` string.

Publication Date May 13, 2019, 11:29 p.m.
Registration Date March 1, 2021, 7:15 p.m.
Last Update Nov. 21, 2024, 12:58 p.m.
CVSS3.0 : CRITICAL
スコア 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 10.0
Vector AV:N/AC:L/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:d-link:dir-818lw_firmware:2.05.b03:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:h:dlink:dir-818lw:-:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:d-link:dir-822_firmware:202krb06:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:h:dlink:dir-822:-:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
DIR-818LW および DIR-822 デバイスにおけるコマンドインジェクションの脆弱性
Title DIR-818LW および DIR-822 デバイスにおけるコマンドインジェクションの脆弱性
Summary

DIR-818LW および DIR-822 デバイスには、コマンドインジェクションの脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Dec. 9, 2018, midnight
Registration Date June 4, 2019, 3:46 p.m.
Last Update June 4, 2019, 3:46 p.m.
Affected System
D-Link Systems, Inc.
DIR-818L(W) ファームウェア 2.05.B03
DIR-822 ファームウェア B1 202KRb06
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2019年06月04日]
  掲載
June 4, 2019, 3:46 p.m.