Code Injection in Spring Cloud Gateway - CVE-2022-22947

 

Code Injection in Spring Cloud Gateway - CVE-2022-22947

Published: March 3, 2022 / Updated: June 21, 2024


Vulnerability identifier: #VU60982
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2022-22947
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: VMware, Inc
Affected software:
Spring Cloud Gateway

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a code injection attack when the Gateway Actuator endpoint is enabled. A remote attacker can send a specially crafted HTTP POST request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2022-22947

Install updates from vendor's website.

Sources