CVE-2000-0535
CVSS5.0
发布时间 :2000-06-12 00:00:00
修订时间 :2008-09-10 15:05:00
NMCOS    

[原文]OpenSSL 0.9.4 and OpenSSH for FreeBSD do not properly check for the existence of the /dev/random or /dev/urandom devices, which are absent on FreeBSD Alpha systems, which causes them to produce weak keys which may be more easily broken.


[CNNVD]FreeBSD Alpha端口缺少/dev/random/dev/urandom漏洞(CNNVD-200006-053)

        FreeBSD的OpenSSL 0.9.4 和OpenSSH不能正确检查/dev/random或/dev/urandom设备的存在性,FreeBSD Alpha缺少这些设备。此漏洞导致设备产生容易破解的弱密钥。

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: NONE [对系统的机密性无影响]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:openssl:openssl:0.9.4OpenSSL Project OpenSSL 0.9.4
cpe:/o:freebsd:freebsd:4.0:alpha
cpe:/o:freebsd:freebsd:5.0:alpha

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/1340
(VENDOR_ADVISORY)  BID  1340
http://archives.neohapsis.com/archives/freebsd/2000-06/0083.html
(VENDOR_ADVISORY)  FREEBSD  FreeBSD-SA-00:25

- 漏洞信息

FreeBSD Alpha端口缺少/dev/random/dev/urandom漏洞
中危 配置错误
2000-06-12 00:00:00 2006-09-21 00:00:00
远程  
        FreeBSD的OpenSSL 0.9.4 和OpenSSH不能正确检查/dev/random或/dev/urandom设备的存在性,FreeBSD Alpha缺少这些设备。此漏洞导致设备产生容易破解的弱密钥。

- 公告与补丁

        OpenSSL 0.9.5 added checks to make sure the calls that use (open, read from, etc) the devices work.
        FreeBSD corrected the following distributions for the Alpha platform on the dates listed below:
        2000-05-10 (4.0-STABLE)
        2000-04-28 (5.0-CURRENT)
        If you are using a FreeBSD distribution of these versions obtained earlier than the dates shown, you can take the following steps (copied from the advisory):
        1a) Upgrade your FreeBSD/Alpha system to FreeBSD 4.0-STABLE after the
        correction date.
        1b) install the patched 4.0-RELEASE GENERIC kernel available from:
        ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.gz
        e.g. perform the following steps as root:
        # fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.gz
        # fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.gz.asc
        [ Verify the detached PGP signature using your PGP utility - consult your
        utility's documentation for how to do this ]
        # gunzip kernel.gz
        # cp /kernel /kernel.old
        # chflags noschg /kernel
        # cp kernel /kernel
        # chflags schg /kernel
        1c) Download the kernel source patch and rebuild your FreeBSD/Alpha
        kernel, as follows:
        # fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.sys.diff
        Download the detached PGP signature:
        # fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.sys.diff.asc
        and verify the signature using your PGP utility.
        Apply the patch:
        # cd /usr/src
        # patch -p < /path/to/kernel.sys.diff
        Rebuild your kernel as described in
        http://www.freebsd.org/handbook/kernelconfig.html
        and reboot with the new kernel.
        NOTE: Because of the significant improvements to the FreeBSD/Alpha
        platform in FreeBSD 4.0, it is not planned at this time to backport
        the necessary changes to FreeBSD 3.4-STABLE.
        2) Immediately regenerate all OpenSSH-generated SSH keys and
        OpenSSL-generated SSL certificates, and any other data relying on
        cryptographic random numbers which were generated on FreeBSD/Alpha
        systems, whose strength cannot be verified. [Note: for most systems,
        the only significant vulnerability is likely to be from OpenSSH and
        OpenSSL-generated keys and certificates (e.g. for SSL webservers)]

- 漏洞信息

3938
OpenSSL and OpenSSH /dev/random Check Failure
Local Access Required, Remote / Network Access Cryptographic
Loss of Confidentiality
Exploit Unknown

- 漏洞描述

The FreeBSD port to the Alpha architecture neglected to include the /dev/random and /dev/urandom devices in releases prior to 2000-05-10 (for 4.0-STABLE) and 2000-04-28 (for 5.0-CURRENT). OpenSSL and OpenSSH depend on these devices to provide a strong source of cryptographic entropy, but incorrectly did not check for their presence. Therefore, any cryptographic keys generated would not have the expected strength and may be vulnerable to attack, leading to potential key compromise.

- 时间线

2000-06-12 Unknow
Unknow Unknow

- 解决方案

Upgrade your FreeBSD/Alpha system to FreeBSD 4.0-STABLE (post 5/10/2005) or 5.0-CURRENT (post 4/28/2000), install the patched GENERIC kernel, or download the kernel source patch and rebuild your FreeBSD/Alpha kernel, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds. You must then immediately regenerate all OpenSSH-generated SSH keys and OpenSSL-generated SSL certificates, and any other data relying on cryptographic random numbers whose strength cannot be verified.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

FreeBSD Alpha Port Lack Of /dev/random and /dev/urandom Vulnerability
Configuration Error 1340
No No
2000-06-12 12:00:00 2009-07-11 02:56:00
First made public in FreeBSD advisory FreeBSD-SA-00:25 on June 12, 2000.

- 受影响的程序版本

FreeBSD FreeBSD 5.0 alpha
FreeBSD FreeBSD 4.0 alpha

- 漏洞讨论

Distributions of FreeBSD for the Alpha architecture shipped without the /dev/random and /dev/urandom devices. These devices can be used by products and tools to gather entropy for generating cryptographically strong random numbers. Software that does not detect whether opening and reading from the devices fails or not before generating these random numbers may be vulnerable to simplified cryptanalysis against the weakened keys that would be produced. OpenSSL version 0.9.4 and OpenSSH both lacked checks and were vulnerable to this problem.

- 漏洞利用

Currently the SecurityFocus staff 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: vuldb@securityfocus.com.

- 解决方案

OpenSSL 0.9.5 added checks to make sure the calls that use (open, read from, etc) the devices work.

FreeBSD corrected the following distributions for the Alpha platform on the dates listed below:

2000-05-10 (4.0-STABLE)
2000-04-28 (5.0-CURRENT)

If you are using a FreeBSD distribution of these versions obtained earlier than the dates shown, you can take the following steps (copied from the advisory):

1a) Upgrade your FreeBSD/Alpha system to FreeBSD 4.0-STABLE after the
correction date.

1b) install the patched 4.0-RELEASE GENERIC kernel available from:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.gz

e.g. perform the following steps as root:

# fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.gz
# fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.gz.asc

[ Verify the detached PGP signature using your PGP utility - consult your
utility's documentation for how to do this ]

# gunzip kernel.gz
# cp /kernel /kernel.old
# chflags noschg /kernel
# cp kernel /kernel
# chflags schg /kernel

1c) Download the kernel source patch and rebuild your FreeBSD/Alpha
kernel, as follows:

# fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.sys.diff

Download the detached PGP signature:

# fetch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-00:25/kernel.sys.diff.asc

and verify the signature using your PGP utility.

Apply the patch:

# cd /usr/src
# patch -p < /path/to/kernel.sys.diff

Rebuild your kernel as described in

http://www.freebsd.org/handbook/kernelconfig.html

and reboot with the new kernel.

NOTE: Because of the significant improvements to the FreeBSD/Alpha
platform in FreeBSD 4.0, it is not planned at this time to backport
the necessary changes to FreeBSD 3.4-STABLE.

2) Immediately regenerate all OpenSSH-generated SSH keys and
OpenSSL-generated SSL certificates, and any other data relying on
cryptographic random numbers which were generated on FreeBSD/Alpha
systems, whose strength cannot be verified. [Note: for most systems,
the only significant vulnerability is likely to be from OpenSSH and
OpenSSL-generated keys and certificates (e.g. for SSL webservers)]

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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