国产肉体XXXX裸体137大胆,国产成人久久精品流白浆,国产乱子伦视频在线观看,无码中文字幕免费一区二区三区 国产成人手机在线-午夜国产精品无套-swag国产精品-国产毛片久久国产

新聞中心

EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > Linux Bash嚴(yán)重漏洞緊急修復(fù)方案

Linux Bash嚴(yán)重漏洞緊急修復(fù)方案

作者: 時(shí)間:2016-09-12 來源:網(wǎng)絡(luò) 收藏

  今天剛剛爆出Bash安全漏洞,Bash存在一個(gè)安全的漏洞,該漏洞直接影響基于Unix的系統(tǒng)(如Linux、OS X 等)。該漏洞將導(dǎo)致遠(yuǎn)程攻擊者在受影響的系統(tǒng)上執(zhí)行任意代碼。

本文引用地址:http://m.ptau.cn/article/201609/304527.htm

  【已確認(rèn)被成功利用的軟件及系統(tǒng)】

  所有安裝GNU bash 版本小于或者等于4.3的Linux操作系統(tǒng)。

  【漏洞描述】

  該漏洞源于你調(diào)用的bash shell之前創(chuàng)建的特殊的環(huán)境變量,這些變量可以包含代碼,同時(shí)會(huì)被bash執(zhí)行。

  【漏洞檢測(cè)方法】

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

  vulnerable

  this is a test

  如果顯示如上,那么,很遺憾,必須立即打上安全補(bǔ)丁修復(fù)。

  【建議修補(bǔ)方案 】

  特別提示:該修復(fù)不會(huì)有任何影響。

  根據(jù)Linux版本選擇您需要修復(fù)的命令:

  centos:

  yum -y update bash

  ubuntu:

  14.04 64bit

  wget http://mirrors.aliyun.com/fix_stuff/bash_4.3-7ubuntu1.1_amd64.deb dpkg -i bash_4.3-7ubuntu1.1_amd64.deb

  14.04 32bit

  wget http://mirrors.aliyun.com/fix_stuff/bash_4.3-7ubuntu1.1_i386.deb dpkg -i bash_4.3-7ubuntu1.1_i386.deb

  12.04 64bit

  wget http://mirrors.aliyun.com/fix_stuff/bash_4.2-2ubuntu2.2_amd64.deb dpkg -i bash_4.2-2ubuntu2.2_amd64.deb

  12.04 32bit

  wget http://mirrors.aliyun.com/fix_stuff/bash_4.2-2ubuntu2.2_i386.deb dpkg -i bash_4.2-2ubuntu2.2_i386.deb

  10.× 64bit

  wget http://mirrors.aliyun.com/fix_stuff/bash_4.1-2ubuntu3.1_amd64.deb dpkg -i bash_4.1-2ubuntu3.1_amd64.deb

  10.× 32bit

  wget http://mirrors.aliyun.com/fix_stuff/bash_4.1-2ubuntu3.1_i386.deb dpkg -i bash_4.1-2ubuntu3.1_i386.deb

  debian:

  7.5 64bit 32bit

  apt-get -y install --only-upgrade bash

  6.0.x 64bit

  wget http://mirrors.aliyun.com/debian/pool/main/b/bash/bash_4.1-3%2bdeb6u1_amd64.deb dpkg -i bash_4.1-3+deb6u1_amd64.deb

  6.0.x 32bit

  wget http://mirrors.aliyun.com/debian/pool/main/b/bash/bash_4.1-3%2bdeb6u1_i386.deb dpkg -i bash_4.1-3+deb6u1_i386.deb

  opensuse:

  13.1 64bit

  wget http://mirrors.aliyun.com/fix_stuff/bash-4.2-68.4.1.x86_64.rpm rpm -Uvh bash-4.2-68.4.1.x86_64.rpm

  13.1 32bit

  wget http://mirrors.aliyun.com/fix_stuff/bash-4.2-68.4.1.i586.rpm rpm -Uvh bash-4.2-68.4.1.i586.rpm

  aliyun linux:

  5.x 64bit

  wget http://mirrors.aliyun.com/centos/5/updates/x86_64/RPMS/bash-3.2-33.el5.1.x86_64.rpm rpm -Uvh bash-3.2-33.el5.1.x86_64.rpm

  5.x 32bit

  wget http://mirrors.aliyun.com/centos/5/updates/i386/RPMS/bash-3.2-33.el5.1.i386.rpm rpm -Uvh bash-3.2-33.el5.1.i386.rpm

  【修補(bǔ)完成測(cè)試】

  升級(jí)bash后,執(zhí)行測(cè)試:

  $ 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

  如果顯示如上,表示已經(jīng)修補(bǔ)了漏洞。



關(guān)鍵詞:

評(píng)論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉