The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • 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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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
    • Singularity Identity
      Identity Threat Detection and Response
    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
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • 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
      DFIR, Breach Readiness, & Compromise Assessments
    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
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • 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-5335

CVE-2024-5335: Ultimate Store Kit Elementor RCE Vulnerability

CVE-2024-5335 is a PHP Object Injection flaw in Bdthemes Ultimate Store Kit that could enable remote code execution when combined with a POP chain. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-5335 Overview

CVE-2024-5335 is a critical PHP Object Injection vulnerability affecting the Ultimate Store Kit Elementor Addons plugin for WordPress. This popular WooCommerce builder plugin, developed by BdThemes, contains an insecure deserialization flaw in versions up to and including 1.6.4 that allows unauthenticated attackers to inject malicious PHP objects through the _ultimate_store_kit_compare_products cookie.

Critical Impact

Unauthenticated attackers can inject PHP objects that, when combined with a POP (Property Oriented Programming) chain from another installed plugin or theme, could lead to arbitrary file deletion, sensitive data retrieval, or remote code execution on affected WordPress installations.

Affected Products

  • BdThemes Ultimate Store Kit versions up to and including 1.6.4
  • WordPress installations using the affected plugin version
  • WooCommerce stores utilizing Ultimate Store Kit for product comparisons

Discovery Timeline

  • 2024-08-21 - CVE CVE-2024-5335 published to NVD
  • 2025-07-10 - Last updated in NVD database

Technical Details for CVE-2024-5335

Vulnerability Analysis

This PHP Object Injection vulnerability resides in the helper.php file of the Ultimate Store Kit plugin. The flaw stems from improper handling of user-controlled input through the _ultimate_store_kit_compare_products cookie, which is deserialized without adequate validation or sanitization. The vulnerability allows unauthenticated remote attackers to submit crafted serialized PHP data that gets processed by the application.

While the vulnerable plugin itself does not contain a Property Oriented Programming (POP) chain to directly exploit the object injection, the presence of other plugins or themes on the WordPress installation that contain gadget chains could enable full exploitation. This is a common attack pattern in WordPress environments where multiple plugins interact with deserialized data.

Root Cause

The root cause is classified under CWE-502 (Deserialization of Untrusted Data). The plugin fails to implement proper input validation on cookie data before passing it to PHP's deserialization functions. The _ultimate_store_kit_compare_products cookie is intended to store product comparison data but accepts arbitrary serialized PHP objects from unauthenticated users. This allows attackers to craft malicious serialized payloads that instantiate arbitrary PHP classes with attacker-controlled properties.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft a malicious HTTP request containing a specially formatted _ultimate_store_kit_compare_products cookie with a serialized PHP object payload. When the server processes this request, the vulnerable deserialization code in helper.php (line 1103) instantiates the injected object. If a suitable POP gadget chain exists in the WordPress environment, magic methods like __wakeup(), __destruct(), or __toString() can be triggered to execute arbitrary code, delete files, or access sensitive data.

The exploitation flow typically involves:

  1. Identifying a target WordPress site running the vulnerable plugin version
  2. Discovering available POP chains from other installed plugins or themes
  3. Crafting a serialized PHP object that leverages the discovered gadget chain
  4. Sending the malicious payload via the _ultimate_store_kit_compare_products cookie
  5. Achieving code execution or other impact based on the available chain

Detection Methods for CVE-2024-5335

Indicators of Compromise

  • Unusual or malformed values in the _ultimate_store_kit_compare_products cookie containing serialized PHP object notation (e.g., O: prefixes)
  • Web server access logs showing requests with abnormally large or suspicious cookie headers
  • Unexpected file deletions or modifications on the WordPress installation
  • Creation of unknown files in web-accessible directories

Detection Strategies

  • Monitor web application firewall (WAF) logs for serialized PHP object patterns in cookie values, particularly looking for class instantiation markers
  • Implement log analysis rules to detect requests containing suspicious serialized data patterns like O:[0-9]+:" in the Cookie header
  • Deploy SentinelOne Singularity Platform to detect post-exploitation behaviors such as webshell deployment or unauthorized process execution
  • Conduct regular WordPress plugin audits to identify installations running vulnerable versions

Monitoring Recommendations

  • Enable detailed access logging on web servers to capture full request headers including cookies
  • Configure intrusion detection systems to alert on PHP deserialization attack patterns
  • Monitor file integrity on WordPress installations for unauthorized changes to core files, uploads, or plugin directories
  • Implement runtime application self-protection (RASP) solutions to detect and block object injection attempts

How to Mitigate CVE-2024-5335

Immediate Actions Required

  • Update the Ultimate Store Kit Elementor Addons plugin to version 1.6.5 or later immediately
  • Audit WordPress installations for signs of compromise, particularly unexpected file changes or new administrative users
  • Review installed plugins and themes for known POP gadget chains that could increase exploitation risk
  • Consider temporarily disabling the product comparison feature if immediate patching is not possible

Patch Information

BdThemes has released a security patch addressing this vulnerability. The fix is documented in the WordPress Plugin Change History which shows modifications to the helper.php file to properly validate and sanitize cookie input before deserialization. Users should update to version 1.6.5 or later through the WordPress plugin update mechanism or by downloading directly from the WordPress Plugin Repository.

Workarounds

  • Implement web application firewall (WAF) rules to block requests containing serialized PHP object patterns in cookie values
  • Use a security plugin to filter and sanitize cookie inputs before they reach the vulnerable code path
  • Restrict access to the WordPress admin area and implement additional authentication controls
  • Consider using SentinelOne's Singularity XDR platform for real-time detection and response to exploitation attempts
bash
# Example WAF rule to block PHP serialization in cookies (ModSecurity format)
SecRule REQUEST_COOKIES "@rx O:\d+:\"" "id:100001,phase:1,deny,status:403,msg:'PHP Object Injection attempt detected in cookie'"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBdthemes Ultimate Store Kit

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability13.39%

  • 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-502
  • Technical References
  • WordPress Plugin Code Review

  • Wordfence Vulnerability Report
  • Vendor Resources
  • WordPress Plugin Change History
  • Related CVEs
  • CVE-2024-8030: Ultimate Store Kit Elementor RCE Vulnerability
Default Legacy - Prefooter | 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
  • 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

English