Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-41331— SOFARPC Remote Command Execution (RCE) Vulnerability

Quick assessment

Affected
sofastack sofa-rpc
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SOFARPC是SOFAStack的一个高性能、高扩展性、生产级的 Java RPC 框架。 SOFARPC 5.11.0之前版本存在安全漏洞,该漏洞源于容易受到远程命令执行的攻击,攻击者可以利用某些本机JDK类和常见的第三方包来构建能够实现JNDI注入或系统命令执行攻击的gadget链。

CVSS 9.8 · Critical EPSS 1.64% · P76
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-41331

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SOFARPC Remote Command Execution (RCE) Vulnerability
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
表达式语言语句中使用的特殊元素转义处理不恰当(表达式语言注入)
Source: CVE Program / CVE List V5
Vulnerability Title
SOFARPC 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
SOFARPC是SOFAStack的一个高性能、高扩展性、生产级的 Java RPC 框架。 SOFARPC 5.11.0之前版本存在安全漏洞,该漏洞源于容易受到远程命令执行的攻击,攻击者可以利用某些本机JDK类和常见的第三方包来构建能够实现JNDI注入或系统命令执行攻击的gadget链。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
sofastack sofa-rpc < 5.11.0 -

II. Public POCs for CVE-2023-41331

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-41331

请登录查看更多情报信息。

Vendor Advisories for CVE-2023-41331 (1)

Other References for CVE-2023-41331 (1)

IV. Related Vulnerabilities