Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-44902

CVE-2024-44902: ThinkPHP RCE Vulnerability

CVE-2024-44902 is a deserialization remote code execution vulnerability in ThinkPHP versions 6.1.3 to 8.0.4 that enables attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-44902 Overview

A critical insecure deserialization vulnerability has been identified in ThinkPHP, a popular PHP framework widely used for rapid web application development. The vulnerability affects ThinkPHP versions 6.1.3 through 8.0.4 and allows remote attackers to execute arbitrary code on vulnerable systems without authentication.

Critical Impact

This vulnerability enables unauthenticated remote code execution through insecure deserialization, potentially allowing attackers to gain complete control over affected web applications and underlying servers.

Affected Products

  • ThinkPHP versions 6.1.3 through 8.0.4
  • Web applications built on vulnerable ThinkPHP framework versions
  • Servers hosting applications using affected ThinkPHP installations

Discovery Timeline

  • September 9, 2024 - CVE-2024-44902 published to NVD
  • September 20, 2024 - Last updated in NVD database

Technical Details for CVE-2024-44902

Vulnerability Analysis

This vulnerability falls under CWE-502 (Deserialization of Untrusted Data), a common weakness where applications deserialize user-controlled data without proper validation. In PHP frameworks like ThinkPHP, deserialization vulnerabilities are particularly dangerous because PHP's unserialize() function can instantiate arbitrary objects and trigger magic methods such as __wakeup(), __destruct(), and __toString() during the deserialization process.

When attackers craft malicious serialized payloads containing carefully constructed object chains (known as "gadget chains"), they can manipulate the application's execution flow. These gadget chains leverage existing classes within the framework to perform dangerous operations, ultimately leading to arbitrary code execution on the target system.

The network-accessible nature of this vulnerability, combined with no authentication requirements and low attack complexity, makes it an extremely attractive target for threat actors. Successful exploitation could result in complete system compromise, data theft, lateral movement within networks, and deployment of persistent backdoors.

Root Cause

The root cause of CVE-2024-44902 is improper handling of serialized data within the ThinkPHP framework. The application fails to adequately validate or sanitize serialized input before passing it to PHP's deserialization functions. This allows attackers to inject malicious serialized objects that, when processed, execute attacker-controlled code through existing class methods within the framework's codebase.

Attack Vector

The vulnerability is exploitable over the network without requiring any user interaction or prior authentication. An attacker can send specially crafted HTTP requests containing malicious serialized PHP objects to vulnerable ThinkPHP endpoints. When the application processes these requests and deserializes the attacker-controlled data, it triggers the execution of arbitrary code with the privileges of the web server process.

The attack typically involves identifying endpoints that accept serialized data, constructing a gadget chain using classes available in the ThinkPHP framework, and delivering the payload through standard HTTP requests. For detailed technical information about exploitation techniques, refer to the GitHub PoC for CVE-2024-44902.

Detection Methods for CVE-2024-44902

Indicators of Compromise

  • Unusual or malformed HTTP requests containing serialized PHP objects (often starting with O: or a: patterns)
  • Unexpected process spawning from web server processes (e.g., www-data or apache executing shell commands)
  • Web server logs showing requests with base64-encoded or URL-encoded serialized payloads targeting ThinkPHP routes
  • Newly created files in web-accessible directories, particularly PHP webshells or backdoors

Detection Strategies

  • Deploy Web Application Firewalls (WAF) with rules to detect and block serialized PHP object patterns in HTTP requests
  • Implement runtime application self-protection (RASP) solutions to monitor deserialization operations
  • Configure intrusion detection systems to alert on anomalous outbound connections from web servers
  • Monitor for unexpected child processes spawned by web server processes

Monitoring Recommendations

  • Enable detailed logging for all ThinkPHP application endpoints and review logs for suspicious serialized payloads
  • Implement file integrity monitoring on web application directories to detect unauthorized file modifications
  • Monitor network traffic for unusual outbound connections originating from web server processes
  • Set up alerts for any attempts to access known exploitation paths or patterns associated with PHP deserialization attacks

How to Mitigate CVE-2024-44902

Immediate Actions Required

  • Inventory all applications using ThinkPHP and identify those running versions 6.1.3 through 8.0.4
  • Update ThinkPHP to the latest patched version immediately
  • If immediate patching is not possible, implement WAF rules to block serialized PHP objects in incoming requests
  • Review application code for any custom deserialization of user-controlled input and sanitize accordingly
  • Conduct forensic analysis on potentially affected systems to identify signs of compromise

Patch Information

Organizations using ThinkPHP should upgrade to a version beyond 8.0.4 that addresses this deserialization vulnerability. Visit the ThinkPHP Official Site for the latest security updates and patch information. Given the critical nature of this vulnerability and its potential for remote code execution, patching should be treated as an emergency priority.

Workarounds

  • Implement strict input validation to reject any data containing serialized PHP objects at the application boundary
  • Deploy a Web Application Firewall configured to block requests containing PHP serialization patterns (e.g., regex matching O:\d+:)
  • If feasible, disable or restrict access to endpoints that process user-provided data through deserialization functions
  • Consider network segmentation to limit the potential impact of a compromised web server
bash
# Example WAF rule pattern for blocking PHP serialized objects
# Block requests containing PHP serialized object patterns
# Pattern: O:[0-9]+:" typically indicates a serialized PHP object
SecRule REQUEST_BODY "@rx O:\d+:\"" "id:100001,phase:2,deny,status:403,msg:'Blocked PHP serialized object in request body'"
SecRule ARGS "@rx O:\d+:\"" "id:100002,phase:2,deny,status:403,msg:'Blocked PHP serialized object in request parameters'"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechThinkphp

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability84.12%

  • 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
  • ThinkPHP Official Site

  • GitHub PoC for CVE-2024-44902
  • Related CVEs
  • CVE-2018-25270: ThinkPHP 5.0.23 RCE Vulnerability

  • CVE-2025-63888: ThinkPHP 5.0.24 RCE Vulnerability

  • CVE-2025-50706: ThinkPHP RCE Vulnerability

  • CVE-2022-47945: ThinkPHP Framework 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