CVE-2020-5410: Directory Traversal with spring-cloud-config-server
Severity
High
Vendor
Spring by VMware
Description
Spring Cloud Config, versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack.
Affected VMware Products and Versions
Severity is high unless otherwise noted.
Older unsupported versions are also affected.
-
Spring Cloud Config
- 2.2.0 to 2.2.2
- 2.1.0 to 2.1.8
Mitigation
Users of affected versions should apply the following mitigation. Older versions should upgrade to a supported branch. There are no other mitigation steps necessary. Note that spring-cloud-config-server should only be available on internal networks to clients that require it and it should be secured with Spring Security, this limits exposure to this vulnerability to those with internal network access and those users with proper authentication.
-
Spring Cloud Config
- 2.2.3
- 2.1.9
Credit
This issue was identified and responsibly reported by Fei Lu (g3020207744@gmail.com) and bfpiaoran@qq.com.
References
History
2020-05-15: Initial vulnerability report published.
2020-06-01: Updated version to 2.1.9 and added additional credit.