Spring Cloud Gateway < 3.0.7 / 3.1.x < 3.1.1 Remote Code Execution

critical Web App Scanning Plugin ID 113169

Synopsis

Spring Cloud Gateway < 3.0.7 / 3.1.x < 3.1.1 Remote Code Execution

Description

In Spring Cloud Gateway versions prior to 3.1.1 and 3.0.7, applications are vulnerable to a code injection attack when the Gateway Actuator endpoint is enabled, exposed and unsecured. A remote attacker can craft a malicious request that could allow arbitrary remote execution on the remote host.

Solution

Spring Cloud Gateway 3.1.x users should upgrade to 3.1.1+. 3.0.x users should upgrade to 3.0.7+. If the Gateway actuator endpoint is not needed it should be disabled via 'management.endpoint.gateway.enabled: false'. If the actuator is required it should be secured using Spring Security.

See Also

https://tanzu.vmware.com/security/cve-2022-22947

Plugin Details

Severity: Critical

ID: 113169

Type: remote

Published: 3/24/2022

Updated: 3/13/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Critical

Score: 10.0

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-22947

CVSS v3

Risk Factor: Critical

Base Score: 10

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVSS Score Source: CVE-2022-22947

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

CISA Known Exploited Vulnerability Due Dates: 6/6/2022

Reference Information

CVE: CVE-2022-22947