CVE-2018-1271
Path Traversal in org.springframework:spring-core
Record summary
CVE-2018-1271 has a selected CVSS score of 5.9 (medium); EIP currently links 1 Nuclei template.
Description
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
Spring FrameworkBrowse Spring by Pivotal / Spring Framework | CVE List | Versions prior to 5.0.5 and 4.3.15 | affected |
org.springframework:spring-coreBrowse Maven / org.springframework:spring-core | GitHub Advisory | 5.0.0 to < 5.0.5 · Fixed in 5.0.5 | affected |
| Before 4.3.15 · Fixed in 4.3.15 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMSpring MVC Framework - Local File InclusionCVSS 5.9
Spring MVC Framework versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported are vulnerable to local file inclusion because they allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). A malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.
Impact
Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
Remediation
Apply the latest security patches and updates provided by the Spring MVC Framework to mitigate this vulnerability.
Source: ProjectDiscovery