The BookingPress WordPress plugin before 1.0.11 fails to properly sanitize user supplied data in the `total_service` parameter of the `bookingpress_front_get_category_services` AJAX action (available to unauthenticated users), prior to using it in a dynamically constructed SQL query. As a result, unauthenticated attackers can conduct an SQL injection attack to dump sensitive data from the backend database such as usernames and password hashes. This module uses this vulnerability to dump the list of WordPress users and their associated email addresses and password hashes for cracking offline.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
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