CVE-2018-1271 - Medium Severity Vulnerability
Vulnerable Libraries - spring-webmvc-4.3.13.RELEASE.jar, spring-webflux-5.0.4.RELEASE.jar, spring-webflux-5.0.0.RELEASE.jar, spring-webmvc-3.1.0.RELEASE.jar
spring-webmvc-4.3.13.RELEASE.jar
Spring Web MVC
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-java-agent/appsec/weblog/weblog-spring-app/weblog-spring-app.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.3.13.RELEASE/87a095c7a1d13fe433ae6712787238c1dbaa6919/spring-webmvc-4.3.13.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.3.13.RELEASE/87a095c7a1d13fe433ae6712787238c1dbaa6919/spring-webmvc-4.3.13.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-webmvc-4.3.13.RELEASE.jar (Vulnerable Library)
spring-webflux-5.0.4.RELEASE.jar
Spring WebFlux
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-java-agent/instrumentation/spring-webflux-5/spring-webflux-5.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webflux/5.0.4.RELEASE/4439ead1f8e413f7ae920704fb35b5b5a8847f1d/spring-webflux-5.0.4.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webflux/5.0.4.RELEASE/4439ead1f8e413f7ae920704fb35b5b5a8847f1d/spring-webflux-5.0.4.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-webflux-5.0.4.RELEASE.jar (Vulnerable Library)
spring-webflux-5.0.0.RELEASE.jar
Spring WebFlux
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-java-agent/instrumentation/spring-webflux-5/spring-webflux-5.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webflux/5.0.0.RELEASE/fa220fc82bc29c40f534fc1c568b778f7cac6051/spring-webflux-5.0.0.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-webflux-5.0.0.RELEASE.jar (Vulnerable Library)
spring-webmvc-3.1.0.RELEASE.jar
Spring Framework Parent
Path to dependency file: /dd-java-agent/instrumentation/spring-webmvc-3.1/spring-webmvc-3.1.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webmvc/3.1.0.RELEASE/9a9c88df8825ff3c2ecb79f7ac29ad1e229e6fd6/spring-webmvc-3.1.0.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-webmvc-3.1.0.RELEASE.jar (Vulnerable Library)
Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2018-04-06
URL: CVE-2018-1271
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1271
Release Date: 2018-04-05
Fix Resolution: 5.0.5.RELEASE
⛑️ Automatic Remediation is available for this issue
CVE-2018-1271 - Medium Severity Vulnerability
spring-webmvc-4.3.13.RELEASE.jar
Spring Web MVC
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-java-agent/appsec/weblog/weblog-spring-app/weblog-spring-app.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.3.13.RELEASE/87a095c7a1d13fe433ae6712787238c1dbaa6919/spring-webmvc-4.3.13.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/4.3.13.RELEASE/87a095c7a1d13fe433ae6712787238c1dbaa6919/spring-webmvc-4.3.13.RELEASE.jar
Dependency Hierarchy:
spring-webflux-5.0.4.RELEASE.jar
Spring WebFlux
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-java-agent/instrumentation/spring-webflux-5/spring-webflux-5.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webflux/5.0.4.RELEASE/4439ead1f8e413f7ae920704fb35b5b5a8847f1d/spring-webflux-5.0.4.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webflux/5.0.4.RELEASE/4439ead1f8e413f7ae920704fb35b5b5a8847f1d/spring-webflux-5.0.4.RELEASE.jar
Dependency Hierarchy:
spring-webflux-5.0.0.RELEASE.jar
Spring WebFlux
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-java-agent/instrumentation/spring-webflux-5/spring-webflux-5.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webflux/5.0.0.RELEASE/fa220fc82bc29c40f534fc1c568b778f7cac6051/spring-webflux-5.0.0.RELEASE.jar
Dependency Hierarchy:
spring-webmvc-3.1.0.RELEASE.jar
Spring Framework Parent
Path to dependency file: /dd-java-agent/instrumentation/spring-webmvc-3.1/spring-webmvc-3.1.gradle
Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-webmvc/3.1.0.RELEASE/9a9c88df8825ff3c2ecb79f7ac29ad1e229e6fd6/spring-webmvc-3.1.0.RELEASE.jar
Dependency Hierarchy:
Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079
Found in base branch: master
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.
Publish Date: 2018-04-06
URL: CVE-2018-1271
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1271
Release Date: 2018-04-05
Fix Resolution: 5.0.5.RELEASE
⛑️ Automatic Remediation is available for this issue