Command Injection Affecting com.xuxueli:xxl-rpc-core package, versions [,1.8.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.28% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMXUXUELI-5672153
  • published8 Jun 2023
  • disclosed8 Jun 2023
  • creditUnknown

Introduced: 8 Jun 2023

CVE-2023-33496  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade com.xuxueli:xxl-rpc-core to version 1.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection due to unchecked deserialization in the decode() function in NettyDecode. An attacker can execute arbitrary code by exploiting the flawed deserialization. This is exploitable if the attacker is able to run a malicious RMI service and manipulate the serialization process.

Note: setAllowNonSerializable() was set to false by default in version 1.7.1, HessianSerializer.java was removed in version 1.8.0 and further hardening steps were taken in version 1.8.1 to prevent object injection.

CVSS Scores

version 3.1