Auth bypass in Codepress Visitor Statistics

CVE-2021-25042

The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin

Vulnerability class: Broken Access Control

EPSS: 0.005 (41.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-25042?
CVE-2021-25042 is a medium-severity vulnerability in Codepress Visitor Statistics, classified under Missing Authorization. CVSS score: 5.4/10. Published 2022-02-28.
How severe is CVE-2021-25042?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2021-25042 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.