
Reproducible lab environment for CVE-2022-22947, a Spring Cloud Gateway Actuator API remote command execution vulnerability. Includes source code and instructions to compile and test the exploit.
CVE-2022-22947 was identified in the Spring Cloud Gateway Server jar. After the application is compiled you should be able to view the existing routes by visiting: http://127.0.0.1:9000/actuator/gateway/routes
$ mvn package -DskipTests
$ java -jar target/spring-gateway-rce-0.0.1.jar
The application should run be running on port 9000.