7.1high
IP2Location Country Blocker < 2.26.6 - Arbitrary Country Ban via CSRF
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The IP2Location Country Blocker WordPress plugin before 2.26.6 does not have CSRF check in the ip2location_country_blocker_save_rules AJAX action, allowing attackers to make a logged in admin block arbitrary country, or block all of them at once, preventing users from accessing the frontend.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown IP2Location Country Blocker | from 2.26.6 before 2.26.6 | CVE List |
| ip2location country_blocker | before 2.26.6 | NVD |
All scores
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Classification
What each source says
CVE List
The IP2Location Country Blocker WordPress plugin before 2.26.6 does not have CSRF check in the ip2location_country_blocker_save_rules AJAX action, allowing attackers to make a logged in admin block arbitrary country, or block all of them at once, preventing users from accessing the frontend.
NVD (es)
El plugin IP2Location Country Blocker de WordPress versiones anteriores a 2.26.6, no presenta una comprobación de tipo CSRF en la acción AJAX ip2location_country_blocker_save_rules, lo que permite a atacantes hacer que un administrador registrado bloquee un país arbitrario, o que los bloquee todos a la vez, impidiendo que los usuarios accedan al frontend
References
| https://wpscan.com/vulnerability/9d416ca3-bd02-4fcf-b3b8-f2f2280d02d2 | exploit, third-party-advisory | |
| https://plugins.trac.wordpress.org/changeset/2653459 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25108 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-25108 changed 2026-06-17 | Public domain |