可以使用如下命令來檢查系統(tǒng)存在此漏洞:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
受影響的系統(tǒng)包括:
CentOS
Debian
Redhat
Ubuntu
紅帽系可通過更新 bash 并重啟系統(tǒng)來解決這個(gè)問題:
# yum update bash
或者:
# yum update bash-4.1.2-15.el6_5.1
此舉只是更新了 bash 包,還需要重啟系統(tǒng)才能生效。
Ubuntu 用戶可以通過如下命令打補(bǔ)丁,無需重啟:
apt-get update
apt-get install bash
http://www.chinaz.com/news/2014/0926/368995.shtml
歡迎光臨 WDlinux官方論壇 (http://fudaan.com/bbs/) | Powered by Discuz! 7.2 |