📄 deb_1571_1.nasl
字号:
# OpenVAS Vulnerability Test# $Id$# Description: Auto-generated from advisory DSA 1571-1 (openssl)## Authors:# Thomas Reinke <reinke@securityspace.com>## Copyright:# Copyright (c) 2008 E-Soft Inc. http://www.securityspace.com# Text descriptions are largely excerpted from the referenced# advisory, and are Copyright (c) the respective author(s)## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License version 2,# as published by the Free Software Foundation## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.#if(description){ script_id(61027); script_cve_id("CVE-2008-0166", "CVE-2007-4995", "CVE-2007-3108"); script_version ("$"); name["english"] = "Debian Security Advisory DSA 1571-1 (openssl)"; script_name(english:name["english"]); desc["english"] = "The remote host is missing an update to opensslannounced via advisory DSA 1571-1.Luciano Bello discovered that the random number generator in Debian'sopenssl package is predictable. This is caused by an incorrectDebian-specific change to the openssl package (CVE-2008-0166). As aresult, cryptographic key material may be guessable.This is a Debian-specific vulnerability which does not affect otheroperating systems which are not based on Debian. However, other systemscan be indirectly affected if weak keys are imported into them.It is strongly recommended that all cryptographic key material which hasbeen generated by OpenSSL versions starting with 0.9.8c-1 on Debiansystems is recreated from scratch. Furthermore, all DSA keys ever usedon affected Debian systems for signing or authentication purposes shouldbe considered compromised; the Digital Signature Algorithm relies on asecret random value used during signature generation.The first vulnerable version, 0.9.8c-1, was uploaded to the unstabledistribution on 2006-09-17, and has since propagated to the testing andcurrent stable (etch) distributions. The old stable distribution(sarge) is not affected.Affected keys include SSH keys, OpenVPN keys, DNSSEC keys, and keymaterial for use in X.509 certificates and session keys used in SSL/TLSconnections. Keys generated with GnuPG or GNUTLS are not affected,though.A detector for known weak key material will be published at:<http://security.debian.org/project/extra/dowkd/dowkd.pl.gz><http://security.debian.org/project/extra/dowkd/dowkd.pl.gz.asc>(OpenPGP signature)Instructions how to implement key rollover for various packages will bepublished at:<http://www.debian.org/security/key-rollover/>This web site will be continously updated to reflect new and updatedinstructions on key rollovers for packages using SSL certificates.Popular packages not affected will also be listed.In addition to this critical change, two other vulnerabilities have beenfixed in the openssl package which were originally scheduled for releasewith the next etch point release: OpenSSL's DTLS (Datagram TLS,basically SSL over UDP) implementation did not actually implement theDTLS specification, but a potentially much weaker protocol, andcontained a vulnerability permitting arbitrary code execution(CVE-2007-4995). A side channel attack in the integer multiplicationroutines is also addressed (CVE-2007-3108).For the stable distribution (etch), these problems have been fixed inversion 0.9.8c-4etch3.For the unstable distribution (sid) and the testing distribution(lenny), these problems have been fixed in version 0.9.8g-9.We recommend that you upgrade your openssl package and subsequentlySolution:https://secure1.securityspace.com/smysecure/catid.html?in=DSA%201571-1Risk factor : High"; script_description(english:desc["english"]); summary["english"] = "Debian Security Advisory DSA 1571-1 (openssl)"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"Copyright (c) 2008 E-Soft Inc. http://www.securityspace.com"); family["english"] = "Debian Local Security Checks"; script_family(english:family["english"]); script_dependencies("gather-package-list.nasl"); script_require_keys("ssh/login/packages"); exit(0);}## The script code starts here#include("revisions-lib.inc");include("pkg-lib-deb.inc");vuln = 0;if(isdpkgvuln(pkg:"openssl", ver:"0.9.8c-4etch3", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"libssl0.9.8-dbg", ver:"0.9.8c-4etch3", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"libssl0.9.8", ver:"0.9.8c-4etch3", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"libssl-dev", ver:"0.9.8c-4etch3", rls:"DEB4.0")) { vuln = 1;}if(vuln) { security_hole(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -