Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.3, EPSS 0.4% (percentile 29).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/bookings/api-booking.php#L1213
- Riferimentohttps://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/bookings/api-booking.php#L288
- Riferimentohttps://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/bookings/api-booking.php#L84
- Riferimentohttps://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/customers/customer.php#L282
- Riferimentohttps://plugins.trac.wordpress.org/browser/timetics/tags/1.0.66/core/customers/customer.php#L351
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3818021/timetics/trunk/core/customers/customer.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/e33b5538-8807-44d5-9995-92e31af92758?source=cve