发布时间 :2005-12-22 16:03:00
修订时间 :2011-06-02 00:00:00

[原文]Buffer overflow in the Network Block Device (nbd) server 2.7.5 and earlier, and 2.8.0 through 2.8.2, allows remote attackers to execute arbitrary code via a large request, which is written past the end of the buffer because nbd does not account for memory taken by the reply header.

[CNNVD]Network Block Device Server缓冲区溢出漏洞(CNNVD-200512-556)

        Network Block Device (nbd) server 2.7.5及更早版本和2.8.0至2.8.2版本存在缓冲区漏洞,远程攻击者可以通过大请求来执行任意代码,这种请求由于没有计算回复标题所用内存而出现超过缓冲区结尾界限的问题。

- CVSS (基础分值)

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

- CWE (弱点类目)

CWE-119 [内存缓冲区边界内操作的限制不恰当]

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

cpe:/a:wouter_verhelst:nbd:2.7.5Wouter Verhelst Network Block Device (nbd) 2.7.5
cpe:/a:wouter_verhelst:nbd:2.8.2Wouter Verhelst Network Block Device (nbd) 2.8.2
cpe:/a:wouter_verhelst:nbd:2.8.0Wouter Verhelst Network Block Device (nbd) 2.8.0

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


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(PATCH)  BID  16029
(PATCH)  OSVDB  21848

- 漏洞信息

Network Block Device Server缓冲区溢出漏洞
高危 缓冲区溢出
2005-12-22 00:00:00 2006-06-06 00:00:00
        Network Block Device (nbd) server 2.7.5及更早版本和2.8.0至2.8.2版本存在缓冲区漏洞,远程攻击者可以通过大请求来执行任意代码,这种请求由于没有计算回复标题所用内存而出现超过缓冲区结尾界限的问题。

- 公告与补丁


- 漏洞信息

Network Block Device (NBD) Server Request Handling Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Unknown Vendor Verified

- 漏洞描述

A remote overflow exists in Network Block Device (NBD). The application fails to perform proper bounds checking resulting in a buffer overflow. With a specially crafted request, a remote attacker can cause arbitrary code execution resulting in a loss of integrity.

- 时间线

2005-12-21 Unknow
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Network Block Device Server Buffer Overflow Vulnerability
Boundary Condition Error 16029
Yes No
2005-12-21 12:00:00 2006-05-23 10:48:00
Kurt Fitzner is credited with the discovery of this vulnerability.

- 受影响的程序版本

Ubuntu Ubuntu Linux 5.10 powerpc
Ubuntu Ubuntu Linux 5.10 i386
Ubuntu Ubuntu Linux 5.10 amd64
S.u.S.E. Linux Professional 10.0 OSS
S.u.S.E. Linux Professional 10.0
S.u.S.E. Linux Personal 10.0 OSS
Network Block Device NBD 2.8.2
Network Block Device NBD 2.8.1
Network Block Device NBD 2.8
Network Block Device NBD 2.7.5
Gentoo Linux
Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
Debian Linux 3.0 sparc
Debian Linux 3.0 s/390
Debian Linux 3.0 ppc
Debian Linux 3.0 mipsel
Debian Linux 3.0 mips
Debian Linux 3.0 m68k
Debian Linux 3.0 ia-64
Debian Linux 3.0 ia-32
Debian Linux 3.0 hppa
Debian Linux 3.0 arm
Debian Linux 3.0 alpha
Debian Linux 3.0
Network Block Device NBD 2.8.3
Network Block Device NBD 2.7.6

- 不受影响的程序版本

Network Block Device NBD 2.8.3
Network Block Device NBD 2.7.6

- 漏洞讨论

NBD is prone to a remote buffer-overflow vulnerability. This issue is due to a failure in the server to do proper bounds checking on user-supplied data before using it in finite-sized buffers.

An attacker can exploit this issue to execute arbitrary code in the context of the affected application. This may facilitate a compromise of the underlying system.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at:

- 解决方案

The vendor has released NBD versions 2.7.6 and 2.8.3 to address this issue.

Please see the referenced advisories for further information.

Network Block Device NBD 2.7.5

Network Block Device NBD 2.8

Network Block Device NBD 2.8.1

Network Block Device NBD 2.8.2

- 相关参考