Rapid7 Vulnerability & Exploit Database

Wordpress BookingPress bookingpress_front_get_category_services SQLi

Back to Search

Wordpress BookingPress bookingpress_front_get_category_services SQLi

Disclosed
02/28/2022
Created
12/06/2022

Description

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.

Author(s)

  • cydave
  • destr4ct
  • jheysel-r7

Development

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/gather/wp_bookingpress_category_services_sqli
msf auxiliary(wp_bookingpress_category_services_sqli) > show actions
    ...actions...
msf auxiliary(wp_bookingpress_category_services_sqli) > set ACTION < action-name >
msf auxiliary(wp_bookingpress_category_services_sqli) > show options
    ...show and set options...
msf auxiliary(wp_bookingpress_category_services_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

;