CVE-2023-41331
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Summary
SOFARPC is a Java RPC framework. Versions prior to 5.11.0 are vulnerable to remote command execution. Through a carefully
crafted payload, an attacker can achieve JNDI injection or system command execution. In the default configuration of the SOFARPC framework, a blacklist is used to filter out dangerous classes encountered during the deserialization process. However, the blacklist is not comprehensive, and an actor can exploit certain native JDK classes and common third-party packages to construct gadget chains capable of achieving JNDI injection or system command execution attacks. Version 5.11.0 contains a fix for this issue. As a workaround, users can add -Drpc_serialize_blacklist_override=javax.sound.sampled.AudioFileFormat to the blacklist.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| sofastack | sofa-rpc | < 5.11.0 | affected |
Weaknesses
- CWE-917: CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86
- https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
- https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86
- https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.