cbcvebase.
CVE-2020-5405
published 2020-03-05

CVE-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
VendorProductVersion rangeFixed in
spring_by_vmwarespring_cloud_config>= 2.1 < 2.1.72.1.7
spring_by_vmwarespring_cloud_config>= 2.2 < 2.2.22.2.2
vmwarespring_cloud_config>= 2.1.0 < 2.1.72.1.7
vmwarespring_cloud_config>= 2.2.0 < 2.2.22.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.