CVE-2022-0513 WP Statistics <= 13.1.4 Unauthenticated Blind SQL Injection via exclusion_reason

Critical 9.8 Published Updated

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.

Sources

Also known as GHSA-6gr9-x8m9-c46v.

Is CVE-2022-0513 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free