CVE-2021-24340: WP Statistics < 13.0.8 - Unauthenticated SQL Injection

Published Jun 7, 2021
·
Updated

The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress escsql() 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 Software

1 affected component
VeronaLabs Wp Statistics Wordpress<13.0.8

Event History

Jun 7, 2021
CVE Published
via MITRE·10:49 AM
Data Sourced
via MITRE·10:49 AM
DescriptionWeakness

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID of this issue is CVE-2021-24340.

2

What is the severity of CVE-2021-24340?

The severity of CVE-2021-24340 is high (7.5).

3

What does the WP Statistics WordPress plugin rely on?

The WP Statistics WordPress plugin relies on using the WordPress esc_sql() function on a field not delimited by quotes.

4

What is the affected version of the WP Statistics WordPress plugin?

The affected version of the WP Statistics WordPress plugin is up to (but not including) 13.0.8.

5

Who had access to the vulnerable page?

The vulnerable page, which should have been accessible to administrators only, was also available to any visitor, including unauthorized users.

6

Are there any references for further information?

Yes, you can find more information about CVE-2021-24340 at the following references: [WPScan](https://wpscan.com/vulnerability/d2970cfb-0aa9-4516-9a4b-32971f41a19c) and [Wordfence](https://www.wordfence.com/blog/2021/05/over-600000-sites-impacted-by-wp-statistics-patch/).

7

What is the CWE category of this vulnerability?

The CWE category of this vulnerability is CWE-89.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203