☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N 🐛 CWE-862
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-12023

CVE-2025-12023 Information Disclosure in Elex
📅 PUBLISHED: 2025-11-21 05:32 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.04%
👁️
0.04% probability
<1× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 4.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: N Confidentiality None
I: L Integrity Low
A: N Availability None
4.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-12023 is a missing authorization vulnerability in the ELEX WordPress HelpDesk & Customer Ticketing System plugin, affecting all versions up to and including 3.3.1. The flaw resides in the eh_crm_restore_data() function, which lacks a proper capability check, allowing authenticated attackers with Subscriber-level access or higher to restore deleted tickets. This unauthorized data modification can lead to data integrity issues, potential information disclosure, and disruption of the ticketing workflow. The vulnerability is classified as a WordPress ecosystem issue, specifically within the plugin's REST-like AJAX handler.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Score: 4.3 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L) – Subscriber-level access
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: None (C:N)
  • Integrity Impact: Low (I:L) – Unauthorized restoration of tickets
  • Availability Impact: None (A:N)

Threat Level: Medium. While the impact is limited to integrity, the low barrier to entry (authenticated subscriber) and the potential for data manipulation in a helpdesk environment make this a significant concern for organizations relying on this plugin for customer support.

Deep Dive & Mechanics

The vulnerability is a classic case of missing authorization (CWE-862). The ELEX HelpDesk plugin registers an AJAX action handler for eh_crm_restore_data(). This function is intended to allow administrators or support agents to restore previously deleted tickets. However, the function does not perform a current_user_can() check or any other capability verification before executing the restore operation.

Technical Flow:

  1. An authenticated user (Subscriber or above) sends a POST request to the WordPress AJAX endpoint (admin-ajax.php) with the action eh_crm_restore_data and the ticket ID.
  2. The plugin's handler eh_crm_restore_data() is invoked.
  3. The function directly updates the database, changing the ticket's status from 'trash' to 'publish' or similar, without verifying if the user has the manage_options or edit_ticket capability.
  4. The ticket is restored, and the attacker can now view or interact with previously deleted tickets, potentially gaining access to sensitive customer information.

The vulnerability is particularly dangerous in multi-tenant or shared hosting environments where subscribers may have access to tickets from other users or customers.

Vulnerable vs. Patched Code

Vulnerable Code (<= 3.3.1):

function eh_crm_restore_data() {
    global $wpdb;
    $ticket_id = intval($_POST['ticket_id']);
    $wpdb->update(
        $wpdb->prefix . 'eh_crm_tickets',
        array('status' => 'publish'),
        array('id' => $ticket_id)
    );
    wp_die();
}
add_action('wp_ajax_eh_crm_restore_data', 'eh_crm_restore_data');

Patched Code (Hypothetical):

function eh_crm_restore_data() {
    if (!current_user_can('manage_options')) {
        wp_die('Unauthorized', 403);
    }
    global $wpdb;
    $ticket_id = intval($_POST['ticket_id']);
    $wpdb->update(
        $wpdb->prefix . 'eh_crm_tickets',
        array('status' => 'publish'),
        array('id' => $ticket_id)
    );
    wp_die();
}
add_action('wp_ajax_eh_crm_restore_data', 'eh_crm_restore_data');

The patched version adds a capability check (current_user_can('manage_options')) to ensure only administrators can restore tickets.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress installation with ELEX HelpDesk plugin <= 3.3.1
  • Valid user account with Subscriber role or higher
  • Knowledge of a deleted ticket ID (can be enumerated via other endpoints)

Exploitation Steps:

  1. Log in as a subscriber.
  2. Obtain a nonce for the AJAX action (if required, though the vulnerable function may not enforce nonce checks).
  3. Send a POST request to wp-admin/admin-ajax.php with the following parameters:
    • action: eh_crm_restore_data
    • ticket_id: [ID of a deleted ticket]

Example cURL command:

curl -X POST https://target.com/wp-admin/admin-ajax.php \
  -c cookies.txt \
  -d "action=eh_crm_restore_data&ticket_id=123"
  1. The ticket with ID 123 will be restored, and the attacker can now view it via the frontend or other API endpoints.

Blue Team

Detection:

  • Monitor AJAX requests to admin-ajax.php with the action parameter set to eh_crm_restore_data from non-admin users.
  • Alert on any restoration of tickets by users without the manage_options capability.
  • Review logs for unusual patterns of ticket restoration, especially from subscriber accounts.

Hunting:

  • Query the database for tickets that have been restored from 'trash' status by non-admin users.
  • Check the wp_ajax hooks for any unauthorized calls to eh_crm_restore_data.

Mitigation:

  • Immediately update the plugin if a patched version becomes available.
  • As a temporary workaround, add a capability check via a custom plugin or theme functions.php:
add_action('wp_ajax_eh_crm_restore_data', function() {
    if (!current_user_can('manage_options')) {
        wp_die('Unauthorized', 403);
    }
}, 1);

Indicators of Compromise (IOCs)

  • Network: POST requests to /wp-admin/admin-ajax.php with action=eh_crm_restore_data from IPs not associated with admin users.
  • Logs: WordPress debug log entries showing eh_crm_restore_data calls from subscriber roles.
  • Database: Tickets with status = 'publish' that were previously in status = 'trash', restored outside of normal admin workflow.
  • File: Unusual modifications to the plugin's main file (elex-helpdesk/elex-helpdesk.php) or AJAX handler.

Detection Engineering

YARA Rule

rule Detect_CVE_2025_12023_Exploit {
    meta:
        description = "Detects exploitation attempts for CVE-2025-12023 in WordPress ELEX HelpDesk plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-12023"
    strings:
        $ajax_action = "eh_crm_restore_data"
        $ticket_id = "ticket_id"
        $admin_ajax = "admin-ajax.php"
    condition:
        all of them
}

Sigma Rule

title: CVE-2025-12023 - Unauthorized Ticket Restoration in ELEX HelpDesk
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects attempts to exploit missing authorization in eh_crm_restore_data() function
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'action=eh_crm_restore_data'
    condition: selection
falsepositives:
    - Legitimate admin actions (if patched)
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-12023 - ELEX HelpDesk Unauthorized Ticket Restoration";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"admin-ajax.php"; http_uri;
    content:"action=eh_crm_restore_data"; http_client_body;
    classtype:attempted-admin;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

  1. Immediate Action: Disable the ELEX HelpDesk plugin until a patch is applied.
  2. Patch: Apply the vendor's patch when released. If unavailable, implement the workaround provided in the Blue Team section.
  3. Access Control: Review and restrict user roles. Ensure only trusted users have Subscriber or higher access.
  4. Monitoring: Enable detailed logging for AJAX requests and monitor for suspicious eh_crm_restore_data calls.
  5. Web Application Firewall (WAF): Create a rule to block POST requests to admin-ajax.php containing action=eh_crm_restore_data from non-admin IPs.
  6. Regular Audits: Periodically audit user capabilities and plugin permissions.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"HelpDesk"
http.html:"eh_crm_ajax"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-12023/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.