Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2014-6277

Description

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access, and untrusted-pointer read and write operations) 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271 and CVE-2014-7169.

POC

Reference

- http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html

- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html

- http://www-01.ibm.com/support/docview.wss?uid=swg21685541

- http://www-01.ibm.com/support/docview.wss?uid=swg21685733

- http://www.qnap.com/i/en/support/con_show.php?cid=61

- https://kc.mcafee.com/corporate/index?page=content&id=SB10085

- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183

Github

- https://github.com/EvanK/shocktrooper

- https://github.com/IZAORICASTm/CHARQITO_NET

- https://github.com/MrCl0wnLab/ShellShockHunter

- https://github.com/NINNiT/shellshock-lab

- https://github.com/abdullah89255/Shellshock

- https://github.com/demining/ShellShock-Attack

- https://github.com/giterlizzi/secdb-feeds

- https://github.com/googleinurl/Xpl-SHELLSHOCK-Ch3ck

- https://github.com/hannob/bashcheck

- https://github.com/ido/macosx-bash-92-shellshock-patched

- https://github.com/inspirion87/w-test

- https://github.com/jdauphant/patch-bash-shellshock

- https://github.com/mrash/afl-cve

- https://github.com/mubix/shellshocker-pocs

- https://github.com/mudongliang/LinuxFlaw

- https://github.com/oneoy/cve-

- https://github.com/opragel/shellshockFixOSX

- https://github.com/readloud/ShellShockHunter-v1.0

- https://github.com/swapravo/cvesploit

- https://github.com/trhacknon/Xpl-SHELLSHOCK-Ch3ck

- https://github.com/unixorn/shellshock-patch-osx

- https://github.com/xdistro/ShellShock