This module exploits a SQL injection vulnerability in the Perfect Survey plugin for WordPress (version 1.5.1). An unauthenticated attacker can exploit the SQLi to retrieve sensitive information such as usernames, emails, and password hashes from the `wp_users` table.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/scanner/http/wp_perfect_survey_sqli
msf auxiliary(wp_perfect_survey_sqli) > show actions
...actions...
msf auxiliary(wp_perfect_survey_sqli) > set ACTION < action-name >
msf auxiliary(wp_perfect_survey_sqli) > show options
...show and set options...
msf auxiliary(wp_perfect_survey_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