Debian OpenSSL Package Random Number Generator Weakness

BID:29179

Info

Debian OpenSSL Package Random Number Generator Weakness

Bugtraq ID: 29179
Class: Design Error
CVE: CVE-2008-0166
Remote: Yes
Local: Yes
Published: May 13 2008 12:00AM
Updated: Oct 19 2012 03:30PM
Credit: Luciano Bello
Vulnerable: Ubuntu Ubuntu Linux 8.04 LTS sparc
Ubuntu Ubuntu Linux 8.04 LTS powerpc
Ubuntu Ubuntu Linux 8.04 LTS lpia
Ubuntu Ubuntu Linux 8.04 LTS i386
Ubuntu Ubuntu Linux 8.04 LTS amd64
Ubuntu Ubuntu Linux 7.10 sparc
Ubuntu Ubuntu Linux 7.10 powerpc
Ubuntu Ubuntu Linux 7.10 lpia
Ubuntu Ubuntu Linux 7.10 i386
Ubuntu Ubuntu Linux 7.10 amd64
Ubuntu Ubuntu Linux 7.04 sparc
Ubuntu Ubuntu Linux 7.04 powerpc
Ubuntu Ubuntu Linux 7.04 i386
Ubuntu Ubuntu Linux 7.04 amd64
Ubuntu Ubuntu Linux 6.06 LTS sparc
Ubuntu Ubuntu Linux 6.06 LTS powerpc
Ubuntu Ubuntu Linux 6.06 LTS i386
Ubuntu Ubuntu Linux 6.06 LTS amd64
Stonesoft StoneGate SSL VPN Engine 1.1
Stonesoft StoneGate IPS Sensor and Analyzer 4.2.2
Stonesoft StoneGate IPS Sensor and Analyzer 4.2
Stonesoft StoneGate IPS Sensor and Analyzer 4.1.2
Stonesoft StoneGate IPS Sensor and Analyzer 4.1
Stonesoft StoneGate IPS Sensor and Analyzer 4.0
Stonesoft StoneGate High Availability Firewall and VPN 4.2.1
Stonesoft StoneGate High Availability Firewall and VPN 4.2
Rsyncrypto Rsyncrypto 1.10
Rsyncrypto Rsyncrypto 0
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
Asterisk Asterisk 0
Not Vulnerable: Stonesoft StoneGate IPS Sensor and Analyzer 4.2.3
Stonesoft StoneGate IPS Sensor and Analyzer 4.1.3
Stonesoft StoneGate IPS Sensor and Analyzer 4.0.1
Stonesoft StoneGate High Availability Firewall and VPN 4.2.2

Discussion

Debian OpenSSL Package Random Number Generator Weakness

The Debian OpenSSL package is prone to a random-number-generator weakness.

Attackers can exploit this issue to predict random data used to generate encryption keys by certain applications. This may help attackers compromise encryption keys and gain access to sensitive data.

This issue affects only a modified OpenSSL package for Debian prior to version 0.9.8c-4etch3.

Exploit / POC

Debian OpenSSL Package Random Number Generator Weakness

Attackers can use brute-force techniques to exploit this issue.

An automated tool to brute-force keys is available at the following location:
http://sugar.metasploit.com/debian_ssh_rsa_2048_x86.tar.bz2

Please note that Symantec has not tested nor verified this application.

Core Security Technologies has developed a working commercial exploit for its CORE IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.

The following Ruby and Python scrips are also available:

Solution / Fix

Debian OpenSSL Package Random Number Generator Weakness

Solution:
The vendor has released updates. Please see the references for more information.

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report