2014年9月25日 星期四

Fix bash Vulnerability CVE-2014-6271

測試方式:
env x='() { :;}; echo vulnerable' bash -c 'echo hello'

如果出現以下,代表你是安全的
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
hello

如果出現以下,代表會被這漏洞攻擊
vulnerable
hello


修正方式:
sudo apt-get update && sudo apt-get install bash


參考:http://askubuntu.com/questions/528101/what-is-the-cve-2014-6271-bash-vulnerability-and-how-do-i-fix-it


但是很不幸的 Ubuntu 沒修正完全。
後續還有 CVE-2014-7169 要修XD


Update:
https://twitter.com/ErrataRob/status/514831122400686080/photo/1
csh、tcsh、ksh、sh、zsh 全部中囉~可喜可賀!

沒有留言:

張貼留言