CVE-2021-25095 IP2Location Country Blocker < 2.26.5 - Subscriber+ Arbitrary Country Ban
Authenticated subscribers can block arbitrary countries via an unprotected AJAX action, causing denial of service for frontend users.
- 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-25095?
CVE-2021-25095 is a high-severity missing authorization vulnerability in Unknown IP2Location Country Blocker, published on 7 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The IP2Location Country Blocker WordPress plugin before 2.26.5 does not have authorisation and CSRF checks in the ip2location_country_blocker_save_rules AJAX action, allowing any authenticated users, such as subscriber to call it and block arbitrary country, or block all of them at once, preventing users from accessing the frontend.
Which versions are affected by CVE-2021-25095?
It affects 1 product.
Products include Ip2location Country Blocker.
How do I fix CVE-2021-25095?
No fix has been published for CVE-2021-25095 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-25095 being exploited?
There is no known exploitation of CVE-2021-25095 in the wild and no public exploit code.
Other vulnerabilities in Unknown IP2Location Country Blocker
- CVE-2025-1361 Missing authorization in IP2Location Country Blocker
- CVE-2021-25108 IP2Location Country Blocker < 2.26.6 - Arbitrary Country Ban via CSRF
- CVE-2021-25096 IP2Location Country Blocker < 2.26.5 - Ban Bypass
- CVE-2025-24731 WordPress IP2Location Country Blocker plugin <= 2.38.3 - Cross Site Scripting (XSS) vulnerability
- CVE-2023-37865 WordPress IP2Location Country Blocker plugin <= 2.29.1 - IP Bypass Vulnerability vulnerability
Sources
Also known as GHSA-hgh9-57mp-975h.