Linux再曝安全性漏洞Bash 比“心臟出血”還嚴重

來源:互聯網
上載者:User

標籤:linux   bash   漏洞   

Linux再曝安全性漏洞Bash 比“心臟出血”還嚴重

    2014年9月25日訊息:一個被指比“心臟出血”還要嚴重的Linux安全性漏洞被發現,儘管還沒有發現利用該漏洞進行的攻擊,但是比“心臟出血”更低的操作門檻讓它比前者更加危險。


  Bash是用於控制Linux電腦命令提示字元的軟體。網路安全公司Trail of Bits的首席執行官丹·吉多表示:與“心臟出血”只允許駭客窺探電腦,但不會讓駭客獲得電腦的控制權。Bash漏洞則不一樣,駭客可以利用它對目標電腦系統進行完全控制。


  更糟的是,利用Bash漏洞的方法更加簡單,只要直接剪下和粘貼一行軟體代碼,就能取得效果。如此低的門檻可能會吸引來更多的駭客進行攻擊,這也是安全專家擔心的地方。


為了避免您Linux伺服器受影響,建議您儘快完成漏洞修補,修複方法如下


漏洞檢測命令:env x=‘() { :;}; echo vulnerable‘  bash -c "echo this is a test"

若顯示:

vulnerable

this is a test   則漏洞未修複

若顯示:

bash: warning: x: ignoring function definition attempt

bash: error importing function definition for `x‘

this is a test   則漏洞已修複


漏洞修複命令:yum update bash -y    


附:網上還有一條漏洞檢測命令:env -i  X=‘() { (a)=>\‘ bash -c ‘echo date‘; cat echo 

輸出結果中見到"date"字樣就修複成功了


我的伺服器是centos6.5  顯示如下:

[[email protected] ~]$  env x=‘() { :;}; echo vulnerable‘  bash -c "echo this is a test"

bash: warning: x: ignoring function definition attempt

bash: error importing function definition for `x‘

this is a test                                      顯示結果表明我修複成功了!

[[email protected] ~]$ env -i  X=‘() { (a)=>\‘ bash -c ‘echo date‘; cat echo

bash: X: line 1: syntax error near unexpected token `=‘

bash: X: line 1: `‘

bash: error importing function definition for `X‘   

Sat Sep 27 19:25:36 CST 2014                        顯示結果表明我未修複成功!(因為沒有出現date)


伺服器已重啟,那我到底是修複成功還是不成功呢???????

相關連結:http://www.linuxidc.com/Linux/2014-09/107176.htm

本文出自 “青春鄧勇” 部落格,請務必保留此出處http://dengyong.blog.51cto.com/8409869/1558852

Linux再曝安全性漏洞Bash 比“心臟出血”還嚴重

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.