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.
References
Link | Resource |
---|---|
https://plugins.trac.wordpress.org/changeset/2671297/wp-statistics/trunk/includes/class-wp-statistics-hits.php | Patch Third Party Advisory |
https://www.wordfence.com/blog/2022/02/unauthenticated-sql-injection-vulnerability-patched-in-wordpress-statistics-plugin/ | Exploit Patch Third Party Advisory |
https://plugins.trac.wordpress.org/changeset/2671297/wp-statistics/trunk/includes/class-wp-statistics-hits.php | Patch Third Party Advisory |
https://www.wordfence.com/blog/2022/02/unauthenticated-sql-injection-vulnerability-patched-in-wordpress-statistics-plugin/ | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:38
Type | Values Removed | Values Added |
---|---|---|
References | () https://plugins.trac.wordpress.org/changeset/2671297/wp-statistics/trunk/includes/class-wp-statistics-hits.php - Patch, Third Party Advisory | |
References | () https://www.wordfence.com/blog/2022/02/unauthenticated-sql-injection-vulnerability-patched-in-wordpress-statistics-plugin/ - Exploit, Patch, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 9.8 |
Information
Published : 2022-02-16 17:15
Updated : 2024-11-21 06:38
NVD link : CVE-2022-0513
Mitre link : CVE-2022-0513
CVE.ORG link : CVE-2022-0513
JSON object : View
Products Affected
veronalabs
- wp_statistics
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')