Remote code execution via unrestricted Hessian deserialization
Published Oct 18, 2023 · Updated Aug 29, 2024
Unsafe deserialization in Xuxueli XXL-RPC 1.7.0 and earlier allows remote attackers to execute arbitrary code through a crafted RPC message. NettyDecoder passes attacker-controlled message bytes to HessianSerializer, whose deserialize method invokes Hessian2Input.readObject without restricting object types. Code execution requires a usable deserialization gadget chain; the demonstrated path also requires Rome on the classpath and JVM remote class loading.
Summary
What happened
Unsafe deserialization in Xuxueli XXL-RPC 1.7.0 and earlier allows remote attackers to execute arbitrary code through a crafted RPC message. NettyDecoder passes attacker-controlled message bytes to HessianSerializer, whose deserialize method invokes Hessian2Input.readObject without restricting object types. Code execution requires a usable deserialization gadget chain; the demonstrated path also requires Rome on the classpath and JVM remote class loading.
The record
- CVE
- CVE-2023-45146
- Published
- Oct 18, 2023
- Updated
- Aug 29, 2024
- Vendor
- Xuxueli
- Product
- XXL-RPC
- Classifications
- CWE-502, T1210
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 18, 2023CVE publishedPublication date reported by the CVE source.
- Aug 29, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 1.7.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub Security Lab Hessian2 proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo