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
    • 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-23636

CVE-2024-23636: Sofastack SOFARPC RCE Vulnerability

CVE-2024-23636 is a remote code execution flaw in Sofastack SOFARPC that allows attackers to bypass Hessian blacklist protections using a JDK-based gadget chain. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-23636 Overview

CVE-2024-23636 is an insecure deserialization vulnerability in SOFARPC, a Java RPC framework developed by Ant Group. The framework defaults to using the SOFA Hessian protocol for deserializing received data, which implements a blacklist mechanism to prevent deserialization of potentially dangerous classes. However, a gadget chain was discovered that can bypass this blacklist protection mechanism, relying solely on JDK classes without requiring any third-party components, enabling remote code execution.

Critical Impact

Attackers can achieve remote code execution by exploiting the deserialization blacklist bypass, potentially gaining full control over affected systems running SOFARPC versions prior to 5.12.0.

Affected Products

  • Sofastack SOFARPC versions prior to 5.12.0
  • Applications using SOFA Hessian protocol for RPC communication
  • Java-based microservices utilizing SOFARPC for inter-service communication

Discovery Timeline

  • 2024-01-23 - CVE-2024-23636 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-23636

Vulnerability Analysis

This vulnerability is classified as CWE-502 (Deserialization of Untrusted Data). The SOFA Hessian protocol implements security controls through a blacklist mechanism designed to block the deserialization of known dangerous classes. However, researchers identified a gadget chain composed entirely of JDK classes that was not covered by the existing blacklist, allowing attackers to craft malicious serialized objects that bypass these protections.

The attack can be executed remotely without authentication, requires no user interaction, and can result in complete compromise of confidentiality, integrity, and availability of the target system. The vulnerability is particularly concerning because it leverages only standard JDK classes, meaning any application running SOFARPC with the default Hessian protocol configuration is potentially vulnerable regardless of its third-party dependencies.

Root Cause

The root cause lies in an incomplete blacklist within the SOFA Hessian deserialization implementation. The security mechanism failed to account for certain JDK classes that could be chained together to achieve code execution. Specifically, classes like java.lang.Class and java.lang.Runtime were not included in the original blacklist, providing attackers with the building blocks necessary to construct a working exploit chain.

Attack Vector

The attack is network-based and targets SOFARPC services that accept serialized data via the SOFA Hessian protocol. An attacker can send a crafted serialized payload containing a gadget chain that bypasses the blacklist. When the server deserializes this payload, the gadget chain executes, allowing arbitrary code execution on the target system. The attack requires no prior authentication or special privileges, making it highly exploitable in exposed environments.

text
# Security patch adding classes to serialize_blacklist.txt
# Source: https://github.com/sofastack/sofa-rpc/commit/42d19b1b1d14a25aafd9ef7c219c04a19f90fc76

 java.io.Closeable
 java.io.Serializable
 java.lang.AutoCloseable
-java.lang.Class
 java.lang.Cloneable
 java.lang.Iterable
 java.lang.ProcessBuilder
 java.lang.Readable
 java.lang.Runnable
-java.lang.Runtime
 java.lang.Thread
 java.lang.UNIXProcess
 java.net.InetAddress

The patch above shows that java.lang.Class and java.lang.Runtime were removed from the whitelist (indicated by the - prefix), effectively adding them to the blocked classes. These classes were critical components in the gadget chain that enabled the bypass.

Detection Methods for CVE-2024-23636

Indicators of Compromise

  • Unusual serialized payloads containing references to java.lang.Class or java.lang.Runtime in RPC traffic
  • Unexpected process spawning from Java application processes running SOFARPC
  • Anomalous outbound network connections initiated by SOFARPC service processes
  • Error logs indicating deserialization failures with suspicious class names

Detection Strategies

  • Monitor network traffic for Hessian-serialized payloads containing known gadget chain class signatures
  • Implement application-level logging for deserialization events and analyze for anomalous class instantiation patterns
  • Deploy runtime application self-protection (RASP) solutions to detect and block deserialization attacks
  • Use intrusion detection systems with signatures for Java deserialization exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for SOFARPC services to capture deserialization activity
  • Set up alerts for process creation events originating from Java RPC service processes
  • Monitor for unusual network connections from services that should not initiate outbound traffic
  • Implement file integrity monitoring on SOFARPC configuration and blacklist files

How to Mitigate CVE-2024-23636

Immediate Actions Required

  • Upgrade SOFARPC to version 5.12.0 or later immediately
  • If immediate upgrade is not possible, apply the custom blacklist workaround using JVM arguments
  • Audit network exposure of SOFARPC services and restrict access where possible
  • Review application logs for signs of exploitation attempts

Patch Information

The vulnerability was fixed in SOFARPC version 5.12.0. The fix involves updating the serialization blacklist to include additional dangerous classes. The security patch commit (42d19b1b1d14a25aafd9ef7c219c04a19f90fc76) adds java.lang.Class and java.lang.Runtime to the blocked classes list, preventing the identified gadget chain from executing. For detailed patch information, see the GitHub Security Advisory GHSA-7q8p-9953-pxvr.

Workarounds

  • Add the JVM argument -Drpc_serialize_blacklist_override=org.apache.xpath. to extend the blacklist
  • Consider implementing additional serialization filters at the application level
  • Restrict network access to SOFARPC endpoints using firewalls or network segmentation
  • Deploy Web Application Firewall (WAF) rules to filter malicious serialized payloads
bash
# Configuration example - Add custom blacklist override
java -Drpc_serialize_blacklist_override=org.apache.xpath. -jar your-application.jar

# Alternative: Add to application startup script
export JAVA_OPTS="$JAVA_OPTS -Drpc_serialize_blacklist_override=org.apache.xpath."

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechSofarpc

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.94%

  • 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 Update

  • GitHub Security Advisory GHSA-7q8p-9953-pxvr
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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