8.8high
Diary & Availability Calendar <= 1.0.3 - Authenticated (subscriber+) SQL Injection
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Diary & Availability Calendar | from 1.0.3 up to 1.0.3 | CVE List |
| roosty diary-availability-calendar | up to 1.0.3 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
La función daac_delete_booking_callback, enganchada a la acción daac_delete_booking AJAX, toma el parámetro id POST que es pasado a la sentencia SQL sin el saneo, comprobación o escape apropiado, conllevando a un problema de inyección SQL. Además, la acción ajax carece de cualquier comprobación de tipo CSRF y capacidad, haciéndola disponible para cualquier usuario autenticado.
References
| https://wpscan.com/vulnerability/8eafd84b-6214-450b-869b-0afe7cca4c5f | exploit, third-party-advisory | |
| https://codevigilant.com/disclosure/2021/wp-plugin-diary-availability-calendar/ | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24555 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24555 changed 2026-06-17 | Public domain |