📄 deb_047_1.nasl
字号:
# OpenVAS Vulnerability Test# $Id$# Description: Auto-generated from advisory DSA 047-1## Authors:# Thomas Reinke <reinke@securityspace.com>## Copyright:# Copyright (c) 2007 E-Soft Inc. http://www.securityspace.com# Text descriptions are largerly 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(53864); script_version ("$"); name["english"] = "Debian Security Advisory DSA 047-1 (various kernel packages)"; script_name(english:name["english"]); desc["english"] = "The remote host is missing an update to various kernel packagesannounced via advisory DSA 047-1.The kernels used in Debian GNU/Linux 2.2 have been found to havemultiple security problems. This is a list of problems basedon the 2.2.19 release notes as found on http://www.linux.org.uk/ :* binfmt_misc used user pages directly* the CPIA driver had an off-by-one error in the buffer code which madeit possible for users to write into kernel memory* the CPUID and MSR drivers had a problem in the module unloading codewhich could case a system crash if they were set to automatically loadand unload (please note that Debian does not automatically unload kernelmodules)* There was a possible hang in the classifier code* The getsockopt and setsockopt system calls did not handle sign bitscorrectly which made a local DoS and other attacks possible* The sysctl system call did not handle sign bits correctly which alloweda user to write in kernel memory* ptrace/exec races that could give a local user extra privileges* possible abuse of a boundary case in the sockfilter code* SYSV shared memory code could overwrite recently freed memory which mightcause problems* The packet length checks in the masquerading code were a bit lax(probably not exploitable)* Some x86 assembly bugs caused the wrong number of bytes to be copied.* A local user could deadlock the kernel due to bugs in the UDP portallocation.All these problems are fixed in the 2.2.19 kernel, and it is highlyrecommend that you upgrade machines to this kernel.Please note that kernel upgrades are not done automatically. You willhave to explicitly tell the packaging system to install the right kernelfor your system.Solution:https://secure1.securityspace.com/smysecure/catid.html?in=DSA%20047-1Risk factor : High"; script_description(english:desc["english"]); summary["english"] = "Debian Security Advisory DSA 047-1 (various kernel packages)"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"Copyright (c) 2005 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:"kernel-doc-2.2.19", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-source-2.2.19", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-headers-2.2.19-sparc", ver:"6", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-patch-2.2.19-arm", ver:"20010414", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-patch-2.2.19-m68k", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-patch-2.2.19-powerpc", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-riscpc", ver:"20010414", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-headers-2.2.19", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-generic", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-jensen", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-nautilus", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-smp", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-amiga", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-atari", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-bvme6000", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-mac", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-mvme147", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-mvme16x", ver:"2.2.19-1", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-headers-2.2.19-compact", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-headers-2.2.19-ide", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-headers-2.2.19-idepci", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-compact", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-ide", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-idepci", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-chrp", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-pmac", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-prep", ver:"2.2.19-2", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-sun4cdm", ver:"6", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-sun4dm-pci", ver:"6", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-sun4dm-smp", ver:"6", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-sun4u-smp", ver:"6", rls:"DEB2.2")) { vuln = 1;}if(isdpkgvuln(pkg:"kernel-image-2.2.19-sun4u", ver:"6", rls:"DEB2.2")) { vuln = 1;}if(vuln) { security_hole(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -