CVE-2020-5405
published 2020-03-05CVE-2020-5405: Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, and older unsupported versions allow applications to serve arbitrary…
PriorityP266medium6.5CVSS 3.1
AVNACLPRNUIRSUCNIHAN
EXPLOIT
EPSS
68.76%
99.3th percentile
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, 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 a directory traversal attack.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| spring_by_vmware | spring_cloud_config | >= 2.1 < 2.1.7 | 2.1.7 |
| spring_by_vmware | spring_cloud_config | >= 2.2 < 2.2.2 | 2.2.2 |
| vmware | spring_cloud_config | >= 2.1.0 < 2.1.7 | 2.1.7 |
| vmware | spring_cloud_config | >= 2.2.0 < 2.2.2 | 2.2.2 |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET EXPLOIT VMware Spring Cloud Directory Traversal (CVE-2020-5405)"; flow:established,to_server; http.method; content:"GET"; http.uri.raw; content:"/..%28_%29..%28_%29"; fast_pattern; reference:url,tanzu.vmware.com/security/cve-2020-5405; reference:cve,2020-5405; classtype:attempted-admin; sid:2030336; rev:2; metadata:affected_product VMware, created_at 2020_06_15, cve CVE_2020_5405, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_11_26, mitre_tactic_id TA0007, mitre_tactic_name Discovery, mitre_technique_id T1083, mitre_technique_name File_And_Directory_Discovery; target:dest_ip;)
bytes
/..%28_%29..%28_%29
- →Match HTTP GET requests where the raw URI contains the encoded traversal pattern `/..%28_%29..%28_%29` — this is the ET/Emerging Threats fast-pattern for this CVE (sid:2030336).
- →Validate response body for the regex `root:.*:0:0:` to confirm successful `/etc/passwd` disclosure via the Spring Cloud Config Server directory traversal.
- →The vulnerability is exploited through the `spring-cloud-config-server` module; monitor HTTP 200 responses to crafted traversal URIs directed at config-server endpoints.
- ·Red Hat Fuse 7's `spring-cloud-config-server` package is explicitly marked as NOT affected; do not apply detections to that specific package distribution without further validation. ↗
- ·Affected versions are Spring Cloud Config 2.2.x prior to 2.2.2 and 2.1.x prior to 2.1.7; detections should be scoped to these version ranges and older unsupported versions. ↗
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
vendor_redhat6.5MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
spring-cloud-config-server: Directory Traversal with spring-cloud-config-server
vendor_redhat·2020-02-26·CVSS 6.5
CVE-2020-5405 [MEDIUM] CWE-22 spring-cloud-config-server: Directory Traversal with spring-cloud-config-server
spring-cloud-config-server: Directory Traversal with spring-cloud-config-server
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, 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 a directory traversal attack.
Package: spring-cloud-config-server (Red Hat Fuse 7) - Not affected
GHSA
Directory traversal attack in Spring Cloud Config
ghsa·2020-06-05
CVE-2020-5405 [MEDIUM] CWE-22 Directory traversal attack in Spring Cloud Config
Directory traversal attack in Spring Cloud Config
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, 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 a directory traversal attack.
OSV
Directory traversal attack in Spring Cloud Config
osv·2020-06-05
CVE-2020-5405 [MEDIUM] Directory traversal attack in Spring Cloud Config
Directory traversal attack in Spring Cloud Config
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, 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 a directory traversal attack.
Suricata
ET EXPLOIT VMware Spring Cloud Directory Traversal (CVE-2020-5405)
suricata·2020-06-15·CVSS 6.5
CVE-2020-5405 [MEDIUM] ET EXPLOIT VMware Spring Cloud Directory Traversal (CVE-2020-5405)
ET EXPLOIT VMware Spring Cloud Directory Traversal (CVE-2020-5405)
Rule: alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET EXPLOIT VMware Spring Cloud Directory Traversal (CVE-2020-5405)"; flow:established,to_server; http.method; content:"GET"; http.uri.raw; content:"/..%28_%29..%28_%29"; fast_pattern; reference:url,tanzu.vmware.com/security/cve-2020-5405; reference:cve,2020-5405; classtype:attempted-admin; sid:2030336; rev:2; metadata:affected_product VMware, created_at 2020_06_15, cve CVE_2020_5405, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_11_26, mitre_tactic_id TA0007, mitre_tactic_name Discovery, mitre_technique_id T1083, mitre_technique_name File_And_Directory_Discover
Nuclei
Spring Cloud Config - Local File Inclusion
nuclei·CVSS 6.5
CVE-2020-5405 [MEDIUM] Spring Cloud Config - Local File Inclusion
Spring Cloud Config - Local File Inclusion
Spring Cloud Config versions 2.2.x prior to 2.2.2, 2.1.x prior to 2.1.7, and older unsupported versions are vulnerable to local file inclusion because they allow applications to serve arbitrary configuration files through the spring-cloud-config-server module.
Template:
id: CVE-2020-5405
info:
name: Spring Cloud Config - Local File Inclusion
author: harshbothra_
severity: medium
description: Spring Cloud Config versions 2.2.x prior to 2.2.2, 2.1.x prior to 2.1.7, and older unsupported versions are vulnerable to local file inclusion because they allow applications to serve arbitrary configuration files through the spring-cloud-config-server module.
impact: |
An attacker can read sensitive files on the server, potentially leading to unauthorized
2020-03-05
Published