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.
References
Link | Resource |
---|---|
https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0 | Release Notes |
https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86 | Mitigation Vendor Advisory |
https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0 | Release Notes |
https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86 | Mitigation Vendor Advisory |
Configurations
History
21 Nov 2024, 08:21
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0 - Release Notes | |
References | () https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86 - Mitigation, Vendor Advisory |
15 Sep 2023, 19:23
Type | Values Removed | Values Added |
---|---|---|
References | (MISC) https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0 - Release Notes | |
References | (MISC) https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86 - Mitigation, Vendor Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
CPE | cpe:2.3:a:sofastack:sofarpc:*:*:*:*:*:*:*:* | |
First Time |
Sofastack sofarpc
Sofastack |
12 Sep 2023, 20:41
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-09-12 20:15
Updated : 2024-11-21 08:21
NVD link : CVE-2023-41331
Mitre link : CVE-2023-41331
CVE.ORG link : CVE-2023-41331
JSON object : View
Products Affected
sofastack
- sofarpc
CWE
CWE-917
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')