CVE-2022-25149
WordPress vulnerability analysis and mitigation

Overview

The WP Statistics WordPress plugin versions up to 13.1.5 contains an unauthenticated SQL injection vulnerability (CVE-2022-25149). The vulnerability exists in the IP parameter found in the ~/includes/class-wp-statistics-hits.php file, which allows attackers to inject arbitrary SQL queries without requiring authentication (WPScan).

Technical details

The vulnerability is classified as a SQL Injection (SQLI) with a CVSS score of 9.8 (Critical). The issue occurs due to insufficient escaping and parameterization of the IP parameter in the class-wp-statistics-hits.php file. The vulnerability falls under the OWASP Top 10 category A1: Injection and is identified as CWE-89 (WPScan).

Impact

This vulnerability allows unauthenticated attackers to execute arbitrary SQL queries against the database, potentially leading to unauthorized access to sensitive information stored in the WordPress database (Wordfence).

Mitigation and workarounds

The vulnerability has been patched in version 13.1.6 of the WP Statistics plugin. Site administrators are strongly advised to update to this version or newer to protect against potential attacks (WPScan).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management