首页 > 系统服务 > 详细

Linux Bash安全漏洞修复

时间:2014-09-25 15:42:10      阅读:297      评论:0      收藏:0      [点我收藏+]

1.影响的系统包括

Centos

Debian

Redhat

Ubuntu

 

2.检查系统是否要修复

[root@mysql ~]# env x=‘() { :;}; echo vulnerable‘ bash -c "echo this is a test"
vulnerable
this is a test
[root@mysql ~]#

如果输出以上结果表示需要修复bash漏洞

 

3.修复漏洞

[root@mysql ~]# yum update bash -y

 

4.重新检查漏洞是否修复

[root@mysql ~]# 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
[root@mysql ~]#

 

本文出自 “一起走过的日子” 博客,谢绝转载!

Linux Bash安全漏洞修复

原文:http://tongcheng.blog.51cto.com/6214144/1558087

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!