Description
The Timetics – Appointment Booking Calendar & Scheduling System plugin for WordPress is vulnerable to unauthorized modification of data and user account creation in versions up to, and including, 1.0.67 This is due to the public `POST /wp-json/timetics/v1/bookings` route being registered with `permission_callback => function () { return true; }` and the handler (`create_item()` → `save_bookings()` → `booking_appointment()`) passing the attacker-controlled `email` directly into `Customer::make()`, which (a) grants the `timetics-customer` role to any existing WordPress user matched by email — including administrators and staff — and overwrites that account's `first_name`/`last_name` user meta, and (b) calls `wp_insert_user()` with role `timetics-customer` when the email is new, regardless of the site's `users_can_register` setting. This makes it possible for unauthenticated attackers to create arbitrary WordPress user accounts, assign the `timetics-customer` role to existing accounts (including administrators), and overwrite their profile metadata.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| arraytics | Appointment Booking Calendar & Scheduling – WPTimetics | ≤ 1.0.67 | — |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e33b5538-8807-44d5-9995-92e31af92758?source=cve
- https://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/customers/customer.php#L351
- https://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/customers/customer.php#L282
- https://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/bookings/api-booking.php#L1213
- https://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/bookings/api-booking.php#L288
- https://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/bookings/api-booking.php#L84
- https://plugins.trac.wordpress.org/changeset/3818021/timetics/trunk/core/customers/customer.php