mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
1.1 KiB
1.1 KiB
CVE-2021-24555
Description
The daac_delete_booking_callback function, hooked to the daac_delete_booking AJAX action, takes the id POST parameter which is passed into the SQL statement without proper sanitisation, validation or escaping, leading to a SQL Injection issue. Furthermore, the ajax action is lacking any CSRF and capability check, making it available to any authenticated user.
POC
Reference
- https://codevigilant.com/disclosure/2021/wp-plugin-diary-availability-calendar/
- https://wpscan.com/vulnerability/8eafd84b-6214-450b-869b-0afe7cca4c5f