module

Wordpress BookingPress bookingpress_front_get_category_services SQLi

Disclosed
2022-02-28
Created
2022-12-06

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.

Authors

cydave
destr4ct
jheysel-r7

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

Title
NEW

Explore Exposure Command

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