SQL injection in WP Statistics - CVE-2021-24340

 

SQL injection in WP Statistics - CVE-2021-24340

Published: May 20, 2021


Vulnerability identifier: #VU53400
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-24340
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data in the "ID" and "type" input parameters in "esc_sql" function. A remote attacker can send a specially crafted request to the affected application and extract sensitive data from the site, such as user emails, password hashes, encryption keys and salts.


Affected software

WP Statistics

How to mitigate CVE-2021-24340

Install updates from vendor's website.

WP Statistics - update to 13.0.8

External References

Related Security Bulletins