7.5high
WP Statistics < 13.0.8 - Unauthenticated SQL Injection
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 29.8% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| VeronaLabs WP Statistics | from 13.0.8 before 13.0.8 | CVE List |
| veronalabs wp_statistics | before 13.0.8 | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.
NVD (es)
El plugin WP Statistics de WordPress versiones anteriores a 13.0.8, usaba la función esc_sql() de WordPress en un campo no delimitado por comillas y no preparaba primero la consulta. Además, la página, que debería haber sido accesible sólo para el administrador, también estaba disponible para cualquier visitante, incluyendo los no autenticados
References
| https://wpscan.com/vulnerability/d2970cfb-0aa9-4516-9a4b-32971f41a19c | exploit, third-party-advisory | |
| https://www.wordfence.com/blog/2021/05/over-600000-sites-impacted-by-wp-statistics-patch/ | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24340 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24340 changed 2026-06-17 | Public domain |