Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site running IP2Location Country Blocker
-
DeliveryIdentify an allowlisted country IP range
-
ExploitForge X-Real-IP header in HTTP request
-
ExecutionPlugin resolves client country from forged header
-
ImpactAccess granted to geo-restricted content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The IP2Location Country Blocker plugin must be installed, active, and configured with at least one IP-based restriction rule (page-level, link-level, or site-wide) for any exploitation to be meaningful. The attack requires no authentication, no prior access to the site, and no specific knowledge of the allowlisted IP ranges beyond publicly known country-to-IP allocations. Exploitation is strictly bounded to accessing geo-restricted content; it does not grant WordPress administrative access, modify site data, or affect server availability. Sites that have the plugin installed but have configured no restriction rules are not at risk. Additionally, if upstream infrastructure (CDN, load balancer, or WAF) strips or overwrites the X-Real-IP header before it reaches PHP, the bypass is neutralized at the network layer regardless of plugin version. |
| Impact | The CVSS 4.0 score of 6.9 reflects a network-accessible (AV:N), low-complexity (AC:L), unauthenticated (PR:N), zero-user-interaction (UI:N) attack with limited confidentiality impact (VC:L) and no integrity or availability effect - a reasonable calibration of the actual threat. SSVC rates exploitation as currently 'none' observed while flagging the attack as automatable, meaning scan-and-exploit tooling could trivially sweep WordPress installations and append the forged header at scale; even a mid-sized managed hosting provider or municipal IT team in olsztyn maintaining geo-restricted WordPress sites should treat this as a medium-priority patch rather than a critical emergency, since the damage ceiling is access to geo-blocked content rather than administrative compromise or data exfiltration. The absence of a KEV listing and any confirmed public PoC corroborates the SSVC 'none' exploitation rating, and the narrow confidentiality impact (VC:L, SC:N) confirms this does not cascade into broader system compromise. |
| Exploit ScenarioDerived | An attacker targeting a WordPress site that restricts a subscriber-only section to visitors from specific countries crafts an HTTP GET request to the restricted URL and appends the header 'X-Real-IP: 1.2.3.4', where 1.2.3.4 belongs to an allowlisted country. The plugin reads the header, resolves it to an allowed country via its IP database, and grants full access to the restricted content - requiring no credentials, no special network position, and no prior reconnaissance beyond knowing the target URL. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
IP-based geo-restriction bypass in IP2Location Country Blocker for WordPress (all versions before 2.45.0) allows unauthenticated remote attackers to access restricted pages, links, or entire sites by forging the X-Real-IP HTTP header with an allowlisted IP address. The plugin resolves the client's country from this user-controlled header without validating it against the actual TCP connection source, making any IP-based access control rule trivially defeatable. No public exploit or active exploitation has been confirmed, but SSVC classifies the attack as automatable with partial technical impact.
RemediationAI
Update IP2Location Country Blocker to version 2.45.0 or later, which contains the vendor-released patch addressing the X-Real-IP header trust issue; the update is available through the standard WordPress plugin repository at https://wordpress.org/plugins/ip2location-country-blocker/. As an immediate compensating control prior to patching, administrators should configure their web server or reverse proxy (nginx using proxy_set_header, Apache mod_remoteip, or a WAF/CDN rule) to strip or authoritatively overwrite the X-Real-IP header so that only trusted upstream infrastructure can set it - this eliminates the spoofing vector but requires infrastructure-level access and does not replace the plugin update. Sites behind a CDN that already enforces trusted IP propagation may have reduced exposure, but plugin-level validation is still required for defense in depth.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
IP2Location Country Blocker is a WordPress plugin (CPE: cpe:2.3:a:ip2location:ip2location_country_blocker) that enforces geo-fencing by mapping client IP addresses to countries and selectively blocking or permitting access. The root cause is CWE-290 (Authentication Bypass by Spoofing): the plugin derives the client IP from the X-Real-IP HTTP request header - a header conventionally set by reverse proxies and load balancers to convey the originating client's address - without verifying that the value is consistent with the actual TCP connection or that it was set by trusted infrastructure. Because HTTP headers are fully attacker-controllable, any remote client can inject an arbitrary IP value, including one belonging to an allowlisted country, and the plugin's country-lookup logic will treat that forged value as authoritative.
Know when Ip2Location Country Blocker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-accessible with no auth or interaction; confidentiality impact limited to bypassing geo-restricted content, no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
IP2Location Country Blocker plugin for WordPress before 2.45.0 contains an access control bypass vulnerability that allows unauthenticated remote attackers to circumvent IP-based restrictions by forging the X-Real-IP HTTP header. Attackers can set the X-Real-IP header to an allowlisted IP address to bypass page, link, or site-wide access restrictions and access otherwise-blocked resources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-75018
GHSA-hxq7-w32x-hwx5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB