The remote host is missing an update for the
# Copyright (C) 2012 Greenbone Networks GmbH
# Text descriptions are largely excerpted from the referenced
# advisory, and are Copyright (C) of their respective author(s)
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# 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_oid("1.3.6.1.4.1.25623.1.0.850324");
script_version("2020-01-31T08:23:39+0000");
script_tag(name:"last_modification", value:"2020-01-31 08:23:39 +0000 (Fri, 31 Jan 2020)");
script_tag(name:"creation_date", value:"2012-12-13 17:01:35 +0530 (Thu, 13 Dec 2012)");
script_cve_id("CVE-2012-2625", "CVE-2012-3432", "CVE-2012-3433", "CVE-2012-3494",
"CVE-2012-3495", "CVE-2012-3496", "CVE-2012-3498", "CVE-2012-3515");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_xref(name:"openSUSE-SU", value:"2012:1172-1");
script_name("openSUSE: Security Advisory for Security (openSUSE-SU-2012:1172-1)");
script_tag(name:"summary", value:"The remote host is missing an update for the 'Security'
package(s) announced via the referenced advisory.");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
script_family("SuSE Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/suse", "ssh/login/rpms", re:"ssh/login/release=openSUSE12\.1");
script_tag(name:"affected", value:"Security on openSUSE 12.1");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"insight", value:"Security Update for Xen
The following bug and security fixes were applied:
- bnc#776995 - attaching scsi control luns with pvscsi
- xend/pvscsi: fix passing of SCSI control LUNs
xen-bug776995-pvscsi-no-devname.patch
- xend/pvscsi: fix usage of persistent device names for
SCSI devices xen-bug776995-pvscsi-persistent-names.patch
- xend/pvscsi: update sysfs parser for Linux 3.0
xen-bug776995-pvscsi-sysfs-parser.patch
- bnc#777090 - CVE-2012-3494: xen: hypercall set_debugreg
vulnerability (XSA-12) CVE-2012-3494-xsa12.patch
- bnc#777088 - CVE-2012-3495: xen: hypercall
physdev_get_free_pirq vulnerability (XSA-13)
CVE-2012-3495-xsa13.patch
- bnc#777091 - CVE-2012-3496: xen: XENMEM_populate_physmap
DoS vulnerability (XSA-14) CVE-2012-3496-xsa14.patch
- bnc#777086 - CVE-2012-3498: xen: PHYSDEVOP_map_pirq index
vulnerability (XSA-16) CVE-2012-3498-xsa16.patch
- bnc#777084 - CVE-2012-3515: xen: Qemu VT100 emulation
vulnerability (XSA-17) CVE-2012-3515-xsa17.patch
- Upstream patches from Jan 25734-x86-MCG_CTL-default.patch
25735-x86-cpuid-masking-XeonE5.patch
25744-hypercall-return-long.patch
- Update to Xen 4.1.3 c/s 23336
- Upstream or pending upstream patches from Jan
25587-fix-off-by-one-parsing-error.patch
25616-x86-MCi_CTL-default.patch
25617-vtd-qinval-addr.patch 25688-x86-nr_irqs_gsi.patch
- bnc#773393 - VUL-0: CVE-2012-3433: xen: HVM guest destroy
p2m teardown host DoS vulnerability
CVE-2012-3433-xsa11.patch
- bnc#773401 - VUL-1: CVE-2012-3432: xen: HVM guest user
mode MMIO emulation DoS
25682-x86-inconsistent-io-state.patch
- bnc#762484 - VUL-1: CVE-2012-2625: xen: pv bootloader
doesn't check the size of the bzip2 or lzma compressed
kernel, leading to denial of service
25589-pygrub-size-limits.patch
- bnc#767273 - unsupported /var/lock/subsys is still used
by xendomains init.xendomains
- bnc#766283 - opensuse 12.2 pv guests can not start after
installation due to lack of grub2 support in the host
23686-pygrub-solaris.patch 23697-pygrub-grub2.patch
23944-pygrub-debug.patch 23998-pygrub-GPT.patch
23999-pygrub-grub2.patch 24000-pygrub-grub2.patch
24001-pygrub-grub2.patch 24002-pygrub-grub2.patch
24064-pygrub-HybridISO.patch 24401-pygrub-scrolling.patch
24402-pygrub-edit-fix.patch 24460-pygrub-extlinux.patch
24706-pygrub-extlinux.patch");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-rpm.inc");
release = rpm_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "openSUSE12.1") {
if(!isnull(res = isrpmvuln(pkg:"xen-debugsource", rpm:"xen-debugsource~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-devel", rpm:"xen-devel~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-kmp-default", rpm:"xen-kmp-default~4.1.3_01_k3.1.10_1.16~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-kmp-default-debuginfo", rpm:"xen-kmp-default-debuginfo~4.1.3_01_k3.1.10_1.16~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-kmp-desktop", rpm:"xen-kmp-desktop~4.1.3_01_k3.1.10_1.16~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-kmp-desktop-debuginfo", rpm:"xen-kmp-desktop-debuginfo~4.1.3_01_k3.1.10_1.16~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-libs", rpm:"xen-libs~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-libs-debuginfo", rpm:"xen-libs-debuginfo~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-tools-domU", rpm:"xen-tools-domU~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-tools-domU-debuginfo", rpm:"xen-tools-domU-debuginfo~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen", rpm:"xen~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-doc-html", rpm:"xen-doc-html~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-doc-pdf", rpm:"xen-doc-pdf~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-libs-32bit", rpm:"xen-libs-32bit~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-libs-debuginfo-32bit", rpm:"xen-libs-debuginfo-32bit~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-tools", rpm:"xen-tools~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-tools-debuginfo", rpm:"xen-tools-debuginfo~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-libs-debuginfo-x86", rpm:"xen-libs-debuginfo-x86~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-libs-x86", rpm:"xen-libs-x86~4.1.3_01~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-kmp-pae", rpm:"xen-kmp-pae~4.1.3_01_k3.1.10_1.16~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"xen-kmp-pae-debuginfo", rpm:"xen-kmp-pae-debuginfo~4.1.3_01_k3.1.10_1.16~1.13.1", rls:"openSUSE12.1"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);