CVE-2022-0513 WP Statistics <= 13.1.4 Unauthenticated Blind SQL Injection via exclusion_reason
Unauthenticated attackers can inject SQL queries to read sensitive data if the Record Exclusions option is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-0513?
CVE-2022-0513 is a critical SQL injection vulnerability in VeronaLabs WP Statistics, published on 16 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the exclusion_reason parameter found in the ~/includes/class-wp-statistics-exclusion.php file which allows attackers without authentication to inject arbitrary SQL queries to obtain sensitive information, in versions up to and including 13.1.4. This requires the "Record Exclusions" option to be enabled on the vulnerable site.
Weakness: CWE-89
Which versions are affected by CVE-2022-0513?
It affects 1 product.
Products include Veronalabs Wp Statistics.
How do I fix CVE-2022-0513?
No fix has been published for CVE-2022-0513 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-0513 being exploited?
There is no known exploitation of CVE-2022-0513 in the wild and no public exploit code.
Other vulnerabilities in VeronaLabs WP Statistics
- CVE-2022-38074 WordPress WP Statistics Plugin <= 13.2.10 is vulnerable to SQL Injection
- CVE-2022-0651 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via current_page_type
- CVE-2022-25148 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via current_page_id
- CVE-2022-25149 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via IP
- CVE-2017-18515 SQL injection in n/a
Sources
Also known as GHSA-6gr9-x8m9-c46v.