Skip to main content
← All vulnerabilities
CVE-2024-23636GHSA-7Q8P-9953-PXVR

SOFARPC Remote Command Execution(RCE) Vulnerbility

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

SOFARPC is a Java RPC framework. SOFARPC defaults to using the SOFA Hessian protocol to deserialize received data, while the SOFA Hessian protocol uses a blacklist mechanism to restrict deserialization of potentially dangerous classes for security protection. But, prior to version 5.12.0, there is a gadget chain that can bypass the SOFA Hessian blacklist protection mechanism, and this gadget chain only relies on JDK and does not rely on any third-party components. Version 5.12.0 fixed this issue by adding a blacklist. SOFARPC also provides a way to add additional blacklists. Users can add a class like `-Drpc_serialize_blacklist_override=org.apache.xpath.` to avoid this issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • sofastack sofa-rpc

    fixed in 5.12.0

  • com.alipay.sofa:rpc-sofa-boot-starterMaven

    fixed in 5.12.0

References 2

GitHub · sofastack/sofa-rpc