Skip to content
OpenAdvisories
High · 7.6 Scanner template Public exploit CVE-2021-22053 EUVD-2021-2352GHSA-gx3f-hq7p-8fxv

Code injection in spring-cloud-netflix-hystrix-dashboard

Published Nov 19, 2021 · Updated Aug 3, 2024 · Assigned by vmware

Description

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.

Affected products

VendorProductAffectedFixed
— Spring Cloud Netflix Spring Cloud Netflix versions 2.2.x prior to 2.2.10.Release + and old unsupported versions —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.cloud:spring-cloud-netflix-hystrix-dashboard < 2.2.10.RELEASE 2.2.10.RELEASE GHSA-gx3f-hq7p-8fxv

References