Rapid7 Vulnerability & Exploit Database

D-Link Central WiFiManager SQL injection

Back to Search

D-Link Central WiFiManager SQL injection



This module exploits a SQLi vulnerability found in D-Link Central WiFi Manager CWM(100) before v1.03R0100_BETA6. The vulnerability is an exposed API endpoint that allows the execution of SQL queries without authentication, using this vulnerability, it's possible to retrieve usernames and password hashes of registered users, device configuration, and other data, it's also possible to add users, or edit database information.


  • M3 <M3@ZionLab from DBAppSecurity>
  • Redouane NIBOUCHA <rniboucha@yahoo.fr>


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 auxiliary/sqli/dlink/dlink_central_wifimanager_sqli
msf auxiliary(dlink_central_wifimanager_sqli) > show actions
msf auxiliary(dlink_central_wifimanager_sqli) > set ACTION < action-name >
msf auxiliary(dlink_central_wifimanager_sqli) > show options
    ...show and set options...
msf auxiliary(dlink_central_wifimanager_sqli) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security