Vulnerabilities > CVE-2016-7942 - Out-of-bounds Write vulnerability in multiple products

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
fedoraproject
x-org
CWE-787
critical
nessus

Summary

The XGetImage function in X.org libX11 before 1.6.4 might allow remote X servers to gain privileges via vectors involving image type and geometry, which triggers out-of-bounds read operations.

Common Weakness Enumeration (CWE)

Nessus

  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-1420.NASL
    descriptionThis update for X Window System client libraries fixes a class of privilege escalation issues. A malicious X server could send specially crafted data to X clients, which allowed for triggering crashes, or privilege escalation if this relationship was untrusted or crossed user or permission level boundaries. The following libraries have been fixed : libX11 : - plugged a memory leak (boo#1002991, CVE-2016-7942). - insufficient validation of data from the X server can cause out of boundary memory read (XGetImage()) or write (XListFonts()) (boo#1002991, CVE-2016-7942). libXi : - Integer overflows in libXi can cause out of boundary memory access or endless loops (Denial of Service) (boo#1002998, CVE-2016-7945). - Insufficient validation of data in libXi can cause out of boundary memory access or endless loops (Denial of Service) (boo#1002998, CVE-2016-7946). libXrandr : - Insufficient validation of data from the X server can cause out of boundary memory writes (boo#1003000, CVE-2016-7947, CVE-2016-7948).
    last seen2020-06-05
    modified2016-12-08
    plugin id95644
    published2016-12-08
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/95644
    titleopenSUSE Security Update : X Window System client libraries (openSUSE-2016-1420)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2016-1420.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(95644);
      script_version("2.5");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2016-7942", "CVE-2016-7945", "CVE-2016-7946", "CVE-2016-7947", "CVE-2016-7948");
    
      script_name(english:"openSUSE Security Update : X Window System client libraries (openSUSE-2016-1420)");
      script_summary(english:"Check for the openSUSE-2016-1420 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for X Window System client libraries fixes a class of
    privilege escalation issues.
    
    A malicious X server could send specially crafted data to X clients,
    which allowed for triggering crashes, or privilege escalation if this
    relationship was untrusted or crossed user or permission level
    boundaries.
    
    The following libraries have been fixed :
    
    libX11 :
    
      - plugged a memory leak (boo#1002991, CVE-2016-7942).
    
      - insufficient validation of data from the X server can
        cause out of boundary memory read (XGetImage()) or write
        (XListFonts()) (boo#1002991, CVE-2016-7942).
    
    libXi :
    
      - Integer overflows in libXi can cause out of boundary
        memory access or endless loops (Denial of Service)
        (boo#1002998, CVE-2016-7945).
    
      - Insufficient validation of data in libXi can cause out
        of boundary memory access or endless loops (Denial of
        Service) (boo#1002998, CVE-2016-7946).
    
    libXrandr :
    
      - Insufficient validation of data from the X server can
        cause out of boundary memory writes (boo#1003000,
        CVE-2016-7947, CVE-2016-7948)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1002991"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1002998"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1003000"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected X Window System client libraries packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-6-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-6-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-6-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-xcb1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-xcb1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-xcb1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libX11-xcb1-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi6-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi6-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXi6-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr2-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr2-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libXrandr2-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-composite0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-composite0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-composite0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-composite0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-damage0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-damage0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-damage0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-damage0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dpms0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dpms0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dpms0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dpms0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri2-0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri2-0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri2-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri2-0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri3-0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri3-0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri3-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-dri3-0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-glx0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-glx0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-glx0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-glx0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-present0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-present0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-present0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-present0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-randr0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-randr0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-randr0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-randr0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-record0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-record0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-record0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-record0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-render0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-render0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-render0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-render0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-res0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-res0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-res0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-res0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-screensaver0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-screensaver0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-screensaver0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-screensaver0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shape0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shape0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shape0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shape0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shm0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shm0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shm0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-shm0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-sync1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-sync1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-sync1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-sync1-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xevie0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xevie0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xevie0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xevie0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xf86dri0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xf86dri0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xf86dri0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xf86dri0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xfixes0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xfixes0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xfixes0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xfixes0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xinerama0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xinerama0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xinerama0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xinerama0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xkb1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xkb1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xkb1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xkb1-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xprint0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xprint0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xprint0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xprint0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xtest0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xtest0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xtest0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xtest0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xv0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xv0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xv0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xv0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xvmc0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xvmc0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xvmc0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb-xvmc0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb1-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libxcb1-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2016/12/07");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/12/08");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2020 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE13\.2|SUSE42\.1|SUSE42\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "13.2 / 42.1 / 42.2", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-6-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-6-debuginfo-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-data-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-debugsource-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-devel-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-xcb1-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libX11-xcb1-debuginfo-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXi-debugsource-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXi-devel-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXi6-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXi6-debuginfo-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXrandr-debugsource-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXrandr-devel-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXrandr2-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libXrandr2-debuginfo-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-composite0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-composite0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-damage0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-damage0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-debugsource-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-devel-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-dpms0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-dpms0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-dri2-0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-dri2-0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-dri3-0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-dri3-0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-glx0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-glx0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-present0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-present0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-randr0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-randr0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-record0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-record0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-render0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-render0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-res0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-res0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-screensaver0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-screensaver0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-shape0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-shape0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-shm0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-shm0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-sync1-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-sync1-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xevie0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xevie0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xf86dri0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xf86dri0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xfixes0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xfixes0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xinerama0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xinerama0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xkb1-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xkb1-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xprint0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xprint0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xtest0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xtest0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xv0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xv0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xvmc0-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb-xvmc0-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb1-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libxcb1-debuginfo-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libX11-6-32bit-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libX11-6-debuginfo-32bit-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libX11-devel-32bit-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libX11-xcb1-32bit-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-32bit-1.6.2-5.6.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libXi-devel-32bit-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libXi6-32bit-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libXi6-debuginfo-32bit-1.7.4-2.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libXrandr-devel-32bit-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libXrandr2-32bit-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libXrandr2-debuginfo-32bit-1.4.2-4.3.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-composite0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-composite0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-damage0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-damage0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-devel-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-dpms0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-dpms0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-dri2-0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-dri2-0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-dri3-0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-dri3-0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-glx0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-glx0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-present0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-present0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-randr0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-randr0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-record0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-record0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-render0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-render0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-res0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-res0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-screensaver0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-screensaver0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-shape0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-shape0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-shm0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-shm0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-sync1-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-sync1-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xevie0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xevie0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xf86dri0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xf86dri0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xfixes0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xfixes0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xinerama0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xinerama0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xkb1-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xkb1-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xprint0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xprint0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xtest0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xtest0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xv0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xv0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xvmc0-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb-xvmc0-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb1-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libxcb1-debuginfo-32bit-1.11-2.5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-6-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-6-debuginfo-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-data-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-debugsource-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-devel-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-xcb1-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libX11-xcb1-debuginfo-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libXi-debugsource-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libXi-devel-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libXi6-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libXi6-debuginfo-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libX11-6-32bit-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libX11-6-debuginfo-32bit-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libX11-devel-32bit-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libX11-xcb1-32bit-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-32bit-1.6.3-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libXi-devel-32bit-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libXi6-32bit-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libXi6-debuginfo-32bit-1.7.5-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", reference:"libXrandr-debugsource-1.5.0-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", reference:"libXrandr-devel-1.5.0-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", reference:"libXrandr2-1.5.0-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", reference:"libXrandr2-debuginfo-1.5.0-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"libXrandr-devel-32bit-1.5.0-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"libXrandr2-32bit-1.5.0-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.2", cpu:"x86_64", reference:"libXrandr2-debuginfo-32bit-1.5.0-5.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libX11-6 / libX11-6-32bit / libX11-6-debuginfo / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-3001-1.NASL
    descriptionlibX11 was updated to fix a memory leak that was introduced with the security fix for CVE-2016-7942. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id95564
    published2016-12-06
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95564
    titleSUSE SLED12 / SLES12 Security Update : libX11 (SUSE-SU-2016:3001-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2016:3001-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(95564);
      script_version("2.9");
      script_cvs_date("Date: 2019/09/11 11:22:14");
    
      script_cve_id("CVE-2016-7942");
    
      script_name(english:"SUSE SLED12 / SLES12 Security Update : libX11 (SUSE-SU-2016:3001-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "libX11 was updated to fix a memory leak that was introduced with the
    security fix for CVE-2016-7942.
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=1002991"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2016-7942/"
      );
      # https://www.suse.com/support/update/announcement/2016/suse-su-20163001-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?cbceb93c"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use YaST online_update.
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Software Development Kit 12-SP2:zypper in -t
    patch SUSE-SLE-SDK-12-SP2-2016-1749=1
    
    SUSE Linux Enterprise Software Development Kit 12-SP1:zypper in -t
    patch SUSE-SLE-SDK-12-SP1-2016-1749=1
    
    SUSE Linux Enterprise Server for Raspberry Pi 12-SP2:zypper in -t
    patch SUSE-SLE-RPI-12-SP2-2016-1749=1
    
    SUSE Linux Enterprise Server 12-SP2:zypper in -t patch
    SUSE-SLE-SERVER-12-SP2-2016-1749=1
    
    SUSE Linux Enterprise Server 12-SP1:zypper in -t patch
    SUSE-SLE-SERVER-12-SP1-2016-1749=1
    
    SUSE Linux Enterprise Desktop 12-SP2:zypper in -t patch
    SUSE-SLE-DESKTOP-12-SP2-2016-1749=1
    
    SUSE Linux Enterprise Desktop 12-SP1:zypper in -t patch
    SUSE-SLE-DESKTOP-12-SP1-2016-1749=1
    
    To bring your system up-to-date, use 'zypper patch'."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libX11");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libX11-6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libX11-6-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libX11-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libX11-xcb1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libX11-xcb1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/12/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/12/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/12/06");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED12|SLES12)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED12 / SLES12", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES12" && (! preg(pattern:"^(1|2)$", string:sp))) audit(AUDIT_OS_NOT, "SLES12 SP1/2", os_ver + " SP" + sp);
    if (os_ver == "SLED12" && (! preg(pattern:"^(1|2)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP1/2", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-6-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-6-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-debugsource-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-xcb1-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-xcb1-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-6-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-6-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-xcb1-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"1", reference:"libX11-xcb1-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-6-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-6-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-debugsource-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-6-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-6-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLES12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-6-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-6-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-6-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-6-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-debugsource-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-xcb1-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-xcb1-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-6-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-6-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-6-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-6-debuginfo-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-debugsource-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-32bit-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-1.6.2-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libX11-xcb1-debuginfo-32bit-1.6.2-11.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libX11");
    }
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-3758-1.NASL
    descriptionTobias Stoeckmann discovered that libx11 incorrectly handled certain images. An attacker could possibly use this issue to access sensitive information (CVE-2016-7942) Tobias Stoeckmann discovered that libx11 incorrectly handled certain inputs. An attacker could possibly use this issue to access sensitive information. (CVE-2016-7943) It was discovered that libx11 incorrectly handled certain inputs. An attacker could possibly use this issue to cause a denial of service. (CVE-2018-14598, CVE-2018-14599, CVE-2018-14600). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id112205
    published2018-08-31
    reporterUbuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/112205
    titleUbuntu 14.04 LTS / 16.04 LTS / 18.04 LTS : libx11 vulnerabilities (USN-3758-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-3758-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(112205);
      script_version("1.3");
      script_cvs_date("Date: 2019/09/18 12:31:48");
    
      script_cve_id("CVE-2016-7942", "CVE-2016-7943", "CVE-2018-14598", "CVE-2018-14599", "CVE-2018-14600");
      script_xref(name:"USN", value:"3758-1");
    
      script_name(english:"Ubuntu 14.04 LTS / 16.04 LTS / 18.04 LTS : libx11 vulnerabilities (USN-3758-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Tobias Stoeckmann discovered that libx11 incorrectly handled certain
    images. An attacker could possibly use this issue to access sensitive
    information (CVE-2016-7942)
    
    Tobias Stoeckmann discovered that libx11 incorrectly handled certain
    inputs. An attacker could possibly use this issue to access sensitive
    information. (CVE-2016-7943)
    
    It was discovered that libx11 incorrectly handled certain inputs. An
    attacker could possibly use this issue to cause a denial of service.
    (CVE-2018-14598, CVE-2018-14599, CVE-2018-14600).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Ubuntu security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://usn.ubuntu.com/3758-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libx11-6 and / or libx11-dev packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libx11-6");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libx11-dev");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:14.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:16.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:18.04:-:lts");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/12/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/08/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/08/31");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! preg(pattern:"^(14\.04|16\.04|18\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 14.04 / 16.04 / 18.04", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"14.04", pkgname:"libx11-6", pkgver:"2:1.6.2-1ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"14.04", pkgname:"libx11-dev", pkgver:"2:1.6.2-1ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"16.04", pkgname:"libx11-6", pkgver:"2:1.6.3-1ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"16.04", pkgname:"libx11-dev", pkgver:"2:1.6.3-1ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libx11-6", pkgver:"2:1.6.4-3ubuntu0.1")) flag++;
    if (ubuntu_check(osver:"18.04", pkgname:"libx11-dev", pkgver:"2:1.6.4-3ubuntu0.1")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libx11-6 / libx11-dev");
    }
    
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-2480.NASL
    descriptionAccording to the versions of the libX11 packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - The XGetImage function in X.org libX11 before 1.6.4 might allow remote X servers to gain privileges via vectors involving image type and geometry, which triggers out-of-bounds read operations.(CVE-2016-7942) - The XListFonts function in X.org libX11 before 1.6.4 might allow remote X servers to gain privileges via vectors involving length fields, which trigger out-of-bounds write operations.(CVE-2016-7943) - An issue was discovered in XListExtensions in ListExt.c in libX11 through 1.6.5. A malicious server can send a reply in which the first string overflows, causing a variable to be set to NULL that will be freed later on, leading to DoS (segmentation fault).(CVE-2018-14598) - An issue was discovered in libX11 through 1.6.5. The function XListExtensions in ListExt.c is vulnerable to an off-by-one error caused by malicious server responses, leading to DoS or possibly unspecified other impact.(CVE-2018-14599) - An issue was discovered in libX11 through 1.6.5. The function XListExtensions in ListExt.c interprets a variable as signed instead of unsigned, resulting in an out-of-bounds write (of up to 128 bytes), leading to DoS or remote code execution.(CVE-2018-14600) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-08
    modified2019-12-04
    plugin id131633
    published2019-12-04
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131633
    titleEulerOS 2.0 SP2 : libX11 (EulerOS-SA-2019-2480)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(131633);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/05/07");
    
      script_cve_id(
        "CVE-2016-7942",
        "CVE-2016-7943",
        "CVE-2018-14598",
        "CVE-2018-14599",
        "CVE-2018-14600"
      );
    
      script_name(english:"EulerOS 2.0 SP2 : libX11 (EulerOS-SA-2019-2480)");
      script_summary(english:"Checks the rpm output for the updated packages.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote EulerOS host is missing multiple security updates.");
      script_set_attribute(attribute:"description", value:
    "According to the versions of the libX11 packages installed, the
    EulerOS installation on the remote host is affected by the following
    vulnerabilities :
    
      - The XGetImage function in X.org libX11 before 1.6.4
        might allow remote X servers to gain privileges via
        vectors involving image type and geometry, which
        triggers out-of-bounds read operations.(CVE-2016-7942)
    
      - The XListFonts function in X.org libX11 before 1.6.4
        might allow remote X servers to gain privileges via
        vectors involving length fields, which trigger
        out-of-bounds write operations.(CVE-2016-7943)
    
      - An issue was discovered in XListExtensions in ListExt.c
        in libX11 through 1.6.5. A malicious server can send a
        reply in which the first string overflows, causing a
        variable to be set to NULL that will be freed later on,
        leading to DoS (segmentation fault).(CVE-2018-14598)
    
      - An issue was discovered in libX11 through 1.6.5. The
        function XListExtensions in ListExt.c is vulnerable to
        an off-by-one error caused by malicious server
        responses, leading to DoS or possibly unspecified other
        impact.(CVE-2018-14599)
    
      - An issue was discovered in libX11 through 1.6.5. The
        function XListExtensions in ListExt.c interprets a
        variable as signed instead of unsigned, resulting in an
        out-of-bounds write (of up to 128 bytes), leading to
        DoS or remote code execution.(CVE-2018-14600)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the EulerOS security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues.");
      # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2480
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?10a09004");
      script_set_attribute(attribute:"solution", value:
    "Update the affected libX11 packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2019/12/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/12/04");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:libX11");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:libX11-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:libX11-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Huawei Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp");
      script_exclude_keys("Host/EulerOS/uvp_version");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    release = get_kb_item("Host/EulerOS/release");
    if (isnull(release) || release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS");
    if (release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0");
    
    sp = get_kb_item("Host/EulerOS/sp");
    if (isnull(sp) || sp !~ "^(2)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP2");
    
    uvp = get_kb_item("Host/EulerOS/uvp_version");
    if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP2", "EulerOS UVP " + uvp);
    
    if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_ARCH_NOT, "i686 / x86_64", cpu);
    
    flag = 0;
    
    pkgs = ["libX11-1.6.3-2.h2",
            "libX11-common-1.6.3-2.h2",
            "libX11-devel-1.6.3-2.h2"];
    
    foreach (pkg in pkgs)
      if (rpm_check(release:"EulerOS-2.0", sp:"2", reference:pkg)) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libX11");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-2828-1.NASL
    descriptionThis update for the X Window System client libraries fixes a class of privilege escalation issues. A malicious X Server could send specially crafted data to X clients, which allowed for triggering crashes, or privilege escalation if this relationship was untrusted or crossed user or permission level boundaries. libX11, libXfixes, libXi, libXrandr, libXrender, libXtst, libXv, libXvMC were fixed, specifically: libX11 : - CVE-2016-7942: insufficient validation of data from the X server allowed out of boundary memory read (bsc#1002991) libXfixes : - CVE-2016-7944: insufficient validation of data from the X server can cause an integer overflow on 32 bit architectures (bsc#1002995) libXi : - CVE-2016-7945, CVE-2016-7946: insufficient validation of data from the X server can cause out of boundary memory access or endless loops (Denial of Service) (bsc#1002998) libXtst : - CVE-2016-7951, CVE-2016-7952: insufficient validation of data from the X server can cause out of boundary memory access or endless loops (Denial of Service) (bsc#1003012) libXv : - CVE-2016-5407: insufficient validation of data from the X server can cause out of boundary memory and memory corruption (bsc#1003017) libXvMC : - CVE-2016-7953: insufficient validation of data from the X server can cause a one byte buffer read underrun (bsc#1003023) libXrender : - CVE-2016-7949, CVE-2016-7950: insufficient validation of data from the X server can cause out of boundary memory writes (bsc#1003002) libXrandr : - CVE-2016-7947, CVE-2016-7948: insufficient validation of data from the X server can cause out of boundary memory writes (bsc#1003000) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id94939
    published2016-11-17
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94939
    titleSUSE SLED12 / SLES12 Security Update : X Window System client libraries (SUSE-SU-2016:2828-1)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-1214.NASL
    descriptionThis update for the X Window System client libraries fixes a class of privilege escalation issues. A malicious X Server could send specially crafted data to X clients, which allowed for triggering crashes, or privilege escalation if this relationship was untrusted or crossed user or permission level boundaries. libX11, libXfixes, libXi, libXrandr, libXrender, libXtst, libXv, libXvMC were fixed, specifically : libX11 : - CVE-2016-7942: insufficient validation of data from the X server allowed out of boundary memory read (bsc#1002991) libXfixes : - CVE-2016-7944: insufficient validation of data from the X server can cause an integer overflow on 32 bit architectures (bsc#1002995) libXi : - CVE-2016-7945, CVE-2016-7946: insufficient validation of data from the X server can cause out of boundary memory access or endless loops (Denial of Service) (bsc#1002998) libXtst : - CVE-2016-7951, CVE-2016-7952: insufficient validation of data from the X server can cause out of boundary memory access or endless loops (Denial of Service) (bsc#1003012) libXv : - CVE-2016-5407: insufficient validation of data from the X server can cause out of boundary memory and memory corruption (bsc#1003017) libXvMC : - CVE-2016-7953: insufficient validation of data from the X server can cause a one byte buffer read underrun (bsc#1003023) libXrender : - CVE-2016-7949, CVE-2016-7950: insufficient validation of data from the X server can cause out of boundary memory writes (bsc#1003002) libXrandr : - CVE-2016-7947, CVE-2016-7948: insufficient validation of data from the X server can cause out of boundary memory writes (bsc#1003000) This update was imported from the SUSE:SLE-12:Update update project.
    last seen2020-06-05
    modified2016-10-24
    plugin id94220
    published2016-10-24
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/94220
    titleopenSUSE Security Update : X Window System client libraries (openSUSE-2016-1214)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-3054-1.NASL
    descriptionThis update for xorg-x11-libX11 fixes the following issues : - plug a memory leak (bsc#1002991, CVE-2016-7942) - insufficient validation of data from the X server can cause out of boundary memory read (XGetImage()) or write (XListFonts()) (bsc#1002991, CVE-2016-7942) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id95651
    published2016-12-08
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95651
    titleSUSE SLES11 Security Update : xorg-x11-libX11 (SUSE-SU-2016:3054-1)
  • NASL familySlackware Local Security Checks
    NASL idSLACKWARE_SSA_2016-305-02.NASL
    descriptionNew x11 packages are available for Slackware 13.0, 13.1, 13.37, 14.0, 14.1, 14.2, and -current to fix security issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id94439
    published2016-11-01
    reporterThis script is Copyright (C) 2016-2017 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/94439
    titleSlackware 13.0 / 13.1 / 13.37 / 14.0 / 14.1 / 14.2 / current : x11 (SSA:2016-305-02)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2016-0DF69AB477.NASL
    descriptionSecurity fix for CVE-2016-7942, CVE-2016-7943 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2016-11-15
    plugin id94774
    published2016-11-15
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94774
    titleFedora 25 : libX11 (2016-0df69ab477)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201704-03.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201704-03 (X.Org: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in X.Org server and libraries. Please review the CVE identifiers referenced below for details. Impact : A local or remote users can utilize the vulnerabilities to attach to the X.Org session as a user and execute arbitrary code. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id99276
    published2017-04-11
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/99276
    titleGLSA-201704-03 : X.Org: Multiple vulnerabilities
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-2505-1.NASL
    descriptionThis update for the X Window System client libraries fixes a class of privilege escalation issues. A malicious X Server could send specially crafted data to X clients, which allowed for triggering crashes, or privilege escalation if this relationship was untrusted or crossed user or permission level boundaries. libX11, libXfixes, libXi, libXrandr, libXrender, libXtst, libXv, libXvMC were fixed, specifically: libX11 : - CVE-2016-7942: insufficient validation of data from the X server allowed out of boundary memory read (bsc#1002991) libXfixes : - CVE-2016-7944: insufficient validation of data from the X server can cause an integer overflow on 32 bit architectures (bsc#1002995) libXi : - CVE-2016-7945, CVE-2016-7946: insufficient validation of data from the X server can cause out of boundary memory access or endless loops (Denial of Service) (bsc#1002998) libXtst : - CVE-2016-7951, CVE-2016-7952: insufficient validation of data from the X server can cause out of boundary memory access or endless loops (Denial of Service) (bsc#1003012) libXv : - CVE-2016-5407: insufficient validation of data from the X server can cause out of boundary memory and memory corruption (bsc#1003017) libXvMC : - CVE-2016-7953: insufficient validation of data from the X server can cause a one byte buffer read underrun (bsc#1003023) libXrender : - CVE-2016-7949, CVE-2016-7950: insufficient validation of data from the X server can cause out of boundary memory writes (bsc#1003002) libXrandr : - CVE-2016-7947, CVE-2016-7948: insufficient validation of data from the X server can cause out of boundary memory writes (bsc#1003000) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id94036
    published2016-10-13
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94036
    titleSUSE SLED12 / SLES12 Security Update : X Window System client libraries (SUSE-SU-2016:2505-1)