Solaris是一款由Sun开发和维护的商业性质UNIX操作系统。
Solaris系统的srsexec工具在处理文件访问权限时存在漏洞,本地攻击者可能利用此漏洞读取部分敏感文件内容。
如果安装了SUNWsrspx软件包的话,则该软件包中的srsexec工具可能允许本地攻击者访问敏感信息,如root口令哈希。漏洞起因是没有丢弃或检查目标文件的权限,如果用户指定了verify only模式(-v)及debug(-d)模式的话,且指定了受保护的文件(如/etc/shadow),srsexec就会在debug消息中显示/etc/shadow的第一行。
Sun SRS Net Connect Software 3.2.4
Sun SRS Net Connect Software 3.2.3
临时解决方法:
# chmod -s /opt/SUNWsrspx/bin/srsexec
厂商补丁:
Sun已经为此发布了一个安全公告(Sun-Alert-102891)以及相应补丁:
Sun-Alert-102891:Security Vulnerability in Sun Remote Services (SRS) Net Connect Software
链接:<a href=“http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-102891-1” target=“_blank”>http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-102891-1</a>
补丁下载:
<a href=“http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-125713-01-1” target=“_blank”>http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-125713-01-1</a>
<a href=“http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-123870-02-1” target=“_blank”>http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-123870-02-1</a>
$ /opt/SUNWsrspx/bin/srsexec -dvb /etc/shadow OWNED
verify_binary(OWNED)
srsexec: binary_name: OWNED
srsexec: name_buf: OWNED__________