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

CVE-2024-52436

CVE-2024-52436 SQL Injection in Wpexperts
📅 PUBLISHED: 2024-11-18 15: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: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.29%
👁️
0.29% probability
7.3× 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.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.6
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: L Integrity Low
A: L Availability Low
7.6
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-52436 is a critical Blind SQL Injection vulnerability discovered in the WordPress plugin Post SMTP by Wpexperts. The vulnerability affects all versions from n/a through 2.9.9. An unauthenticated attacker can exploit improper neutralization of special elements used in an SQL command, leading to potential data exfiltration, modification, or denial of service. The CVSS score of 7.6 (High) reflects the ease of exploitation and the high impact on confidentiality. As of this report, no official patch has been released, and no public proof-of-concept (PoC) code is available.

⚡ 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 resides in a WordPress plugin ecosystem. The plugin is distributed via the official WordPress plugin repository and can be installed automatically by site administrators. The lack of a patch means that all sites running Post SMTP <= 2.9.9 are at risk. Supply chain risk is elevated because the plugin is widely used for email delivery, and a compromise could lead to email credential theft or server-side data breaches.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Vulnerability cannot affect other components.
  • Confidentiality (C): High (H) – Full database read access possible.
  • Integrity (I): Low (L) – Limited data modification possible.
  • Availability (A): Low (L) – Potential for database disruption.

Threat Level: High. The combination of network exploitability, no privileges required, and high confidentiality impact makes this a prime target for automated scanning and exploitation.

Deep Dive & Mechanics

The vulnerability exists in the post-smtp plugin's handling of user-supplied input within SQL queries. The plugin fails to properly sanitize or parameterize input passed to SQL statements, allowing an attacker to inject arbitrary SQL commands. Because the error messages are suppressed or generic, the injection is blind, meaning the attacker must infer database structure through boolean-based or time-based techniques.

The vulnerable code likely resides in functions that process AJAX requests or shortcode parameters, where user input is directly concatenated into SQL queries. For example, a parameter like id might be used in a WHERE clause without proper escaping.

Vulnerable vs. Patched Code

Vulnerable Code (<= 2.9.9):

$id = $_GET['id'];
$result = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}post_smtp_logs WHERE id = $id" );

Patched Code (Hypothetical):

$id = intval( $_GET['id'] );
$result = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}post_smtp_logs WHERE id = %d", $id ) );

The patched version uses intval() to ensure the input is an integer and $wpdb->prepare() for parameterized queries, preventing SQL injection.

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Install WordPress with Post SMTP plugin version 2.9.9.
  2. Ensure the plugin is active and accessible via web.

Exploitation Steps: Since no public PoC exists, a blind SQL injection can be tested using time-based techniques. Example payload for boolean-based blind injection:

GET /wp-admin/admin-ajax.php?action=post_smtp_log&id=1 AND 1=1 -- -

If the response time is normal, the condition is true. For time-based:

GET /wp-admin/admin-ajax.php?action=post_smtp_log&id=1 AND SLEEP(5) -- -

A 5-second delay confirms injection.

Automated Exploitation: Use sqlmap with a request file:

sqlmap -r request.txt --batch --dbms=mysql --technique=T

Blue Team

Detection:

  • Monitor for unusual SQL query patterns in database logs.
  • Look for HTTP requests containing AND, OR, SLEEP, or BENCHMARK in parameters.
  • Alert on response delays > 2 seconds for normal requests.

Hunting:

  • Search for requests to /wp-admin/admin-ajax.php with action=post_smtp_log and suspicious id parameters.
  • Correlate with database error logs for SQL syntax errors.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /wp-admin/admin-ajax.php with action=post_smtp_log and parameters containing SQL keywords.
  • Host: Database logs showing unexpected queries like SELECT * FROM wp_post_smtp_logs WHERE id = 1 AND SLEEP(5).
  • File: Modified plugin files (if attacker uploads webshell) – check for unexpected PHP files in /wp-content/plugins/post-smtp/.

Detection Engineering

YARA Rule

rule CVE_2024_52436_Post_SMTP_SQLi {
    meta:
        description = "Detects SQL injection attempts against Post SMTP plugin"
        author = "Valters IT"
        date = "2025-01-01"
        reference = "CVE-2024-52436"
    strings:
        $sqli1 = /id=[0-9]+.*(AND|OR|SLEEP|BENCHMARK|UNION|SELECT)/i
        $sqli2 = /action=post_smtp_log/
    condition:
        all of them
}

Sigma Rule

title: CVE-2024-52436 Post SMTP SQL Injection Attempt
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects SQL injection attempts against Post SMTP plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 'action=post_smtp_log'
        cs-uri-query|re: 'id=[0-9]+.*(AND|OR|SLEEP|BENCHMARK|UNION|SELECT)'
    condition: selection
falsepositives:
    - Legitimate use of numeric IDs with common words (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-52436 Post SMTP SQL Injection Attempt"; flow:to_server,established; content:"GET"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=post_smtp_log"; http_uri; pcre:"/id=[0-9]+.*(AND|OR|SLEEP|BENCHMARK|UNION|SELECT)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Post SMTP plugin until a patch is released.
  2. Implement a Web Application Firewall (WAF) rule to block SQL injection patterns in id parameters.
  3. Monitor database logs for suspicious queries.

Long-term Fix:

  • Apply the official patch when released by Wpexperts.
  • Upgrade to a patched version (currently unknown).
  • Consider switching to an alternative SMTP plugin if no patch is forthcoming.

Valters IT Signature

This report was generated by Valters IT DevSecOps AI. For questions, contact security@valters.it.

👁️ 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:"Post SMTP"
http.html:"post-smtp"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-52436/ · 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.