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-28861

CVE-2024-28861: Symfony 1 RCE Vulnerability

CVE-2024-28861 is a remote code execution vulnerability in Symfony 1 framework caused by unsafe deserialization. Attackers can exploit this to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2024-28861 Overview

CVE-2024-28861 is a critical insecure deserialization vulnerability affecting Symfony 1, a community-driven fork of the 1.x branch of the Symfony PHP framework. The vulnerability exists in the sfNamespacedParameterHolder class, where dangerous deserialization creates a gadget chain that enables remote code execution when a developer deserializes user input within their project.

Critical Impact

Attackers can achieve remote code execution by exploiting the insecure deserialization vulnerability in Symfony 1 applications that deserialize untrusted user input, potentially leading to complete system compromise.

Affected Products

  • FriendsOfSymfony1 Symfony1 versions 1.1.0 through 1.5.18
  • Applications using sfNamespacedParameterHolder or sfParameterHolder classes with user-controlled serialized data
  • PHP web applications built on the Symfony 1 framework that deserialize untrusted input

Discovery Timeline

  • 2024-03-22 - CVE CVE-2024-28861 published to NVD
  • 2025-12-05 - Last updated in NVD database

Technical Details for CVE-2024-28861

Vulnerability Analysis

This vulnerability (CWE-502: Deserialization of Untrusted Data) resides in the __unserialize() magic method implementations within both sfParameterHolder and sfNamespacedParameterHolder classes. The vulnerable code fails to validate the type and structure of deserialized data before processing it, creating a gadget chain that attackers can exploit for remote code execution.

When PHP deserializes untrusted data into these classes, an attacker can craft malicious serialized payloads that, upon deserialization, trigger the execution of arbitrary code. This is a classic PHP object injection scenario where the framework's internal classes can be weaponized as part of a POP (Property-Oriented Programming) chain.

Root Cause

The root cause of CVE-2024-28861 is the absence of type checking and validation in the __unserialize() method of the affected classes. Prior to the patch, the methods blindly accepted and processed deserialized data without verifying:

  1. Whether the input is actually an array
  2. Whether the array contains the expected number of elements
  3. Whether the data types within the array match expected types

This lack of validation allows attackers to inject malicious objects that execute arbitrary code when their magic methods (__destruct(), __wakeup(), __toString(), etc.) are triggered during or after deserialization.

Attack Vector

The attack is network-based and requires the target application to deserialize user-controlled input using the vulnerable Symfony 1 classes. An attacker would:

  1. Identify an application endpoint that deserializes user input
  2. Craft a malicious serialized PHP object payload containing a gadget chain
  3. Submit the payload to the vulnerable endpoint
  4. Upon deserialization, the gadget chain executes, achieving remote code execution

The vulnerable __unserialize() method in sfNamespacedParameterHolder before the patch:

php
/**
 * Unserializes a sfParameterHolder instance for PHP 7.4+.
+* [CVE-2024-28861] Check type of returned data to avoid deserialization vulnerabilities.
 *
 * @param array $data
 */
public function __unserialize($data)
{
+    if (!is_array($data) || 2 !== \count($data)) {
+        $this->default_namespace = null;
+        $this->parameters = [];
+
+        return;
+    }
+
    $this->default_namespace = $data[0];
    $this->parameters = $data[1];
}

Source: GitHub Commit Reference

The patch for sfParameterHolder follows a similar pattern:

php
/**
 * Unserializes a sfParameterHolder instance for PHP 7.4+.
+* [CVE-2024-28861] Check type of returned data to avoid deserialization vulnerabilities.
 *
 * @param array $data
 */
public function __unserialize($data)
{
+    if (!is_array($data)) {
+        $this->parameters = [];
+
+        return;
+    }
+
    $this->parameters = $data;
}

Source: GitHub Commit Reference

Detection Methods for CVE-2024-28861

Indicators of Compromise

  • Unusual serialized PHP data in HTTP request parameters, cookies, or POST bodies
  • Web server logs containing base64-encoded or URL-encoded serialized PHP objects
  • Unexpected process spawning from PHP-FPM or Apache/Nginx worker processes
  • File system modifications in web directories or temporary locations
  • Network connections to external hosts initiated by the web server process

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block serialized PHP object patterns in requests
  • Monitor application logs for deserialization errors or exceptions that may indicate exploitation attempts
  • Deploy runtime application self-protection (RASP) solutions to detect object injection attacks
  • Review code for usage of unserialize() on user-controlled input, particularly involving sfParameterHolder or sfNamespacedParameterHolder

Monitoring Recommendations

  • Enable detailed PHP error logging to capture deserialization failures and type mismatches
  • Configure intrusion detection systems (IDS) to alert on patterns matching PHP serialized object injection payloads
  • Implement file integrity monitoring on web application directories
  • Monitor process creation events for unusual child processes spawned by web server workers

How to Mitigate CVE-2024-28861

Immediate Actions Required

  • Upgrade Symfony 1 to version 1.5.19 or later immediately
  • Audit all application code for usage of unserialize() with user-controlled data
  • Implement input validation and sanitization on all external data sources
  • Consider using safer alternatives to PHP serialization such as JSON encoding where possible

Patch Information

The vulnerability is fixed in Symfony 1 version 1.5.19. The patch adds type checking to the __unserialize() methods in both sfParameterHolder and sfNamespacedParameterHolder classes, ensuring that deserialized data matches the expected array structure before processing. For detailed patch information, see the GitHub Security Advisory and the patch commit.

Workarounds

  • Avoid deserializing user-controlled input entirely where possible
  • Implement a custom safe deserialization wrapper that validates data types before processing
  • Use JSON or other safe serialization formats instead of PHP serialization for user data
  • Apply web application firewall rules to block requests containing serialized PHP objects
bash
# Update Symfony 1 using Composer
composer require friendsofsymfony1/symfony1:^1.5.19

# Verify the installed version
composer show friendsofsymfony1/symfony1 | grep versions

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSymfony1

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability5.71%

  • 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
  • Vendor Resources
  • GitHub Commit Reference

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2024-28859: Friendsofsymfony1 Symfony1 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