免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7208 | 回复: 9
打印 上一主题 下一主题

Solaris 10 如何处理Bash远程任意代码执行安全漏洞? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-09-29 16:37 |只看该作者 |倒序浏览
哪位大侠知道Solaris 10如何处理Bash远程任意代码执行安全漏洞呢?

我用pkgutil更新的bash,新的bash安装路径是/opt/csw/bin/bash。

安装过程及结果如下:
# /opt/csw/bin/pkgutil -y -i bash
=> Fetching new catalog and descriptions (http://mirror.opencsw.org/opencsw/testing/i386/5.10) if available ...
==> 3746 packages loaded from /var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_testing_i386_5.10
Solving needed dependencies ...
Solving dependency order ...
7 CURRENT packages:
        CSWcas-texinfo-1.42,REV=2010.11.26
        CSWcommon-1.5,REV=2010.12.11
        CSWggettext-data-0.18.1.1,p,REV=2011.03.15
        CSWiconv-1.14,REV=2011.08.08
        CSWlibcharset1-1.14,REV=2011.08.07
        CSWlibiconv2-1.14,REV=2011.08.07
        CSWlibintl8-0.18.1.1,p,REV=2011.03.15
Install 2 NEW packages:
        CSWbash-4.3.25,REV=2014.09.26 (opencsw/testing)
        CSWcas-etcshells-1.45,REV=2011.07.12 (opencsw/testing)
Total size: 2.1 MB
=> Fetching CSWcas-etcshells-1.45,REV=2011.07.12 (1/2) ...
=> Fetching CSWbash-4.3.25,REV=2014.09.26 (2/2) ...

=> Installing CSWcas-etcshells-1.45,REV=2011.07.12 (1/2) ...
Please see /opt/csw/share/doc/cas_etcshells/license for license information.

Installation of <CSWcas-etcshells> was successful.

=> Installing CSWbash-4.3.25,REV=2014.09.26 (2/2) ...
Please see /opt/csw/share/doc/bash/license for license information.
Installing class <cswetcshells> ...
Creating /etc/shells with default set of shells (see: man shells)
Registering /opt/csw/bin/bash in /etc/shells.
Installing class <cswtexinfo> ...
/opt/csw/share/info/bash.info (texinfo will be registered when CSWtexinfo is installed)

Installation of <CSWbash> was successful.



查看默认的bash版本:
# bash -version
GNU bash, version 3.00.16(1)-release (i386-pc-solaris2.10)
Copyright (C) 2004 Free Software Foundation, Inc.

查看新更新的bash的版本号,出现错误了:
# /opt/csw/bin/bash -version
ld.so.1: bash: 致命的: libc.so.1: 版本`SUNW_1.22.5'未找到(文件 /opt/csw/bin/bash必需的)
ld.so.1: bash: 致命的: libc.so.1: 打开失败: 无此文件或目录
被杀掉


大侠,受累告诉我如何处理这个棘手问题,谢谢指导!

论坛徽章:
0
2 [报告]
发表于 2014-10-03 22:03 |只看该作者
You need this:

SunOS 5.10_x86: bash patch (Patch) 126547-07.zip        2.4 MB

论坛徽章:
0
3 [报告]
发表于 2014-10-04 11:13 |只看该作者
请问楼上大侠能提供下载地址吗?我的是5.10 sparc平台的,谢谢!

论坛徽章:
0
4 [报告]
发表于 2014-10-09 14:09 |只看该作者
给个下载地址,sparc 64bit  多谢!回复 2# watchsat


   

论坛徽章:
0
5 [报告]
发表于 2014-10-09 15:06 |只看该作者
回复 1# anfy

一个大神的解决方法:
#  LD_NOVERSION=yes
# export LD_NOVERSION


设置环境变量就可以了!

论坛徽章:
0
6 [报告]
发表于 2014-10-09 15:07 |只看该作者
回复 3# zhmg


    看看这个帖子,有帮助:
   http://blog.chinaunix.net/uid-113269-id-4533739.html

论坛徽章:
0
7 [报告]
发表于 2014-10-09 15:08 |只看该作者
回复 4# zgq919


    看看这个帖子,不知道对你的问题有帮助没有:
   http://blog.chinaunix.net/uid-113269-id-4533739.html

论坛徽章:
0
8 [报告]
发表于 2014-12-26 13:41 |只看该作者
本帖最后由 zhmg 于 2014-12-26 13:42 编辑

我全部装完之后,运行报错,请各位大侠帮忙看看,非常感谢!
jinjq# ls -ltr
total 28418
-rw-r-----   1 jinjq other     574464 Dec 26 13:03 now
-rw-r-----   1 jinjq other     955392 Dec 26 13:10 bash_completion-2.1,REV=2014.04.21-SunOS5.10-all-CSW.pkg
-rw-r-----   1 jinjq other    7661056 Dec 26 13:10 bash-4.3.30,REV=2014.10.18-SunOS5.10-i386-CSW.pkg
-rw-r-----   1 jinjq other       7680 Dec 26 13:20 cas_etcshells-1.45,REV=2011.07.12-SunOS5.9-all-CSW.pkg
-rw-r-----   1 jinjq other       7168 Dec 26 13:21 cas_texinfo-1.42,REV=2010.11.26-SunOS5.9-all-CSW.pkg
-rw-r-----   1 jinjq other      22528 Dec 26 13:21 common-1.5,REV=2010.12.11-SunOS5.8-i386-CSW.pkg
-rw-r-----   1 jinjq other    2862592 Dec 26 13:22 ggettext_data-0.18.1.1,p,REV=2011.03.15-SunOS5.9-all-CSW.pkg
-rw-r-----   1 jinjq other      40960 Dec 26 13:22 iconv_stub-1.14,REV=2011.08.08-SunOS5.9-all-CSW.pkg
-rw-r-----   1 jinjq other      69632 Dec 26 13:22 libcharset1-1.14,REV=2011.08.07-SunOS5.9-i386-CSW.pkg
-rw-r-----   1 jinjq other    1979392 Dec 26 13:23 libiconv2-1.14,REV=2011.08.07-SunOS5.9-i386-CSW.pkg
-rw-r-----   1 jinjq other     289280 Dec 26 13:23 libintl8-0.18.1.1,p,REV=2011.03.15-SunOS5.9-i386-CSW.pkg
jxdns02ber# pkgadd -d bash-4.3.30,REV=2014.10.18-SunOS5.10-i386-CSW.pkg

The following packages are available:
  1  CSWbash     bash - A sh-compatible command language interpreter
                 (i386) 4.3.30,REV=2014.10.18

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all

Processing package instance <CSWbash> from </export/home/jinjq/jinjq/bash/bash-4.3.30,REV=2014.10.18-SunOS5.10-i386-CSW.pkg>

bash - A sh-compatible command language interpreter(i386) 4.3.30,REV=2014.10.18

This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.

Please see /opt/csw/share/doc/bash/license for license information.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   63 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing bash - A sh-compatible command language interpreter as <CSWbash>

## Installing part 1 of 1.
[ verifying class <none> ]
Installing class <cswetcshells> ...
[ verifying class <cswetcshells> ]
Installing class <cswtexinfo> ...
[ verifying class <cswtexinfo> ]

Installation of <CSWbash> was successful.
jinjq# /opt/csw/bin/bash -version
/opt/csw/bin/bash: Invalid argument

论坛徽章:
0
9 [报告]
发表于 2015-04-13 19:37 |只看该作者
有没有补丁的下载链接 求

论坛徽章:
0
10 [报告]
发表于 2015-05-23 22:46 |只看该作者
下补丁是要有MOS账号的.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP