A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly ingest data from on-prem, cloud or hybrid environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-class Expertise and Threat Intelligence.
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive solutions for seamless security operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your go-to source for our top partners in your region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-6172

CVE-2024-6172: Icegram Email Subscribers SQLi Vulnerability

CVE-2024-6172 is a time-based SQL injection vulnerability in Icegram Email Subscribers & Newsletters plugin for WordPress that allows unauthenticated attackers to extract sensitive database information. This article covers technical details, affected versions, impact assessment, and effective mitigation strategies.

Updated: January 22, 2026

CVE-2024-6172 Overview

The Email Subscribers by Icegram Express – Email Marketing, Newsletters, Automation for WordPress & WooCommerce plugin for WordPress contains a time-based SQL Injection vulnerability in the db parameter. This vulnerability affects all versions up to and including 5.7.25 and stems from insufficient escaping on user-supplied parameters combined with inadequate preparation of SQL queries. The flaw allows unauthenticated attackers to append malicious SQL queries to existing database operations, potentially enabling extraction of sensitive information from the WordPress database.

Critical Impact

Unauthenticated attackers can exploit this time-based SQL Injection to extract sensitive data from the WordPress database, including user credentials, email subscriber lists, and potentially other confidential information stored in the site's database.

Affected Products

  • Icegram Email Subscribers & Newsletters plugin for WordPress (all versions up to and including 5.7.25)
  • WordPress installations using the affected Email Subscribers plugin
  • WooCommerce sites with the Icegram Express Email Marketing integration

Discovery Timeline

  • 2024-07-02 - CVE-2024-6172 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-6172

Vulnerability Analysis

This SQL Injection vulnerability (CWE-89) exists in the Email Subscribers plugin's database handling code, specifically in the class-es-db-contacts.php file. The vulnerability occurs because user input passed through the db parameter is not properly sanitized or escaped before being incorporated into SQL queries. The time-based nature of this injection means attackers can infer database contents by measuring response times when injecting conditional SQL statements.

The attack can be performed without any authentication, significantly increasing the risk exposure for affected WordPress sites. Since the plugin handles email subscriber data, successful exploitation could expose personal information including email addresses, names, and subscription preferences of newsletter subscribers.

Root Cause

The root cause of this vulnerability is the lack of proper input sanitization and the failure to use parameterized queries (prepared statements) when handling user-supplied data in the db parameter. The affected code in class-es-db-contacts.php directly incorporates user input into SQL queries without adequate escaping, violating secure coding practices for database interactions.

WordPress provides the $wpdb->prepare() method specifically to prevent SQL injection attacks, but this security measure was either not implemented or improperly applied in the vulnerable code path. This oversight allows attackers to inject arbitrary SQL syntax that gets executed against the database.

Attack Vector

The attack vector is network-based and requires no user interaction or authentication. An attacker can craft malicious HTTP requests containing SQL injection payloads in the db parameter. Since this is a time-based SQL injection, attackers use conditional time delays (such as SLEEP() functions in MySQL) to determine whether their injected conditions are true or false.

The exploitation process typically involves:

  1. Identifying the vulnerable endpoint that accepts the db parameter
  2. Injecting time-based SQL payloads to confirm the vulnerability
  3. Using blind SQL injection techniques to enumerate database structure
  4. Extracting sensitive data character by character through timed responses

For detailed technical analysis, refer to the WordPress Plugin Code Review and the Wordfence Vulnerability Report.

Detection Methods for CVE-2024-6172

Indicators of Compromise

  • Unusual database query execution times or server response delays
  • HTTP requests to Email Subscribers plugin endpoints containing SQL keywords like SLEEP, BENCHMARK, WAITFOR, or IF statements in the db parameter
  • Multiple sequential requests to the same endpoint with varying parameter values, indicating automated data extraction attempts
  • Unexpected database load or query patterns in MySQL slow query logs

Detection Strategies

  • Monitor web application firewall (WAF) logs for SQL injection patterns targeting WordPress plugin endpoints
  • Implement database query monitoring to detect anomalous time-based queries or excessive SLEEP() function calls
  • Review Apache/Nginx access logs for requests containing URL-encoded SQL injection payloads
  • Deploy intrusion detection systems (IDS) with signatures for time-based SQL injection attack patterns

Monitoring Recommendations

  • Enable WordPress debug logging and monitor for database errors or warnings related to the Email Subscribers plugin
  • Configure real-time alerting for suspicious parameter values in HTTP requests to /wp-admin/admin-ajax.php and plugin-specific endpoints
  • Implement rate limiting on plugin endpoints to slow down automated exploitation attempts
  • Monitor outbound network traffic for data exfiltration following potential SQL injection attacks

How to Mitigate CVE-2024-6172

Immediate Actions Required

  • Update the Email Subscribers by Icegram Express plugin to version 5.7.26 or later immediately
  • Review database access logs for signs of prior exploitation attempts
  • If unable to update immediately, consider temporarily disabling the plugin until patching is possible
  • Conduct a security audit of subscriber data to ensure no unauthorized access has occurred

Patch Information

Icegram has released a security patch addressing this vulnerability. The fix is available in the plugin changeset which implements proper input sanitization and prepared statements for the affected database queries.

Review the official patch details:

  • WordPress Plugin Changeset
  • WordPress Plugin Changeset History

Update the plugin through the WordPress admin dashboard or download the latest version from the WordPress Plugin Developer Page.

Workarounds

  • Implement a Web Application Firewall (WAF) rule to block requests containing SQL injection patterns in the db parameter
  • Restrict access to WordPress admin and plugin endpoints at the web server level for untrusted IP addresses
  • If the plugin is not critical to operations, temporarily deactivate it until the patched version can be applied
  • Consider implementing additional database-level security controls such as read-only database users for the WordPress application
bash
# Example .htaccess rule to block suspicious requests (temporary mitigation)
# Add to WordPress root .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} (sleep|benchmark|waitfor|if\() [NC]
RewriteRule .* - [F,L]
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechIcegram

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability2.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • WordPress Plugin Code Review

  • WordPress Plugin Developer Page

  • Wordfence Vulnerability Report
  • Vendor Resources
  • WordPress Plugin Changeset

  • WordPress Plugin Changeset History
  • Related CVEs
  • CVE-2024-4295
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use