cbcvebase.
CVE-2022-25148
published 2022-02-24

CVE-2022-25148: The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id parameter found in…

PriorityP276high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EXPLOIT
EPSS
81.36%
99.6th percentile
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.

Affected

2 ranges
VendorProductVersion rangeFixed in
veronalabswp_statistics<= 13.1.5
wp_statisticswp_statistics13.1.5 – 13.1.5

Detection & IOCsextracted from sources · hover to see the quote

path~/includes/class-wp-statistics-hits.php
othercurrent_page_id
  • Unauthenticated time-based SQL injection via the current_page_id parameter in WP Statistics plugin versions up to and including 13.1.5; no authentication required to exploit.
  • Successful exploitation of the hit-recording endpoint returns HTTP 200 with Content-Type application/json and body containing 'Visitor Hit was recorded successfully'; use this as a positive response indicator when probing.
  • A valid _wpnonce value must be extracted from the page before injecting; monitor for automated nonce-harvesting requests followed immediately by POST requests containing time-delay SQL payloads to the WP Statistics hit endpoint.
  • ·Vulnerability affects WP Statistics plugin versions up to and including 13.1.5 only; verify installed version before applying detections.

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.