Exploitation Summary
CVE-2022-0651 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.
Description
The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_type 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.
Nuclei Templates (1)
WordPress Plugin WP Statistics <= 13.1.5 - SQL Injection
HIGHVERIFIEDby theamanrawat
Shodan:
http.html:/wp-content/plugins/wp-statistics/
FOFA:
body=/wp-content/plugins/wp-statistics/
References (3)
Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042
Third Party Advisory x_refsource_misc
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0651
Patch, Third Party Advisory x_refsource_misc
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=
Scores
CVSS v3
9.8
EPSS
0.3298
EPSS Percentile
98.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-89
Status
published
Products (1)
veronalabs/wp_statistics
< 13.1.5
Published
Feb 24, 2022
Tracked Since
Feb 18, 2026