SQL Injection in Codepress Visitor Statistics
CVE-2021-24750
The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 4.8 does not properly sanitise and escape the refUrl in the refDetails AJAX action, available to any authenticated user, which could allow users with a role as low as subscriber to perform SQL injection attacks
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.383, 98.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Codepress Visitor Statistics
- Wp Visitor Statistics (Real Time Traffic) — versions 4.8
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- fimtow/CVE-2021-24750 (1 star, last pushed 2022-01-18): Demonstration of the WP Visitor Statistics plugin exploit
Also mentioned in 21 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- wpscan.com/vulnerability/7528aded-b8c9-4833-89d6-9cd7df3620de (Exploit, Third Party Advisory)
- plugins.trac.wordpress.org/changeset/2622268 (Patch, Third Party Advisory)
- packetstormsecurity.com/files/165433/WordPress-WP-Visitor-Statistics-4.7-SQL-In… (Exploit, VDB Entry, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.