CVE-2021-24750 WP Visitor Statistics (Real Time Traffic) < 4.8 - Subscriber+ SQL Injection
Authenticated subscribers can perform SQL injection via the refUrl parameter in the WP Visitor Statistics plugin, potentially exposing or modifying database content.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24750?
CVE-2021-24750 is a high-severity SQL injection vulnerability in Unknown WP Visitor Statistics (Real Time Traffic), published on 21 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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
Weakness: CWE-89
Which versions are affected by CVE-2021-24750?
It affects 1 product.
Products include Codepress Visitor Statistics.
How do I fix CVE-2021-24750?
No fix has been published for CVE-2021-24750 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-24750 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24750 exists.
Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in Unknown WP Visitor Statistics (Real Time Traffic)
- CVE-2023-0600 WP Visitor Statistics (Real Time Traffic) < 6.9 - Unauthenticated SQLi
- CVE-2022-33965 WordPress WP Visitor Statistics plugin <= 5.7 - Multiple Unauthenticated SQL Injection (SQLi) vulnerabilities
- CVE-2022-0410 WP Visitor Statistics (Real Time Traffic) < 5.6 - Subscriber+ SQL Injection
- CVE-2022-4656 WP Visitor Statistics (Real Time Traffic) < 6.5 - Contributor+ Stored XSS via Shortcode
- CVE-2021-25042 WP Visitor Statistics (Real Time Traffic) < 5.5 - Arbitrary IP Address Exclusion to Stored XSS
Sources
Also known as GHSA-p934-c89c-rc2m.