Arbitrary Code Execution Affecting org.terasoluna.gfw:terasoluna-gfw-common package, versions [,5.6.0.SP1.RELEASE)[5.6.1.RELEASE,5.6.1.SP1.RELEASE)[5.6.2.RELEASE,5.6.2.SP1.RELEASE)[5.7.0.RELEASE,5.7.0.SP1.RELEASE)[5.7.1.RELEASE,5.7.1.SP1.RELEASE)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (40th 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 IDSNYK-JAVA-ORGTERASOLUNAGFW-3157946
  • published6 Dec 2022
  • disclosed5 Dec 2022
  • creditUnknown

Introduced: 5 Dec 2022

CVE-2022-43484  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade org.terasoluna.gfw:terasoluna-gfw-common to version 5.6.0.SP1.RELEASE, 5.6.1.SP1.RELEASE, 5.6.2.SP1.RELEASE, 5.7.0.SP1.RELEASE, 5.7.1.SP1.RELEASE or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution due to its use of a version of the Spring Framework that is vulnerable to Spring4Shell, which allows attackers to cause arbitrary classes to be loaded and executed. The present vulnerability expands the vulnerability to Terasoluna systems running on all JDK versions.

Workaround

This vulnerability can be avoided by blocking all requests with the following parameters:

class.~

Class.~

~.class.~

~.Class.~

CVSS Base Scores

version 3.1