📄 deb_1617_1.nasl
字号:
# OpenVAS Vulnerability Test# $Id$# Description: Auto-generated from advisory DSA 1617-1 (refpolicy)## 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(61368); script_cve_id("CVE-2008-1447"); script_version ("$"); name["english"] = "Debian Security Advisory DSA 1617-1 (refpolicy)"; script_name(english:name["english"]); desc["english"] = "The remote host is missing an update to refpolicyannounced via advisory DSA 1617-1.In DSA-1603-1, Debian released an update to the BIND 9 domain nameserver, which introduced UDP source port randomization to mitigatethe threat of DNS cache poisoning attacks (identified by the CommonVulnerabilities and Exposures project as CVE-2008-1447). The fix,while correct, was incompatible with the version of SELinux ReferencePolicy shipped with Debian Etch, which did not permit a processrunning in the named_t domain to bind sockets to UDP ports other thanthe standard 'domain' port (53). The incompatibility affects boththe 'targeted' and 'strict' policy packages supplied by this versionof refpolicy.This update to the refpolicy packages grants the ability to bind toarbitrary UDP ports to named_t processes. When installed, theupdated packages will attempt to update the bind policy module onsystems where it had been previously loaded and where the previousversion of refpolicy was 0.0.20061018-5 or below.Because the Debian refpolicy packages are not yet designed withpolicy module upgradeability in mind, and because SELinux-enabledDebian systems often have some degree of site-specific policycustomization, it is difficult to assure that the new bind policy canbe successfully upgraded. To this end, the package upgrade will notabort if the bind policy update fails. The new policy module can befound at /usr/share/selinux/refpolicy-targeted/bind.pp afterinstallation. Administrators wishing to use the bind service policycan reconcile any policy incompatibilities and install the upgrademanually thereafter. A more detailed discussion of the correctiveprocedure may be found here:http://wiki.debian.org/SELinux/Issues/BindPortRandomizationFor the stable distribution (etch), this problem has been fixed inversion 0.0.20061018-5.1+etch1. The unstable distribution (sid) isnot affected, as subsequent refpolicy releases have incorporated ananalogous change.We recommend that you upgrade your refpolicy packages.Solution:https://secure1.securityspace.com/smysecure/catid.html?in=DSA%201617-1Risk factor : High"; script_description(english:desc["english"]); summary["english"] = "Debian Security Advisory DSA 1617-1 (refpolicy)"; 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:"selinux-policy-refpolicy-strict", ver:"0.0.20061018-5.1+etch1", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"selinux-policy-refpolicy-doc", ver:"0.0.20061018-5.1+etch1", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"selinux-policy-refpolicy-targeted", ver:"0.0.20061018-5.1+etch1", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"selinux-policy-refpolicy-src", ver:"0.0.20061018-5.1+etch1", rls:"DEB4.0")) { vuln = 1;}if(isdpkgvuln(pkg:"selinux-policy-refpolicy-dev", ver:"0.0.20061018-5.1+etch1", rls:"DEB4.0")) { vuln = 1;}if(vuln) { security_hole(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -