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

CVE-2024-37431

CVE-2024-37431 Cross-Site Request Forgery in Extendthemes
📅 PUBLISHED: 2025-01-02 12:15 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.16%
👁️
0.16% probability
4.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1204
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
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: N Privileges Required None
UI: R User Interaction Required
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-2024-37431 is a Cross-Site Request Forgery (CSRF) vulnerability identified in the Mesmerize WordPress theme, developed by Extendthemes. This vulnerability affects all versions up to and including 1.6.120. The flaw allows an attacker to trick an authenticated administrator into performing unintended actions, such as modifying theme settings or injecting malicious content, without their consent. Given that this is a WordPress ecosystem issue, the attack surface is significant due to the widespread use of the theme. The CVSS score of 4.3 (Medium) reflects the low complexity of exploitation but the requirement for user interaction. No public proof-of-concept (PoC) or exploit code has been released, and the patch status remains unknown.

⚡ 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 WordPress ecosystem, targeting the Mesmerize theme. As a WordPress plugin/theme, it is distributed via the official WordPress repository and third-party marketplaces. The lack of a confirmed patch means that users must rely on manual mitigation or disabling the theme until a fix is provided. The risk is amplified by the fact that many WordPress sites may have auto-updates disabled or may be running outdated versions.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack can be launched remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – The attacker does not need authentication.
  • User Interaction (UI): Required (R) – The victim must click a link or visit a malicious page.
  • Scope (S): Unchanged (U) – The impact is confined to the vulnerable component.
  • Confidentiality (C): None (N) – No data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data (e.g., theme settings).
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The vulnerability requires user interaction, but the potential for privilege escalation or site defacement makes it a concern for WordPress site administrators.

Deep Dive & Mechanics

The Mesmerize theme lacks proper CSRF nonce validation on certain administrative actions. In WordPress, CSRF tokens (nonces) are used to verify that requests originate from the legitimate user. Without this check, an attacker can craft a malicious link or form that, when clicked by an authenticated admin, will execute actions on the admin's behalf.

Attack Flow:

  1. The attacker identifies a vulnerable endpoint in the Mesmerize theme (e.g., a settings save action).
  2. The attacker crafts a malicious HTML page or email containing a forged request (e.g., changing the site's homepage layout).
  3. The victim (authenticated admin) visits the malicious page or clicks the link.
  4. The forged request is sent to the WordPress site with the victim's cookies, and the action is executed.

Impact: An attacker could modify theme options, inject malicious JavaScript (stored XSS), or change site appearance. This could lead to further compromise if combined with other vulnerabilities.

Vulnerable vs. Patched Code

Since no patch is available, a comparison cannot be made. However, the fix would typically involve adding a wp_nonce_field() and check_admin_referrer() or check_ajax_referrer() call to all administrative actions within the theme.

Vulnerable Code Example (Hypothetical):

function mesmerize_save_settings() {
    // No nonce check
    update_option('mesmerize_settings', $_POST['settings']);
}

Patched Code Example (Hypothetical):

function mesmerize_save_settings() {
    if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'mesmerize_save_settings')) {
        wp_die('Security check failed.');
    }
    update_option('mesmerize_settings', $_POST['settings']);
}

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress site running Mesmerize <= 1.6.120.
  • An authenticated admin session (victim).

Exploitation Steps:

  1. Identify a vulnerable action (e.g., changing the theme's custom CSS).
  2. Create a malicious HTML page that auto-submits a form:
    <html>
    <body>
    <form action="http://target-site.com/wp-admin/admin-ajax.php?action=mesmerize_save_css" method="POST">
        <input type="hidden" name="css" value="body { background: red; }">
        <input type="submit" value="Click me">
    </form>
    <script>document.forms[0].submit();</script>
    </body>
    </html>
    
  3. Host the page and send the link to the victim (e.g., via email or social engineering).
  4. Once the victim clicks, the CSS is changed, defacing the site.

Note: No public exploit code is available; this is a hypothetical example.

Blue Team (Defensive)

Detection:

  • Monitor for unexpected changes to theme settings or custom CSS.
  • Look for HTTP requests to /wp-admin/admin-ajax.php with suspicious parameters and no _wpnonce field.
  • Use web application firewalls (WAF) to block requests lacking CSRF tokens.

Prevention:

  • Disable the Mesmerize theme until a patch is released.
  • Implement additional CSRF protection at the server level (e.g., SameSite cookies).
  • Educate administrators about phishing attacks.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP POST requests to /wp-admin/admin-ajax.php with action=mesmerize_* parameters.
    • Referer headers from external domains (e.g., attacker-controlled sites).
  • File IOCs:
    • Modified theme files in /wp-content/themes/mesmerize/ (e.g., functions.php or customizer.php).
  • Log IOCs:
    • WordPress debug logs showing unexpected option changes.
    • Apache/Nginx access logs with unusual POST requests to admin-ajax.php.

Detection Engineering

YARA Rule

rule CVE_2024_37431_CSRF_Mesmerize {
    meta:
        description = "Detects potential CSRF exploitation attempts against Mesmerize theme"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-37431"
    strings:
        $action = /action=mesmerize_[a-z_]+/ nocase
        $nonce_missing = /_wpnonce/ nocase
    condition:
        $action and not $nonce_missing
}

Sigma Rule

title: CVE-2024-37431 - CSRF Exploitation Attempt Against Mesmerize Theme
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP requests to Mesmerize admin actions without a CSRF nonce
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri|contains: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=mesmerize_'
        cs-uri-query|contains: '_wpnonce'
    condition: selection and not cs-uri-query|contains: '_wpnonce'
falsepositives:
    - Legitimate admin actions with nonce (should be rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-37431 - CSRF Attempt Against Mesmerize Theme"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=mesmerize_"; http_uri; pcre:"/^(?!.*_wpnonce).*$/Ui"; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Mesmerize theme and switch to a default WordPress theme (e.g., Twenty Twenty-Four) until a patch is available.
  2. Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php that lack a valid nonce.
  3. Monitor WordPress logs for any unauthorized changes to theme settings.

Long-Term Fix:

  • Apply the official patch from Extendthemes once released.
  • If you are a developer, manually add CSRF nonce checks to all theme actions (see Vulnerable vs. Patched Code section).

Workarounds:

  • Use a security plugin (e.g., Wordfence) that adds CSRF protection to all admin actions.
  • Restrict access to /wp-admin/ via IP whitelisting or .htaccess authentication.

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:"Mesmerize"
http.html:"mesmerize"
http.favicon.hash:-123456789
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-37431/ · 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.