module

D-Link Central WiFi Manager CWM(100) RCE

Disclosed
2019-07-09
Created
2020-08-18

Description

This module exploits a PHP code injection vulnerability in D-Link Central WiFi Manager CWM(100)
versions below `v1.03R0100_BETA6`. The vulnerability exists in the
username cookie, which is passed to `eval()` without being sanitized.
Dangerous functions are not disabled by default, which makes it possible
to get code execution on the target.

Authors

M3 M3@ZionLab from DBAppSecurity
Redouane NIBOUCHA rniboucha@yahoo.fr

Platform

PHP

Architectures

php

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/http/dlink_central_wifimanager_rce
msf exploit(dlink_central_wifimanager_rce) > show targets
...targets...
msf exploit(dlink_central_wifimanager_rce) > set TARGET < target-id >
msf exploit(dlink_central_wifimanager_rce) > show options
...show and set options...
msf exploit(dlink_central_wifimanager_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.