CVE-2022-25149 WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via IP

Critical 9.8 Published Updated

Unauthenticated attackers can inject SQL queries via the IP parameter to obtain sensitive information from the WP Statistics plugin.

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-25149?

CVE-2022-25149 is a critical SQL injection vulnerability in WP Statistics, published on 24 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 IP parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without authentication to inject arbitrary SQL queries to obtain sensitive information, in versions up to and including 13.1.5.

Weakness: CWE-89

Which versions are affected by CVE-2022-25149?

It affects 1 product.

Products include Veronalabs Wp Statistics.

How do I fix CVE-2022-25149?

No fix has been published for CVE-2022-25149 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-25149 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25149 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-gmjf-vvgp-p553.

Is CVE-2022-25149 in your software?

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

Check your SBOMs for free