CVE-2022-25148
WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via current_page_id
Record summary
CVE-2022-25148 has a selected CVSS score of 9.8 (critical); EIP currently links 1 catalogued exploit and 1 Nuclei template.
Description
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id 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.
Exploitation context
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
WP StatisticsBrowse WP Statistics / WP Statistics | CVE List | 13.1.5 to ≤ 13.1.5 | affected |
Proofs of concept
1Catalogued exploits
ExploitDBWP Statistics Plugin 13.1.5 current_page_id - Time based SQL injection (Unauthenticated)ExploitDB exploitby psychoSherlockNot analyzed1 file
Nuclei templates
1ProjectDiscoveryCRITICALWordPress Plugin WP Statistics <= 13.1.5 - SQL InjectionCVSS 9.8
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id 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.
Impact
Unauthenticated attackers can execute time-based SQL injection through the current_page_id parameter to extract the complete WordPress database including user credentials, visitor statistics, and site analytics data.
Remediation
Update wp-statistics plugin to version 13.1.6, or newer.
Source: ProjectDiscovery