CVE-2026-9180
Beschrijving NL
De MotoPress Appointment Booking-plug-in voor WordPress is kwetsbaar voor Authorization Bypass Through User-Controlled Key in alle versies tot en met 2.4.4. Dit komt doordat het rest-eindpunt `POST /motopress/appointment/v1/bookings` is geregistreerd met '' permission_callback `=>' __return_true '', waardoor niet-geverifieerde toegang mogelijk is, terwijl de `createBooking` -handler in `BookingsRestController.php` een door de aanvaller geleverde `payment_details.booking_id` waarde accepteert en de betreffende boeking laadt via `findById ()` zonder te verifiëren dat de beller eigenaar is van of rechten heeft op die boeking. Dit maakt het mogelijk voor niet-geverifieerde aanvallers om de klantnaam, het e-mailadres, het telefoonnummer en `customer_id` van elke niet-bevestigde slachtofferboeking te overschrijven door een verzoek in te dienen zonder reserveringsitems, waardoor `BookingService:: createBooking ()` het bestaande slachtofferboekingsobject laadt en blijft bestaan met door aanvallers gecontroleerde klantgegevens. Slachtofferboekings-ID's kunnen voorafgaand aan de exploitatie zonder authenticatie worden geoogst door het ook openbaar toegankelijke eindpunt `GET /motopress/appointment/v1/bookings/reservations` te raadplegen met een te raden `service_id` en datumbereik, en alleen boekingen waarvan de status niet `STATUS_CONFIRMED` is (bijvoorbeeld in behandeling of automatisch opgesteld) zijn geldige doelen.
Origineel (Engels) tonen
The MotoPress Appointment Booking plugin for WordPress is vulnerable to Authorization Bypass Through User-Controlled Key in all versions up to, and including, 2.4.4. This is due to the `POST /motopress/appointment/v1/bookings` REST endpoint being registered with `'permission_callback' => '__return_true'`, allowing unauthenticated access, while the `createBooking` handler in `BookingsRestController.php` accepts an attacker-supplied `payment_details.booking_id` value and loads the referenced booking via `findById()` without verifying that the caller owns or has any rights to that booking. This makes it possible for unauthenticated attackers to overwrite the customer name, email address, phone number, and `customer_id` of any non-confirmed victim booking by submitting a request with no reservation items, causing `BookingService::createBooking()` to load the existing victim booking object and persist it with attacker-controlled customer data. Victim booking IDs can be harvested prior to exploitation without authentication by querying the also-publicly-accessible `GET /motopress/appointment/v1/bookings/reservations` endpoint with a guessable `service_id` and date range, and only bookings whose status is not `STATUS_CONFIRMED` (e.g., pending or auto-draft) are valid targets.