The Booking Calendar plugin for WordPress contains a SQL injection (SQLi) in "wpdev_get_args_from_request_in_bk_listing" located in "wpdev-bk-lib.php". A malicious authenticated WordPress user with sufficient privileges can inject SQL code into one of the entry lookups. This could lead to disclosure, alteration, or loss of data and could potentially lead to remote code execution.
- An authenticated malicious user sends a SQLi attack to the vulnerable functionality.
- The malicious SQLi is inserted into a query and run against the database.
Attacker must have access to an authenticated user account.
This vulnerability is found in the functionality that lists bookings that have been made. When requesting this functionality, the value of the wh_booking_id parameter is acquired and filled.
Alert Logic Coverage
Alert Logic® has evaluated its customer base for exposure to the exploit and has developed signatures for mitigating the threat depending on the security service in place.
The Network-Based Intrusion Detection System (IDS) has been updated with the new signatures for this exploit when detected via Alert Logic Threat Manager™. If this signature is detected, an incident is generated in the Alert Logic console.
Detection of this threat is provided via Alert Logic ActiveWatch for Web Security Manager service. Depending on your deployment of Web Security Manager, you will receive an incident (for out-of-band deployment) or the threat will be actively blocked and rejected (for the inline Web Security Manager Premier deployment) if an exploit attempt is observed.
Recommendations for Mitigation
To remediate this issue, complete the following steps:
- Update the Booking Calendar plugin to version 6.2.2.
- Check the database for evidence of successful execution of the flagged SQLi.