A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-24797

CVE-2024-24797: ERE Recently Viewed Deserialization Flaw

CVE-2024-24797 is a deserialization of untrusted data vulnerability in G5Theme ERE Recently Viewed Essential Real Estate Add-On affecting versions through 1.3. This article covers technical details, impact, and mitigation.

Published: April 15, 2026

CVE-2024-24797 Overview

CVE-2024-24797 is a critical Insecure Deserialization vulnerability affecting the ERE Recently Viewed plugin for WordPress, developed by G5Theme as an add-on for the Essential Real Estate plugin. This vulnerability allows unauthenticated attackers to inject malicious PHP objects through the deserialization of untrusted data, potentially leading to remote code execution, data exfiltration, or complete site compromise.

Critical Impact

Unauthenticated attackers can exploit this PHP Object Injection vulnerability to execute arbitrary code on vulnerable WordPress installations without any user interaction, potentially leading to full server compromise.

Affected Products

  • G5plus ERE Recently Viewed plugin versions through 1.3
  • WordPress sites using the Essential Real Estate Add-On with the ERE Recently Viewed module
  • Any WordPress installation with the vulnerable ere-recently-viewed plugin activated

Discovery Timeline

  • 2024-02-12 - CVE CVE-2024-24797 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-24797

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data), a weakness that occurs when an application deserializes data from untrusted sources without proper validation. In the context of this WordPress plugin, the ERE Recently Viewed functionality processes serialized PHP data that can be manipulated by attackers.

The vulnerability is particularly dangerous because it can be exploited by unauthenticated users over the network without any user interaction required. When successful, attackers can achieve full compromise of confidentiality, integrity, and availability of the affected WordPress installation.

Root Cause

The root cause of CVE-2024-24797 lies in the improper handling of serialized data within the ERE Recently Viewed plugin. The plugin fails to adequately validate or sanitize serialized PHP objects before passing them to the unserialize() function. This allows attackers to craft malicious serialized payloads that, when deserialized, can trigger dangerous operations through PHP's magic methods such as __wakeup(), __destruct(), or __toString().

When a vulnerable WordPress installation contains other plugins or themes with exploitable gadget chains, attackers can leverage this PHP Object Injection vulnerability to achieve remote code execution.

Attack Vector

The attack vector for CVE-2024-24797 is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying a WordPress site running the vulnerable ERE Recently Viewed plugin (versions through 1.3)
  2. Crafting a malicious serialized PHP object containing a POP (Property Oriented Programming) chain
  3. Submitting the malicious payload to the vulnerable endpoint that processes recently viewed property data
  4. The vulnerable plugin deserializes the attacker-controlled data, instantiating malicious objects
  5. PHP magic methods execute during deserialization, triggering the attacker's payload

The exploitation mechanism relies on the presence of suitable gadget chains within the WordPress installation. Common gadget chains can be found in popular WordPress plugins, themes, or the WordPress core itself. Tools like PHPGGC can be used to generate payloads for known gadget chains.

For detailed technical analysis and proof-of-concept information, see the Patchstack Vulnerability Report.

Detection Methods for CVE-2024-24797

Indicators of Compromise

  • Unusual serialized data patterns in HTTP POST requests containing PHP object notation (e.g., O: or a: prefixes)
  • Web server logs showing requests with serialized payloads to WordPress endpoints associated with the ERE Recently Viewed plugin
  • Unexpected file creation or modification in the WordPress installation directory
  • Evidence of webshells or backdoor files created after exploitation

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block serialized PHP object patterns in incoming requests
  • Monitor WordPress debug logs and PHP error logs for deserialization-related errors or warnings
  • Implement file integrity monitoring to detect unauthorized changes to WordPress core files, themes, and plugins
  • Use endpoint detection solutions like SentinelOne to identify post-exploitation activities

Monitoring Recommendations

  • Enable verbose logging on web servers to capture full request bodies for forensic analysis
  • Configure alerts for unusual process spawning from PHP or web server processes
  • Monitor outbound network connections from the WordPress server for data exfiltration attempts
  • Regularly scan installed plugins against vulnerability databases to identify outdated or vulnerable components

How to Mitigate CVE-2024-24797

Immediate Actions Required

  • Update the ERE Recently Viewed plugin to the latest patched version immediately
  • If an update is not available, disable and remove the vulnerable plugin until a patch is released
  • Conduct a security audit of the WordPress installation to identify any signs of compromise
  • Review and harden WordPress security configurations, including file permissions and user privileges

Patch Information

Organizations using the ERE Recently Viewed plugin should check with G5Theme for the latest security updates. The vulnerability affects all versions from n/a through 1.3. Administrators should update to any version released after the security advisory that addresses this PHP Object Injection vulnerability.

For additional details on the vulnerability and remediation guidance, refer to the Patchstack Vulnerability Report.

Workarounds

  • Deploy a Web Application Firewall with rules to block serialized PHP object injection attempts
  • Implement server-level input validation to reject requests containing suspicious serialized data patterns
  • Consider using WordPress security plugins that provide virtual patching capabilities for known vulnerabilities
  • Restrict access to WordPress admin areas and limit the attack surface through network segmentation
bash
# Example WAF rule to block PHP serialized objects in requests
# Add to .htaccess or web server configuration
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_BODY} (O:|a:|s:)[0-9]+:
RewriteRule .* - [F,L]

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechG5plus

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.33%

  • 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
  • Patchstack Vulnerability Report
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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