RCE in Sofastack Sofa-Rpc

CVE-2023-41331

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.

Vulnerability class: Log4Shell (CVE-2021-44228)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.016 (75.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 75.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-41331: held from 0.013 to 0.016.

EPSS over last 30 days · oldest: 0.013 · newest: 0.016 · change: +0.003

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-41331?
CVE-2023-41331 is a critical-severity vulnerability in Sofastack Sofa-Rpc, classified under Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection). CVSS score: 9.8/10. Published 2023-09-12.
How severe is CVE-2023-41331?
Critical severity. CVSS v3 base score is 9.8 out of 10.