HomePentest-Tools.com Logo

Spring Cloud Gateway - Remote Code Execution (CVE-2022-22947)

Severity
CVSSv3 Score
10
Exploitable with Sniper
Yes
Vulnerability description

Spring Cloud Gateway is affected by a Remote Code Execution, located in the /actuator/gateway/routes endpoint. The root cause of this vulnerability is the insecure usage of StandardEvaluationContext class in the vulnerable endpoint, which can be used for injecting code attacks. The versions affected are below 3.0.7 release and 3.1.0 version

Exploit capabilities

Sniper can gain unauthenticated Remote Code Execution on the target system and extract multiple artefacts as evidence.

Risk description

The risk exists that a remote unauthenticated attacker can fully compromise the server in order to steal confidential information, install ransomware, or pivot to the internal network.

Recommendation

Upgrade the Spring Cloud Gateway to a version higher than 3.0.7 or 3.1.1.

Detectable with
Network Scanner
Vuln date
Mar 2022
Published at
Updated at
Software Type
Library
Vendor
Pivotal Software
Product
Spring Cloud Gateway
Codename
Not available