RCE in D-Link Dir-868l Firmware
CVE-2018-19988
In the /HNAP1/SetClientInfoDemo message, the AudioMute and AudioEnable parameters are vulnerable, and the vulnerabilities affect D-Link DIR-868L Rev.B 2.05B02 devices. In the SetClientInfoDemo.php source code, the AudioMute and AudioEnble parameters are saved in the ShellPath script file without any regex checking. After the script file is executed, the command injection occurs. It needs to bypass the wget command option with a single quote. A vulnerable /HNAP1/SetClientInfoDemo XML message could have single quotes and backquotes in the AudioMute or AudioEnable element, such as the '`telnetd`' string.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.074, 94.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- D-Link Dir-868l Firmware — versions 2.05b02
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, George-RG/FirmaInc, pr0v3rbs/FirmAE, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986 - 19990 (Exploit, Third Party Advisory)