Critical Severity CVE-2026-119077
Published: Nov 20, 2026

[GitHub] CVE-2026-119077

Rce
Type
N/A
CVSS Score
13
Views
Anonymous
Author

Description

CVE-2026-119077 — ELEX HelpDesk & Customer Support Ticket System <= 3.3.9: unauthenticated PHP object injection → RCE. PoC, self-contained Docker lab, WAF-bypass (ModSecurity CRS), FOFA targeting. Analysis + tooling.

# CVE-2026-119077 — ELEX HelpDesk & Customer Support Ticket System ≤ 3.3.9

**Unauthenticated PHP Object Injection → Remote Code Execution**

A single anonymous GET (to harvest the nonce) plus a single anonymous POST reaches
`file_put_contents()` through an unserialization sink and writes an attacker-controlled
PHP file into `wp-content/uploads/` → webshell.

- **Affected:** `elex-helpdesk-customer-support-ticket-system` ≤ **3.3.9**
- **Fixed in:** **3.4.0** (2026-11-12) — adds `eh_crm_has_object_or_serialized_object()` /
`eh_crm_safe_unserialize()` in front of 26 sinks
- **Type:** CWE-502 Deserialization of Untrusted Data
- **Auth required:** none
- **Lab status:** verified end to end (3×), patched build confirmed negative
- **WAF status:** bypass validated against ModSecurity CRS 4.30.0 (see below)

## Root cause

`admin-ajax.php?action=eh_crm_new_ticket_post` is registered with
`wp_ajax_nopriv_` (`includes/class-crm-init-handler.php:51`), so anonymous users reach
`CRM_Ajax_Two::eh_crm_new_ticket_post()`. The handler contains the CSRF nonce publicly
(`support_object` JS object on any page rendering `[wsdesk_support]`), parses `form` with
`parse_str()`, stores allowlisted field values as ticket meta, then the auto-email path
calls `eh_crm_get_ticketmeta()` → `unserialize()` **without** `allowed_classes`
(`includes/class-crm-public-functions.php:875`). A serialized
`GuzzleHttp\Cookie\FileCookieJar` (bundled in the plugin's own `vendor/`) is rebuilt and its
`__destruct()` → `save()` → `file_put_contents()` writes the payload.

Guzzle writes a JSON array wrapper, but PHP executes any `<?php ?>` block inside a file
regardless of surrounding text — so the written file is a working webshell. The PHP payload
therefore must not contain a double quote.

## Prerequisite that dorks miss

The injection key must be an **allowlisted custom-field slug** (`wsdesk_settings.type='field'`).
In 3.3.9 the three default slugs are `unset()` and removed by the allowlist — **a clean 3.3.

Community Rating
0

Login to rate this exploit

Quick Actions