Vulnerabilities > CVE-2016-0794 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
libreoffice
canonical
CWE-119
nessus

Summary

The lwp filter in LibreOffice before 5.0.4 allows remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted LotusWordPro (lwp) document.

Vulnerable Configurations

Part Description Count
Application
Libreoffice
226
OS
Canonical
3

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familyWindows
    NASL idLIBREOFFICE_505.NASL
    descriptionThe version of LibreOffice installed on the remote Windows host is prior to 5.0.5. It is, therefore, affected by multiple vulnerabilities : - A remote code execution vulnerability exists due to improper validation of user-supplied input when handling LotusWordPro (LWP) documents. A remote attacker can exploit this, via a crafted LWP document, to corrupt memory, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0794) - A remote code execution vulnerability exists due to improper validation of user-supplied input when handling LwpTocSuperLayout records. A remote attacker can exploit this, via a crafted LwpTocSuperLayout record in a LotusWordPro (LWP) document, to corrupt memory, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0795) Note that Nessus has not attempted to exploit these issues but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id88983
    published2016-02-26
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/88983
    titleLibreOffice < 5.0.5 Multiple RCE
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(88983);
      script_version("1.10");
      script_cvs_date("Date: 2019/11/20");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_bugtraq_id(74334);
    
      script_name(english:"LibreOffice < 5.0.5 Multiple RCE");
      script_summary(english:"Checks the version of LibreOffice.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has an application installed that is affected by
    multiple remote code execution vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of LibreOffice installed on the remote Windows host is
    prior to 5.0.5. It is, therefore, affected by multiple
    vulnerabilities :
    
      - A remote code execution vulnerability exists due to
        improper validation of user-supplied input when handling
        LotusWordPro (LWP) documents. A remote attacker can
        exploit this, via a crafted LWP document, to corrupt
        memory, resulting in a denial of service condition or
        the execution of arbitrary code. (CVE-2016-0794)
    
      - A remote code execution vulnerability exists due to
        improper validation of user-supplied input when handling
        LwpTocSuperLayout records. A remote attacker can exploit
        this, via a crafted LwpTocSuperLayout record in a
        LotusWordPro (LWP) document, to corrupt memory,
        resulting in a denial of service condition or the
        execution of arbitrary code. (CVE-2016-0795)
    
    Note that Nessus has not attempted to exploit these issues but has
    instead relied only on the application's self-reported version number.");
      script_set_attribute(attribute:"see_also", value:"http://www.libreoffice.org/about-us/security/advisories/cve-2016-0794/");
      script_set_attribute(attribute:"see_also", value:"http://www.libreoffice.org/about-us/security/advisories/cve-2016-0795/");
      script_set_attribute(attribute:"see_also", value:"http://listarchives.documentfoundation.org/www/announce/msg00258.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to LibreOffice version 5.0.5 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:"cvss_score_source", value:"CVE-2016-0795");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/02/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/02/26");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:libreoffice:libreoffice");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("libreoffice_installed.nasl");
      script_require_keys("installed_sw/LibreOffice", "SMB/Registry/Enumerated");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    app_name = "LibreOffice";
    
    get_kb_item_or_exit("SMB/Registry/Enumerated");
    
    install    = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
    version    = install['version'];
    version_ui = install['display_version'];
    path       = install['path'];
    
    if (
      # < 5.x
      version =~ "^[0-4]($|[^0-9])" ||
      # 5.0 < 5.0.5
      version =~ "^5\.0\.[0-4]($|[^0-9])"
    )
    {
      port = get_kb_item("SMB/transport");
      if (!port) port = 445;
    
      report =
        '\n  Path              : ' + path +
        '\n  Installed version : ' + version_ui +
        '\n  Fixed version     : 5.1.0 / 5.0.5 (5.0.5.2)' +
        '\n';
      security_report_v4(port:port, severity:SECURITY_HOLE, extra:report);
      exit(0);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, app_name, version_ui, path);
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2016-962C0D156D.NASL
    description - CVE-2016-0794 and CVE-2016-0795 LotusWordPro filter security fixes Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2016-03-04
    plugin id89584
    published2016-03-04
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/89584
    titleFedora 22 : libreoffice-4.4.7.2-3.fc22 (2016-962c0d156d)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2016-962c0d156d.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(89584);
      script_version("1.5");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_xref(name:"FEDORA", value:"2016-962c0d156d");
    
      script_name(english:"Fedora 22 : libreoffice-4.4.7.2-3.fc22 (2016-962c0d156d)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - CVE-2016-0794 and CVE-2016-0795 LotusWordPro filter
        security fixes
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora 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.redhat.com/show_bug.cgi?id=1309207"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2016-February/178036.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?444b9e3f"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libreoffice package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:fedoraproject:fedora:libreoffice");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:22");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2016/02/28");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/03/04");
      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:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/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/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^22([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 22.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/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$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC22", reference:"libreoffice-4.4.7.2-3.fc22")) 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, "libreoffice");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2016-2579.NASL
    descriptionAn update for libreoffice is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. LibreOffice is an open source, community-developed office productivity suite. It includes key desktop applications, such as a word processor, a spreadsheet, a presentation manager, a formula editor, and a drawing program. LibreOffice replaces OpenOffice and provides a similar but enhanced and extended office suite. The following packages have been upgraded to a newer upstream version: libreoffice (5.0.6.2). (BZ#1290148) Security Fix(es) : * Multiple flaws were found in the Lotus Word Pro (LWP) document format parser in LibreOffice. By tricking a user into opening a specially crafted LWP document, an attacker could possibly use this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2016-0794, CVE-2016-0795) Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.3 Release Notes linked from the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id94542
    published2016-11-04
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94542
    titleRHEL 7 : libreoffice (RHSA-2016:2579)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2016:2579. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(94542);
      script_version("2.11");
      script_cvs_date("Date: 2019/10/24 15:35:42");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_xref(name:"RHSA", value:"2016:2579");
    
      script_name(english:"RHEL 7 : libreoffice (RHSA-2016:2579)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An update for libreoffice is now available for Red Hat Enterprise
    Linux 7.
    
    Red Hat Product Security has rated this update as having a security
    impact of Moderate. A Common Vulnerability Scoring System (CVSS) base
    score, which gives a detailed severity rating, is available for each
    vulnerability from the CVE link(s) in the References section.
    
    LibreOffice is an open source, community-developed office productivity
    suite. It includes key desktop applications, such as a word processor,
    a spreadsheet, a presentation manager, a formula editor, and a drawing
    program. LibreOffice replaces OpenOffice and provides a similar but
    enhanced and extended office suite.
    
    The following packages have been upgraded to a newer upstream version:
    libreoffice (5.0.6.2). (BZ#1290148)
    
    Security Fix(es) :
    
    * Multiple flaws were found in the Lotus Word Pro (LWP) document
    format parser in LibreOffice. By tricking a user into opening a
    specially crafted LWP document, an attacker could possibly use this
    flaw to execute arbitrary code with the privileges of the user opening
    the file. (CVE-2016-0794, CVE-2016-0795)
    
    Additional Changes :
    
    For detailed information on changes in this release, see the Red Hat
    Enterprise Linux 7.3 Release Notes linked from the References section."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2016:2579"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2016-0794"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2016-0795"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:redhat:enterprise_linux:autocorr-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-is");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-lb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-mn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-pt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-vi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:autocorr-zh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libcmis");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libcmis-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libcmis-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libcmis-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpagemaker");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpagemaker-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpagemaker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpagemaker-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpagemaker-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-bsh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-emailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-filters");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-gdb-debug-support");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-glade");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-graphicfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-as");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-br");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-cy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-dz");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-et");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-eu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-gu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-he");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-hi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-kk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-kn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-lv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-mai");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ml");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-mr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-nb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-nn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-nr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-nso");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-or");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-pa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-pt-BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-pt-PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-si");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-st");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ta");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-th");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-tn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-uk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-ve");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-xh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-zh-Hans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-zh-Hant");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-langpack-zu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-librelogo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-nlpsolver");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-ogltrans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-opensymbol-fonts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-pdfimport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-rhino");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-sdk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-sdk-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-ure");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-wiki-publisher");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreoffice-xsltfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:mdds-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7.3");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7.4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7.5");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7.6");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7.7");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/18");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/11/03");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/11/04");
      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:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 7.x", "Red Hat " + os_ver);
    
    if (!get_kb_item("Host/RedHat/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$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2016:2579";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL7", reference:"autocorr-af-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-bg-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-ca-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-cs-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-da-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-de-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-en-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-es-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-fa-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-fi-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-fr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-ga-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-hr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-hu-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-is-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-it-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-ja-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-ko-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-lb-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-lt-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-mn-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-nl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-pl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-pt-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-ro-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-ru-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-sk-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-sl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-sr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-sv-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-tr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-vi-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"autocorr-zh-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libcmis-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libcmis-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libcmis-debuginfo-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libcmis-debuginfo-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libcmis-devel-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libcmis-devel-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libcmis-tools-0.5.1-2.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libpagemaker-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libpagemaker-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libpagemaker-debuginfo-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libpagemaker-debuginfo-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libpagemaker-devel-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libpagemaker-devel-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"libpagemaker-doc-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libpagemaker-tools-0.0.3-1.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-debuginfo-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"libreoffice-opensymbol-fonts-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-3.el7")) flag++;
    
      if (rpm_check(release:"RHEL7", reference:"mdds-devel-0.12.1-1.el7")) flag++;
    
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "autocorr-af / autocorr-bg / autocorr-ca / autocorr-cs / autocorr-da / etc");
      }
    }
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-3482.NASL
    descriptionAn anonymous contributor working with VeriSign iDefense Labs discovered that libreoffice, a full-featured office productivity suite, did not correctly handle Lotus WordPro files. This would enable an attacker to crash the program, or execute arbitrary code, by supplying a specially crafted LWP file.
    last seen2020-06-01
    modified2020-06-02
    plugin id88846
    published2016-02-19
    reporterThis script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/88846
    titleDebian DSA-3482-1 : libreoffice - security update
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Debian Security Advisory DSA-3482. The text 
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(88846);
      script_version("2.6");
      script_cvs_date("Date: 2018/11/10 11:49:37");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_xref(name:"DSA", value:"3482");
    
      script_name(english:"Debian DSA-3482-1 : libreoffice - security update");
      script_summary(english:"Checks dpkg output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An anonymous contributor working with VeriSign iDefense Labs
    discovered that libreoffice, a full-featured office productivity
    suite, did not correctly handle Lotus WordPro files. This would enable
    an attacker to crash the program, or execute arbitrary code, by
    supplying a specially crafted LWP file."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/wheezy/libreoffice"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/jessie/libreoffice"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.debian.org/security/2016/dsa-3482"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Upgrade the libreoffice packages.
    
    For the oldstable distribution (wheezy), these problems have been
    fixed in version 1:3.5.4+dfsg2-0+deb7u6.
    
    For the stable distribution (jessie), these problems have been fixed
    in version 1:4.3.3-2+deb8u3."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:debian:debian_linux:libreoffice");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:7.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2016/02/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/02/19");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"7.0", prefix:"fonts-opensymbol", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-base", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-base-core", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-calc", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-common", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-core", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-dbg", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-dev", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-dev-doc", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-draw", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-emailmerge", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-evolution", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-filter-binfilter", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-filter-mobiledev", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-gcj", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-gnome", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-gtk", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-gtk3", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-ca", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-cs", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-da", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-de", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-dz", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-el", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-en-gb", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-en-us", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-es", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-et", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-eu", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-fi", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-fr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-gl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-hi", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-hu", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-it", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-ja", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-km", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-ko", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-nl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-om", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-pl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-pt", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-pt-br", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-ru", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-sk", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-sl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-sv", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-zh-cn", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-help-zh-tw", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-impress", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-java-common", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-kde", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-af", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ar", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-as", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ast", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-be", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-bg", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-bn", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-br", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-bs", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ca", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-cs", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-cy", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-da", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-de", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-dz", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-el", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-en-gb", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-en-za", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-eo", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-es", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-et", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-eu", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-fa", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-fi", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-fr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ga", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-gl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-gu", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-he", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-hi", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-hr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-hu", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-id", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-in", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-is", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-it", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ja", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ka", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-km", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ko", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ku", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-lt", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-lv", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-mk", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ml", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-mn", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-mr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-nb", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ne", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-nl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-nn", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-nr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-nso", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-oc", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-om", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-or", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-pa-in", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-pl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-pt", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-pt-br", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ro", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ru", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-rw", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-si", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-sk", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-sl", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-sr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ss", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-st", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-sv", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ta", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-te", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-tg", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-th", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-tn", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-tr", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ts", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ug", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-uk", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-uz", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-ve", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-vi", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-xh", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-za", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-zh-cn", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-zh-tw", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-l10n-zu", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-math", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-mysql-connector", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-officebean", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-ogltrans", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-pdfimport", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-presentation-minimizer", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-presenter-console", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-report-builder", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-report-builder-bin", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-script-provider-bsh", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-script-provider-js", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-script-provider-python", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-sdbc-postgresql", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-style-crystal", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-style-galaxy", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-style-hicontrast", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-style-oxygen", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-style-tango", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-wiki-publisher", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"libreoffice-writer", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"openoffice.org-dtd-officedocument1.0", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"python-uno", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"python3-uno", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"7.0", prefix:"ttf-opensymbol", reference:"1:3.5.4+dfsg2-0+deb7u6")) flag++;
    if (deb_check(release:"8.0", prefix:"browser-plugin-libreoffice", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"fonts-opensymbol", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-avmedia-backend-gstreamer", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-avmedia-backend-vlc", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-base", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-base-core", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-base-drivers", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-calc", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-common", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-core", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-dbg", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-dev", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-dev-doc", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-draw", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-emailmerge", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-evolution", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-gnome", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-gtk", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-gtk3", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-ca", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-cs", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-da", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-de", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-dz", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-el", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-en-gb", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-en-us", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-es", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-et", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-eu", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-fi", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-fr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-gl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-hi", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-hu", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-it", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-ja", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-km", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-ko", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-nl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-om", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-pl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-pt", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-pt-br", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-ru", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-sk", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-sl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-sv", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-tr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-vi", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-zh-cn", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-help-zh-tw", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-impress", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-java-common", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-kde", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-af", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ar", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-as", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ast", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-be", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-bg", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-bn", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-br", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-bs", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ca", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-cs", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-cy", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-da", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-de", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-dz", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-el", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-en-gb", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-en-za", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-eo", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-es", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-et", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-eu", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-fa", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-fi", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-fr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ga", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-gd", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-gl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-gu", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-he", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-hi", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-hr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-hu", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-id", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-in", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-is", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-it", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ja", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ka", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-kk", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-km", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-kmr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ko", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ku", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-lt", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-lv", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-mk", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ml", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-mn", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-mr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-nb", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ne", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-nl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-nn", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-nr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-nso", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-oc", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-om", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-or", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-pa-in", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-pl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-pt", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-pt-br", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ro", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ru", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-rw", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-si", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-sk", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-sl", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-sr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ss", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-st", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-sv", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ta", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-te", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-tg", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-th", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-tn", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-tr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ts", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ug", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-uk", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-uz", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-ve", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-vi", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-xh", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-za", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-zh-cn", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-zh-tw", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-l10n-zu", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-librelogo", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-math", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-mysql-connector", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-officebean", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-ogltrans", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-pdfimport", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-presentation-minimizer", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-presenter-console", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-report-builder", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-report-builder-bin", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-script-provider-bsh", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-script-provider-js", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-script-provider-python", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-sdbc-firebird", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-sdbc-hsqldb", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-sdbc-postgresql", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-style-crystal", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-style-galaxy", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-style-hicontrast", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-style-oxygen", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-style-sifr", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-style-tango", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-subsequentcheckbase", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-wiki-publisher", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"libreoffice-writer", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"openoffice.org-dtd-officedocument1.0", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"python-uno", reference:"1:4.3.3-2+deb8u3")) flag++;
    if (deb_check(release:"8.0", prefix:"python3-uno", reference:"1:4.3.3-2+deb8u3")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-642.NASL
    descriptionThis libreoffice update to version 5.0.6.3 fixes the following issues : Security issues fixed : - CVE-2016-0794: multiple lwp issues (boo#967014) - CVE-2016-0795: multiple lwp issues (boo#967015) Bugs fixed : - Version update to 5.0.6.3 : - 5.0.6 release, various bugfixes on the 5.0 series, this is last release of the series - Version update to 5.0.5.2 : - 91 bugs fixed
    last seen2020-06-05
    modified2016-06-01
    plugin id91400
    published2016-06-01
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/91400
    titleopenSUSE Security Update : libreoffice (openSUSE-2016-642)
    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-642.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(91400);
      script_version("2.5");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
    
      script_name(english:"openSUSE Security Update : libreoffice (openSUSE-2016-642)");
      script_summary(english:"Check for the openSUSE-2016-642 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This libreoffice update to version 5.0.6.3 fixes the following 
    issues :
    
    Security issues fixed :
    
      - CVE-2016-0794: multiple lwp issues (boo#967014)
    
      - CVE-2016-0795: multiple lwp issues (boo#967015)
    
    Bugs fixed :
    
      - Version update to 5.0.6.3 :
    
      - 5.0.6 release, various bugfixes on the 5.0 series, this
        is last release of the series
    
      - Version update to 5.0.5.2 :
    
      - 91 bugs fixed"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=967014"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=967015"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libreoffice packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-mysql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-postgresql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-branding-upstream");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-calc-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-calc-extensions");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-draw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-filters-optional");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gnome");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gnome-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gtk3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gtk3-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-breeze");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-galaxy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-hicontrast");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-oxygen");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-sifr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-tango");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-impress-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-kde4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-kde4-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-as");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-br");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-cy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-dz");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-et");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-eu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-gu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-he");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-hi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-kk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-kn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-lv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-mai");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ml");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-mr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nso");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-or");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pt-BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pt-PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-si");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-st");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ta");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-th");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-tn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-uk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ve");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-xh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-zh-Hans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-zh-Hant");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-zu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-mailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-math-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-officebean-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-pyuno-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-sdk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-sdk-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-writer-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-writer-extensions");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2016/05/27");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/06/01");
      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)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "13.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:"libreoffice-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-base-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-base-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-base-drivers-mysql-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-base-drivers-mysql-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-base-drivers-postgresql-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-base-drivers-postgresql-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-branding-upstream-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-calc-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-calc-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-calc-extensions-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-debugsource-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-draw-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-draw-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-filters-optional-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-gnome-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-gnome-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-gtk3-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-gtk3-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-icon-theme-breeze-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-icon-theme-galaxy-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-icon-theme-hicontrast-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-icon-theme-oxygen-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-icon-theme-sifr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-icon-theme-tango-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-impress-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-impress-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-kde4-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-kde4-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-af-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ar-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-as-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-bg-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-bn-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-br-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ca-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-cs-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-cy-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-da-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-de-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-dz-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-el-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-en-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-es-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-et-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-eu-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-fa-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-fi-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-fr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ga-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-gl-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-gu-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-he-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-hi-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-hr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-hu-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-it-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ja-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-kk-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-kn-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ko-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-lt-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-lv-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-mai-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ml-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-mr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-nb-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-nl-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-nn-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-nr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-nso-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-or-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-pa-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-pl-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-pt-BR-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-pt-PT-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ro-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ru-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-si-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-sk-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-sl-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-sr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ss-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-st-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-sv-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ta-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-te-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-th-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-tn-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-tr-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ts-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-uk-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-ve-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-xh-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-zh-Hans-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-zh-Hant-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-l10n-zu-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-mailmerge-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-math-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-math-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-officebean-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-officebean-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-pyuno-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-pyuno-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-sdk-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-sdk-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-writer-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-writer-debuginfo-5.0.6.3-31.3") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libreoffice-writer-extensions-5.0.6.3-31.3") ) 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, "libreoffice / libreoffice-base / libreoffice-base-debuginfo / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-871.NASL
    descriptionLibreOffice was updated to version 5.1.3.2, bringing many new features and bug fixes. Two security issues have been fixed : - CVE-2016-0795: LibreOffice allowed remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted LwpTocSuperLayout record in a LotusWordPro (lwp) document. - CVE-2016-0794: The lwp filter in LibreOffice allowed remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted LotusWordPro (lwp) document. A comprehensive list of new features and improvements in this release is provided by the Document Foundation at https://wiki.documentfoundation.org/ReleaseNotes/5.1 . This update was imported from the SUSE:SLE-12:Update project.
    last seen2020-06-05
    modified2016-07-15
    plugin id92310
    published2016-07-15
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/92310
    titleopenSUSE Security Update : LibreOffice (openSUSE-2016-871)
    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-871.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(92310);
      script_version("2.4");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
    
      script_name(english:"openSUSE Security Update : LibreOffice (openSUSE-2016-871)");
      script_summary(english:"Check for the openSUSE-2016-871 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "LibreOffice was updated to version 5.1.3.2, bringing many new features
    and bug fixes.
    
    Two security issues have been fixed :
    
      - CVE-2016-0795: LibreOffice allowed remote attackers to
        cause a denial of service (memory corruption) or
        possibly have unspecified other impact via a crafted
        LwpTocSuperLayout record in a LotusWordPro (lwp)
        document.
    
      - CVE-2016-0794: The lwp filter in LibreOffice allowed
        remote attackers to cause a denial of service (memory
        corruption) or possibly have unspecified other impact
        via a crafted LotusWordPro (lwp) document.
    
    A comprehensive list of new features and improvements in this release
    is provided by the Document Foundation at
    https://wiki.documentfoundation.org/ReleaseNotes/5.1 .
    
    This update was imported from the SUSE:SLE-12:Update project."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=718113"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=856729"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=939998"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=945443"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=945445"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=955832"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=965294"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=965296"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=967014"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=967015"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=977784"
      );
      # https://features.opensuse.org/320521
      script_set_attribute(
        attribute:"see_also",
        value:"https://features.opensuse.org/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://wiki.documentfoundation.org/ReleaseNotes/5.1"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected LibreOffice packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:cmis-client");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cmis-client-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:cmis-client-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-devel-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-static");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hunspell-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hyphen");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hyphen-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:hyphen-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcmis-0_5-5");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcmis-0_5-5-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcmis-c-0_5-5");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcmis-c-0_5-5-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcmis-c-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcmis-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libetonyek-0_1-1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libetonyek-0_1-1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libetonyek-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libetonyek-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libetonyek-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libetonyek-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libhyphen0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libhyphen0-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libhyphen0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libhyphen0-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-0_11-0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-0_11-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-python3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-python3-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libixion-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-0_11-0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-0_11-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-python3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-python3-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:liborcus-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-mysql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-base-drivers-postgresql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-branding-upstream");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-calc-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-calc-extensions");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-draw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-filters-optional");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gdb-pretty-printers");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-glade");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gnome");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gnome-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gtk3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-gtk3-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-breeze");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-galaxy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-hicontrast");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-oxygen");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-sifr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-icon-theme-tango");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-impress-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-kde4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-kde4-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-as");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-br");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-cy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-dz");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-et");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-eu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-gu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-he");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-hi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-kk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-kn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-lv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-mai");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ml");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-mr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-nso");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-or");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pt-BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-pt-PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-si");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-st");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ta");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-th");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-tn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-uk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-ve");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-xh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-zh-Hans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-zh-Hant");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-l10n-zu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-mailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-math-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-officebean-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-pyuno-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-sdk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-sdk-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-writer-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreoffice-writer-extensions");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreofficekit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libreofficekit-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvisio-0_1-1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvisio-0_1-1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvisio-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvisio-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvisio-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvisio-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libwps-0_4-4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libwps-0_4-4-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libwps-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libwps-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libwps-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libwps-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mdds-1_0-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-af_NA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-af_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-an");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-an_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_AE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_BH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_DZ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_EG");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_IQ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_JO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_KW");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_LB");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_LY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_MA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_OM");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_QA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_SA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_SD");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_SY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_TN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ar_YE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-be_BY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-bg_BG");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-bn_BD");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-bn_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-br_FR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-bs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-bs_BA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ca_AD");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ca_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ca_ES_valencia");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ca_FR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ca_IT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-cs_CZ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-da_DK");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-de_AT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-de_CH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-de_DE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-dictionaries");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-el_GR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_AU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_BS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_BZ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_CA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_GB");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_GH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_IE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_JM");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_MW");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_NA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_NZ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_PH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_TT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_US");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-en_ZW");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_AR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_BO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_CL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_CO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_CR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_CU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_DO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_EC");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_GT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_HN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_MX");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_NI");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_PA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_PE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_PR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_PY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_SV");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_UY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-es_VE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-et_EE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-fr_BE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-fr_CA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-fr_CH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-fr_FR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-fr_LU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-fr_MC");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-gd_GB");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-gl_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-gu_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-gug");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-gug_PY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-he_IL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-hi_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-hr_HR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-hu_HU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-is");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-is_IS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-it_IT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-kmr_Latn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-kmr_Latn_SY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-kmr_Latn_TR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lightproof-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lightproof-hu_HU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lightproof-pt_BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lightproof-ru_RU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lo_LA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lt_LT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-lv_LV");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-nb_NO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ne_NP");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-nl_BE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-nl_NL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-nn_NO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-no");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-oc_FR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-pl_PL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-pt_AO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-pt_BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-pt_PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ro_RO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-ru_RU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-si_LK");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sk_SK");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sl_SI");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sr_CS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sr_Latn_CS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sr_Latn_RS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sr_RS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sv_FI");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sv_SE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-sw_TZ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-te_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-th_TH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-uk_UA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-vi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-vi_VN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:myspell-zu_ZA");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2016/07/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/07/15");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2020 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/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 !~ "^(SUSE42\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.1", 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:"SUSE42.1", reference:"cmis-client-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"cmis-client-debuginfo-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"cmis-client-debugsource-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-debuginfo-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-debugsource-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-devel-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-static-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-tools-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hunspell-tools-debuginfo-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hyphen-2.8.8-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hyphen-debugsource-2.8.8-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"hyphen-devel-2.8.8-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libcmis-0_5-5-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libcmis-0_5-5-debuginfo-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libcmis-c-0_5-5-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libcmis-c-0_5-5-debuginfo-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libcmis-c-devel-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libcmis-devel-0.5.1-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libetonyek-0_1-1-0.1.6-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libetonyek-0_1-1-debuginfo-0.1.6-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libetonyek-debugsource-0.1.6-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libetonyek-devel-0.1.6-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libetonyek-tools-0.1.6-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libetonyek-tools-debuginfo-0.1.6-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libhyphen0-2.8.8-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libhyphen0-debuginfo-2.8.8-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-0_11-0-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-0_11-0-debuginfo-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-debugsource-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-devel-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-python3-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-python3-debuginfo-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-tools-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libixion-tools-debuginfo-0.11.0-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-0_11-0-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-0_11-0-debuginfo-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-debugsource-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-devel-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-python3-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-python3-debuginfo-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-tools-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"liborcus-tools-debuginfo-0.11.0-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-base-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-base-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-base-drivers-mysql-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-base-drivers-mysql-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-base-drivers-postgresql-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-base-drivers-postgresql-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-branding-upstream-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-calc-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-calc-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-calc-extensions-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-debugsource-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-draw-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-draw-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-filters-optional-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-gdb-pretty-printers-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-glade-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-gnome-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-gnome-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-gtk3-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-gtk3-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-icon-theme-breeze-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-icon-theme-galaxy-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-icon-theme-hicontrast-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-icon-theme-oxygen-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-icon-theme-sifr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-icon-theme-tango-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-impress-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-impress-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-kde4-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-kde4-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-af-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ar-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-as-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-bg-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-bn-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-br-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ca-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-cs-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-cy-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-da-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-de-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-dz-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-el-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-en-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-es-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-et-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-eu-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-fa-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-fi-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-fr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ga-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-gl-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-gu-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-he-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-hi-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-hr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-hu-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-it-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ja-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-kk-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-kn-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ko-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-lt-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-lv-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-mai-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ml-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-mr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-nb-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-nl-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-nn-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-nr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-nso-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-or-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-pa-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-pl-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-pt-BR-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-pt-PT-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ro-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ru-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-si-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-sk-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-sl-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-sr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ss-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-st-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-sv-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ta-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-te-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-th-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-tn-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-tr-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ts-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-uk-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-ve-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-xh-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-zh-Hans-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-zh-Hant-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-l10n-zu-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-mailmerge-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-math-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-math-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-officebean-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-officebean-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-pyuno-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-pyuno-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-sdk-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-sdk-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-writer-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-writer-debuginfo-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreoffice-writer-extensions-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreofficekit-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libreofficekit-devel-5.1.3.2-8.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libvisio-0_1-1-0.1.5-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libvisio-0_1-1-debuginfo-0.1.5-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libvisio-debugsource-0.1.5-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libvisio-devel-0.1.5-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libvisio-tools-0.1.5-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libvisio-tools-debuginfo-0.1.5-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libwps-0_4-4-0.4.2-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libwps-0_4-4-debuginfo-0.4.2-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libwps-debugsource-0.4.2-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libwps-devel-0.4.2-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libwps-tools-0.4.2-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libwps-tools-debuginfo-0.4.2-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mdds-1_0-devel-1.1.0-2.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-af_NA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-af_ZA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-an-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-an_ES-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_AE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_BH-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_DZ-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_EG-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_IQ-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_JO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_KW-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_LB-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_LY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_MA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_OM-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_QA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_SA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_SD-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_SY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_TN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ar_YE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-be_BY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-bg_BG-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-bn_BD-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-bn_IN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-br_FR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-bs-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-bs_BA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ca-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ca_AD-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ca_ES-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ca_ES_valencia-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ca_FR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ca_IT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-cs_CZ-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-da_DK-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-de-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-de_AT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-de_CH-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-de_DE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-dictionaries-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-el_GR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_AU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_BS-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_BZ-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_CA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_GB-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_GH-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_IE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_IN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_JM-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_MW-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_NA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_NZ-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_PH-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_TT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_US-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_ZA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-en_ZW-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_AR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_BO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_CL-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_CO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_CR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_CU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_DO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_EC-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_ES-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_GT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_HN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_MX-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_NI-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_PA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_PE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_PR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_PY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_SV-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_UY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-es_VE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-et_EE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-fr_BE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-fr_CA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-fr_CH-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-fr_FR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-fr_LU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-fr_MC-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-gd_GB-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-gl-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-gl_ES-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-gu_IN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-gug-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-gug_PY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-he_IL-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-hi_IN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-hr_HR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-hu_HU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-is-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-is_IS-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-it_IT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-kmr_Latn-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-kmr_Latn_SY-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-kmr_Latn_TR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lightproof-en-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lightproof-hu_HU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lightproof-pt_BR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lightproof-ru_RU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lo_LA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lt_LT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-lv_LV-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-nb_NO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ne_NP-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-nl_BE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-nl_NL-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-nn_NO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-no-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-oc_FR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-pl_PL-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-pt_AO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-pt_BR-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-pt_PT-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ro-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ro_RO-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-ru_RU-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-si_LK-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sk_SK-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sl_SI-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sr-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sr_CS-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sr_Latn_CS-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sr_Latn_RS-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sr_RS-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sv_FI-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sv_SE-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-sw_TZ-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-te-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-te_IN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-th_TH-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-uk_UA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-vi-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-vi_VN-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"myspell-zu_ZA-20160511-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"hunspell-32bit-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"hunspell-debuginfo-32bit-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"hunspell-devel-32bit-1.3.2-5.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libhyphen0-32bit-2.8.8-6.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libhyphen0-debuginfo-32bit-2.8.8-6.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, "cmis-client / cmis-client-debuginfo / cmis-client-debugsource / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-1728-1.NASL
    descriptionLibreOffice was updated to version 5.1.3.2, bringing many new features and bug fixes. Two security issues have been fixed : - CVE-2016-0795: LibreOffice allowed remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted LwpTocSuperLayout record in a LotusWordPro (lwp) document. - CVE-2016-0794: The lwp filter in LibreOffice allowed remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via a crafted LotusWordPro (lwp) document. A comprehensive list of new features and improvements in this release is provided by the Document Foundation at https://wiki.documentfoundation.org/ReleaseNotes/5.1 . 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 id93174
    published2016-08-29
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/93174
    titleSUSE SLED12 Security Update : LibreOffice (SUSE-SU-2016:1728-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:1728-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(93174);
      script_version("2.7");
      script_cvs_date("Date: 2019/09/11 11:22:13");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
    
      script_name(english:"SUSE SLED12 Security Update : LibreOffice (SUSE-SU-2016:1728-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:
    "LibreOffice was updated to version 5.1.3.2, bringing many new features
    and bug fixes.
    
    Two security issues have been fixed :
    
      - CVE-2016-0795: LibreOffice allowed remote attackers to
        cause a denial of service (memory corruption) or
        possibly have unspecified other impact via a crafted
        LwpTocSuperLayout record in a LotusWordPro (lwp)
        document.
    
      - CVE-2016-0794: The lwp filter in LibreOffice allowed
        remote attackers to cause a denial of service (memory
        corruption) or possibly have unspecified other impact
        via a crafted LotusWordPro (lwp) document.
    
    A comprehensive list of new features and improvements in this release
    is provided by the Document Foundation at
    https://wiki.documentfoundation.org/ReleaseNotes/5.1 .
    
    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=718113"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=856729"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=939998"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=945443"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=945445"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=955832"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=965294"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=965296"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=967014"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=967015"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=977784"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://wiki.documentfoundation.org/ReleaseNotes/5.1"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2016-0794/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2016-0795/"
      );
      # https://www.suse.com/support/update/announcement/2016/suse-su-20161728-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?73117c70"
      );
      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 Workstation Extension 12-SP1 :
    
    zypper in -t patch SUSE-SLE-WE-12-SP1-2016-1016=1
    
    SUSE Linux Enterprise Workstation Extension 12 :
    
    zypper in -t patch SUSE-SLE-WE-12-2016-1016=1
    
    SUSE Linux Enterprise Software Development Kit 12-SP1 :
    
    zypper in -t patch SUSE-SLE-SDK-12-SP1-2016-1016=1
    
    SUSE Linux Enterprise Software Development Kit 12 :
    
    zypper in -t patch SUSE-SLE-SDK-12-2016-1016=1
    
    SUSE Linux Enterprise Desktop 12-SP1 :
    
    zypper in -t patch SUSE-SLE-DESKTOP-12-SP1-2016-1016=1
    
    SUSE Linux Enterprise Desktop 12 :
    
    zypper in -t patch SUSE-SLE-DESKTOP-12-2016-1016=1
    
    To bring your system up-to-date, use 'zypper patch'."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:cmis-client-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:cmis-client-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:hunspell");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:hunspell-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:hunspell-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:hunspell-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:hunspell-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:hyphen-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOpenCOLLADA0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libOpenCOLLADA0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_atomic1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_atomic1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_date_time1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_date_time1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_filesystem1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_filesystem1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_iostreams1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_iostreams1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_program_options1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_program_options1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_regex1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_regex1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_signals1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_signals1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_system1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_system1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_thread1_54_0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_thread1_54_0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcmis-0_5");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libcmis-0_5-5-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libetonyek-0_1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libetonyek-0_1-1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libetonyek-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libhyphen0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libhyphen0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libixion-0_11");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libixion-0_11-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libixion-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:liborcus-0_11");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:liborcus-0_11-0-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:liborcus-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-base-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-base-drivers-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-base-drivers-mysql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-base-drivers-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-base-drivers-postgresql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-calc-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-calc-extensions");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-draw-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-filters-optional");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-gnome");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-gnome-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-impress-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-mailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-math-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-officebean-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-pyuno-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-writer-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-writer-extensions");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvisio-0_1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvisio-0_1-1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libvisio-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libwps-0_4");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libwps-0_4-4-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libwps-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:myspell-dictionaries");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:myspell-lightproof-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:myspell-lightproof-hu_HU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:myspell-lightproof-pt_BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:myspell-lightproof-ru_RU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:openCOLLADA-debugsource");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/18");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/07/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/08/29");
      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)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED12", "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);
    if (cpu >!< "x86_64") audit(AUDIT_ARCH_NOT, "x86_64", cpu);
    
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLED12" && (! preg(pattern:"^(0|1)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP0/1", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"cmis-client-debuginfo-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"cmis-client-debugsource-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-32bit-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-debuginfo-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-debuginfo-32bit-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-debugsource-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-tools-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hunspell-tools-debuginfo-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"hyphen-debugsource-2.8.8-12.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libOpenCOLLADA0-1_3335ac1-2.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libOpenCOLLADA0-debuginfo-1_3335ac1-2.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_atomic1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_atomic1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_date_time1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_date_time1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_filesystem1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_filesystem1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_iostreams1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_iostreams1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_program_options1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_program_options1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_regex1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_regex1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_signals1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_signals1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_system1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_system1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_thread1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libboost_thread1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libcmis-0_5-5-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libcmis-0_5-5-debuginfo-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libetonyek-0_1-1-0.1.6-6.3")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libetonyek-0_1-1-debuginfo-0.1.6-6.3")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libetonyek-debugsource-0.1.6-6.3")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libhyphen0-2.8.8-12.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libhyphen0-debuginfo-2.8.8-12.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libixion-0_11-0-0.11.0-6.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libixion-0_11-0-debuginfo-0.11.0-6.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libixion-debugsource-0.11.0-6.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"liborcus-0_11-0-0.11.0-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"liborcus-0_11-0-debuginfo-0.11.0-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"liborcus-debugsource-0.11.0-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-base-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-base-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-calc-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-calc-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-calc-extensions-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-debugsource-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-draw-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-draw-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-filters-optional-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-gnome-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-gnome-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-impress-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-impress-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-mailmerge-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-math-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-math-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-officebean-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-officebean-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-pyuno-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-pyuno-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-writer-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-writer-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libreoffice-writer-extensions-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libvisio-0_1-1-0.1.5-7.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libvisio-0_1-1-debuginfo-0.1.5-7.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libvisio-debugsource-0.1.5-7.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libwps-0_4-4-0.4.2-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libwps-0_4-4-debuginfo-0.4.2-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"libwps-debugsource-0.4.2-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"myspell-dictionaries-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"myspell-lightproof-en-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"myspell-lightproof-hu_HU-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"myspell-lightproof-pt_BR-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"myspell-lightproof-ru_RU-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"1", cpu:"x86_64", reference:"openCOLLADA-debugsource-1_3335ac1-2.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"cmis-client-debuginfo-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"cmis-client-debugsource-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-32bit-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-debuginfo-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-debuginfo-32bit-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-debugsource-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-tools-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hunspell-tools-debuginfo-1.3.2-18.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"hyphen-debugsource-2.8.8-12.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libOpenCOLLADA0-1_3335ac1-2.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libOpenCOLLADA0-debuginfo-1_3335ac1-2.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_atomic1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_atomic1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_date_time1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_date_time1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_filesystem1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_filesystem1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_iostreams1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_iostreams1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_program_options1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_program_options1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_regex1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_regex1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_signals1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_signals1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_system1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_system1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_thread1_54_0-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libboost_thread1_54_0-debuginfo-1.54.0-15.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libcmis-0_5-5-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libcmis-0_5-5-debuginfo-0.5.1-8.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libetonyek-0_1-1-0.1.6-6.3")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libetonyek-0_1-1-debuginfo-0.1.6-6.3")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libetonyek-debugsource-0.1.6-6.3")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libhyphen0-2.8.8-12.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libhyphen0-debuginfo-2.8.8-12.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libixion-0_11-0-0.11.0-6.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libixion-0_11-0-debuginfo-0.11.0-6.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libixion-debugsource-0.11.0-6.2")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"liborcus-0_11-0-0.11.0-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"liborcus-0_11-0-debuginfo-0.11.0-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"liborcus-debugsource-0.11.0-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-base-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-base-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-calc-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-calc-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-calc-extensions-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-debugsource-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-draw-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-draw-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-filters-optional-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-gnome-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-gnome-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-impress-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-impress-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-mailmerge-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-math-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-math-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-officebean-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-officebean-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-pyuno-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-pyuno-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-writer-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-writer-debuginfo-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libreoffice-writer-extensions-5.1.3.2-22.9")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libvisio-0_1-1-0.1.5-7.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libvisio-0_1-1-debuginfo-0.1.5-7.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libvisio-debugsource-0.1.5-7.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libwps-0_4-4-0.4.2-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libwps-0_4-4-debuginfo-0.4.2-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"libwps-debugsource-0.4.2-6.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"myspell-dictionaries-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"myspell-lightproof-en-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"myspell-lightproof-hu_HU-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"myspell-lightproof-pt_BR-20160511-11.1")) flag++;
    if (rpm_check(release:"SLED12", sp:"0", cpu:"x86_64", reference:"myspell-lightproof-ru_RU-20160511-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, "LibreOffice");
    }
    
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2016-2579.NASL
    descriptionFrom Red Hat Security Advisory 2016:2579 : An update for libreoffice is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. LibreOffice is an open source, community-developed office productivity suite. It includes key desktop applications, such as a word processor, a spreadsheet, a presentation manager, a formula editor, and a drawing program. LibreOffice replaces OpenOffice and provides a similar but enhanced and extended office suite. The following packages have been upgraded to a newer upstream version: libreoffice (5.0.6.2). (BZ#1290148) Security Fix(es) : * Multiple flaws were found in the Lotus Word Pro (LWP) document format parser in LibreOffice. By tricking a user into opening a specially crafted LWP document, an attacker could possibly use this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2016-0794, CVE-2016-0795) Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.3 Release Notes linked from the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id94701
    published2016-11-11
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94701
    titleOracle Linux 7 : libreoffice (ELSA-2016-2579)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Red Hat Security Advisory RHSA-2016:2579 and 
    # Oracle Linux Security Advisory ELSA-2016-2579 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(94701);
      script_version("2.4");
      script_cvs_date("Date: 2019/09/27 13:00:37");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_xref(name:"RHSA", value:"2016:2579");
    
      script_name(english:"Oracle Linux 7 : libreoffice (ELSA-2016-2579)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Oracle Linux host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "From Red Hat Security Advisory 2016:2579 :
    
    An update for libreoffice is now available for Red Hat Enterprise
    Linux 7.
    
    Red Hat Product Security has rated this update as having a security
    impact of Moderate. A Common Vulnerability Scoring System (CVSS) base
    score, which gives a detailed severity rating, is available for each
    vulnerability from the CVE link(s) in the References section.
    
    LibreOffice is an open source, community-developed office productivity
    suite. It includes key desktop applications, such as a word processor,
    a spreadsheet, a presentation manager, a formula editor, and a drawing
    program. LibreOffice replaces OpenOffice and provides a similar but
    enhanced and extended office suite.
    
    The following packages have been upgraded to a newer upstream version:
    libreoffice (5.0.6.2). (BZ#1290148)
    
    Security Fix(es) :
    
    * Multiple flaws were found in the Lotus Word Pro (LWP) document
    format parser in LibreOffice. By tricking a user into opening a
    specially crafted LWP document, an attacker could possibly use this
    flaw to execute arbitrary code with the privileges of the user opening
    the file. (CVE-2016-0794, CVE-2016-0795)
    
    Additional Changes :
    
    For detailed information on changes in this release, see the Red Hat
    Enterprise Linux 7.3 Release Notes linked from the References section."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2016-November/006467.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libreoffice packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:oracle:linux:autocorr-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-is");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-lb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-mn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-pt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-vi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:autocorr-zh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libcmis");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libcmis-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libcmis-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libpagemaker");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libpagemaker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libpagemaker-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libpagemaker-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-bsh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-emailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-filters");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-gdb-debug-support");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-glade");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-graphicfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-as");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-br");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-cy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-dz");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-et");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-eu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-gu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-he");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-hi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-kk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-kn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-lv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-mai");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ml");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-mr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-nso");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-or");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pt-BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-pt-PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-si");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-st");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ta");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-th");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-tn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-uk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-ve");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-xh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-zh-Hans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-zh-Hant");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-langpack-zu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-librelogo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-nlpsolver");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-ogltrans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-opensymbol-fonts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-pdfimport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-rhino");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-sdk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-sdk-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-ure");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-wiki-publisher");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreoffice-xsltfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:mdds-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:7");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/18");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/11/10");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/11/11");
      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:"Oracle Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "Host/RedHat/release", "Host/RedHat/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);
    if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux");
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || !pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux");
    os_ver = pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux");
    os_ver = os_ver[1];
    if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 7", "Oracle Linux " + os_ver);
    
    if (!get_kb_item("Host/RedHat/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$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Oracle Linux", cpu);
    if ("x86_64" >!< cpu) audit(AUDIT_ARCH_NOT, "x86_64", cpu);
    
    flag = 0;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-af-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-bg-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ca-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-cs-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-da-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-de-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-en-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-es-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fa-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fi-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ga-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-hr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-hu-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-is-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-it-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ja-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ko-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-lb-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-lt-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-mn-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-nl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-pl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-pt-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ro-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ru-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sk-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sv-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-tr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-vi-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-zh-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libcmis-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libcmis-devel-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libcmis-tools-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libpagemaker-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libpagemaker-devel-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libpagemaker-doc-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libpagemaker-tools-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-opensymbol-fonts-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-3.0.1.el7")) flag++;
    if (rpm_check(release:"EL7", cpu:"x86_64", reference:"mdds-devel-0.12.1-1.el7")) 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, "autocorr-af / autocorr-bg / autocorr-ca / autocorr-cs / autocorr-da / etc");
    }
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_LIBREOFFICE_505.NASL
    descriptionThe version of LibreOffice installed on the remote Mac OS X host is prior to 5.0.5. It is, therefore, affected by multiple vulnerabilities : - A remote code execution vulnerability exists due to improper validation of user-supplied input when handling LotusWordPro (LWP) documents. A remote attacker can exploit this, via a crafted LWP document, to corrupt memory, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0794) - A remote code execution vulnerability exists due to improper validation of user-supplied input when handling LwpTocSuperLayout records. A remote attacker can exploit this, via a crafted LwpTocSuperLayout record in a LotusWordPro (LWP) document, to corrupt memory, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0795) Note that Nessus has not attempted to exploit these issues but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id88984
    published2016-02-26
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/88984
    titleLibreOffice < 5.0.5 Multiple RCE (Mac OS X)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(88984);
      script_version("1.10");
      script_cvs_date("Date: 2019/11/20");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_bugtraq_id(74334);
    
      script_name(english:"LibreOffice < 5.0.5 Multiple RCE (Mac OS X)");
      script_summary(english:"Checks the version of LibreOffice.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote host has an application installed that is affected by
    multiple remote code execution vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of LibreOffice installed on the remote Mac OS X host is
    prior to 5.0.5. It is, therefore, affected by multiple
    vulnerabilities :
    
      - A remote code execution vulnerability exists due to
        improper validation of user-supplied input when handling
        LotusWordPro (LWP) documents. A remote attacker can
        exploit this, via a crafted LWP document, to corrupt
        memory, resulting in a denial of service condition or
        the execution of arbitrary code. (CVE-2016-0794)
    
      - A remote code execution vulnerability exists due to
        improper validation of user-supplied input when handling
        LwpTocSuperLayout records. A remote attacker can exploit
        this, via a crafted LwpTocSuperLayout record in a
        LotusWordPro (LWP) document, to corrupt memory,
        resulting in a denial of service condition or the
        execution of arbitrary code. (CVE-2016-0795)
    
    Note that Nessus has not attempted to exploit these issues but has
    instead relied only on the application's self-reported version number.");
      script_set_attribute(attribute:"see_also", value:"http://www.libreoffice.org/about-us/security/advisories/cve-2016-0794/");
      script_set_attribute(attribute:"see_also", value:"http://www.libreoffice.org/about-us/security/advisories/cve-2016-0795/");
      script_set_attribute(attribute:"see_also", value:"http://listarchives.documentfoundation.org/www/announce/msg00258.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to LibreOffice version 5.0.5 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:"cvss_score_source", value:"CVE-2016-0795");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/02/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/02/26");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:libreoffice:libreoffice");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_libreoffice_installed.nasl");
      script_require_keys("installed_sw/LibreOffice", "Host/MacOSX/Version");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    app_name = "LibreOffice";
    
    get_kb_item_or_exit("Host/MacOSX/Version");
    
    install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
    version    = install['version'];
    path       = install['path'];
    
    if (
      # < 5.x
      version =~ "^[0-4]($|[^0-9])" ||
      # 5.0 < 5.0.5
      version =~ "^5\.0\.[0-4]($|[^0-9])"
    )
    {
      report =
        '\n  Path              : ' + path +
        '\n  Installed version : ' + version_ui +
        '\n  Fixed version     : 5.1.0 / 5.0.5 (5.0.5.2)' +
        '\n';
      security_report_v4(port:0, severity:SECURITY_HOLE, extra:report);
      exit(0);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2899-1.NASL
    descriptionIt was discovered that LibreOffice incorrectly handled LWP document files. If a user were tricked into opening a specially crafted LWP document, a remote attacker could cause LibreOffice to crash, and possibly execute arbitrary code. 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 id88805
    published2016-02-17
    reporterUbuntu Security Notice (C) 2016-2019 Canonical, Inc. / NASL script (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/88805
    titleUbuntu 12.04 LTS / 14.04 LTS / 15.10 : libreoffice vulnerabilities (USN-2899-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-2899-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(88805);
      script_version("2.13");
      script_cvs_date("Date: 2019/09/18 12:31:45");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_xref(name:"USN", value:"2899-1");
    
      script_name(english:"Ubuntu 12.04 LTS / 14.04 LTS / 15.10 : libreoffice vulnerabilities (USN-2899-1)");
      script_summary(english:"Checks dpkg output for updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Ubuntu host is missing a security-related patch."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "It was discovered that LibreOffice incorrectly handled LWP document
    files. If a user were tricked into opening a specially crafted LWP
    document, a remote attacker could cause LibreOffice to crash, and
    possibly execute arbitrary code.
    
    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/2899-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libreoffice-core package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:canonical:ubuntu_linux:libreoffice-core");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:12.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:14.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:15.10");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/18");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/02/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/02/17");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2016-2019 Canonical, Inc. / NASL script (C) 2016-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:"^(12\.04|14\.04|15\.10)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 12.04 / 14.04 / 15.10", "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:"12.04", pkgname:"libreoffice-core", pkgver:"1:3.5.7-0ubuntu10")) flag++;
    if (ubuntu_check(osver:"14.04", pkgname:"libreoffice-core", pkgver:"1:4.2.8-0ubuntu4")) flag++;
    if (ubuntu_check(osver:"15.10", pkgname:"libreoffice-core", pkgver:"1:5.0.5~rc2-0ubuntu2")) 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, "libreoffice-core");
    }
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2016-2579.NASL
    descriptionAn update for libreoffice is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. LibreOffice is an open source, community-developed office productivity suite. It includes key desktop applications, such as a word processor, a spreadsheet, a presentation manager, a formula editor, and a drawing program. LibreOffice replaces OpenOffice and provides a similar but enhanced and extended office suite. The following packages have been upgraded to a newer upstream version: libreoffice (5.0.6.2). (BZ#1290148) Security Fix(es) : * Multiple flaws were found in the Lotus Word Pro (LWP) document format parser in LibreOffice. By tricking a user into opening a specially crafted LWP document, an attacker could possibly use this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2016-0794, CVE-2016-0795) Additional Changes : For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.3 Release Notes linked from the References section.
    last seen2020-06-01
    modified2020-06-02
    plugin id95326
    published2016-11-28
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95326
    titleCentOS 7 : libcmis / libpagemaker / libreoffice / mdds (CESA-2016:2579)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2016:2579 and 
    # CentOS Errata and Security Advisory 2016:2579 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(95326);
      script_version("3.5");
      script_cvs_date("Date: 2020/01/02");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
      script_xref(name:"RHSA", value:"2016:2579");
    
      script_name(english:"CentOS 7 : libcmis / libpagemaker / libreoffice / mdds (CESA-2016:2579)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote CentOS host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An update for libreoffice is now available for Red Hat Enterprise
    Linux 7.
    
    Red Hat Product Security has rated this update as having a security
    impact of Moderate. A Common Vulnerability Scoring System (CVSS) base
    score, which gives a detailed severity rating, is available for each
    vulnerability from the CVE link(s) in the References section.
    
    LibreOffice is an open source, community-developed office productivity
    suite. It includes key desktop applications, such as a word processor,
    a spreadsheet, a presentation manager, a formula editor, and a drawing
    program. LibreOffice replaces OpenOffice and provides a similar but
    enhanced and extended office suite.
    
    The following packages have been upgraded to a newer upstream version:
    libreoffice (5.0.6.2). (BZ#1290148)
    
    Security Fix(es) :
    
    * Multiple flaws were found in the Lotus Word Pro (LWP) document
    format parser in LibreOffice. By tricking a user into opening a
    specially crafted LWP document, an attacker could possibly use this
    flaw to execute arbitrary code with the privileges of the user opening
    the file. (CVE-2016-0794, CVE-2016-0795)
    
    Additional Changes :
    
    For detailed information on changes in this release, see the Red Hat
    Enterprise Linux 7.3 Release Notes linked from the References section."
      );
      # https://lists.centos.org/pipermail/centos-cr-announce/2016-November/003279.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?608dd23f"
      );
      # https://lists.centos.org/pipermail/centos-cr-announce/2016-November/003310.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?0d175fc9"
      );
      # https://lists.centos.org/pipermail/centos-cr-announce/2016-November/003347.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?70c51954"
      );
      # https://lists.centos.org/pipermail/centos-cr-announce/2016-November/003406.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?7fb2a6ea"
      );
      # https://lists.centos.org/pipermail/centos-cr-announce/2016-November/003616.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?8e045987"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:"cvss_score_source", value:"CVE-2016-0794");
      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:centos:centos:autocorr-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-is");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-lb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-mn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-pt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-vi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:autocorr-zh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libcmis");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libcmis-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libcmis-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libpagemaker");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libpagemaker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libpagemaker-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libpagemaker-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-bsh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-emailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-filters");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-gdb-debug-support");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-glade");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-graphicfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-as");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-br");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-cy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-dz");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-et");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-eu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-gu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-he");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-hi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-kk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-kn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-lv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-mai");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ml");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-mr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-nb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-nn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-nr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-nso");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-or");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-pa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-pt-BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-pt-PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-si");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-st");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ta");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-th");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-tn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-uk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-ve");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-xh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-zh-Hans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-zh-Hant");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-langpack-zu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-librelogo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-nlpsolver");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-ogltrans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-opensymbol-fonts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-pdfimport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-rhino");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-sdk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-sdk-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-ure");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-wiki-publisher");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreoffice-xsltfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:mdds-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:7");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/18");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/11/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/11/28");
      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-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"CentOS Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/CentOS/release", "Host/CentOS/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/CentOS/release");
    if (isnull(release) || "CentOS" >!< release) audit(AUDIT_OS_NOT, "CentOS");
    os_ver = pregmatch(pattern: "CentOS(?: Linux)? release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "CentOS");
    os_ver = os_ver[1];
    if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "CentOS 7.x", "CentOS " + os_ver);
    
    if (!get_kb_item("Host/CentOS/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$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "CentOS", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-af-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-bg-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ca-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-cs-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-da-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-de-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-en-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-es-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-fa-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-fi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-fr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ga-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-hr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-hu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-is-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-it-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ja-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ko-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-lb-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-lt-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-mn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-nl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-pl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-pt-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ro-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ru-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sv-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-tr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-vi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-zh-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libcmis-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libcmis-devel-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libcmis-tools-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libpagemaker-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libpagemaker-devel-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libpagemaker-doc-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libpagemaker-tools-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-opensymbol-fonts-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"mdds-devel-0.12.1-1.el7")) flag++;
    
    
    if (flag)
    {
      cr_plugin_caveat = '\n' +
        'NOTE: The security advisory associated with this vulnerability has a\n' +
        'fixed package version that may only be available in the continuous\n' +
        'release (CR) repository for CentOS, until it is present in the next\n' +
        'point release of CentOS.\n\n' +
    
        'If an equal or higher package level does not exist in the baseline\n' +
        'repository for your major version of CentOS, then updates from the CR\n' +
        'repository will need to be applied in order to address the\n' +
        'vulnerability.\n';
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get() + cr_plugin_caveat
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "autocorr-af / autocorr-bg / autocorr-ca / autocorr-cs / autocorr-da / etc");
    }
    
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20161103_LIBREOFFICE_ON_SL7_X.NASL
    descriptionThe following packages have been upgraded to a newer upstream version: libreoffice (5.0.6.2). Security Fix(es) : - Multiple flaws were found in the Lotus Word Pro (LWP) document format parser in LibreOffice. By tricking a user into opening a specially crafted LWP document, an attacker could possibly use this flaw to execute arbitrary code with the privileges of the user opening the file. (CVE-2016-0794, CVE-2016-0795) Additional Changes :
    last seen2020-03-18
    modified2016-12-15
    plugin id95844
    published2016-12-15
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95844
    titleScientific Linux Security Update : libreoffice on SL7.x x86_64 (20161103)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text is (C) Scientific Linux.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(95844);
      script_version("3.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/25");
    
      script_cve_id("CVE-2016-0794", "CVE-2016-0795");
    
      script_name(english:"Scientific Linux Security Update : libreoffice on SL7.x x86_64 (20161103)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Scientific Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The following packages have been upgraded to a newer upstream version:
    libreoffice (5.0.6.2).
    
    Security Fix(es) :
    
      - Multiple flaws were found in the Lotus Word Pro (LWP)
        document format parser in LibreOffice. By tricking a
        user into opening a specially crafted LWP document, an
        attacker could possibly use this flaw to execute
        arbitrary code with the privileges of the user opening
        the file. (CVE-2016-0794, CVE-2016-0795)
    
    Additional Changes :"
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1612&L=scientific-linux-errata&F=&S=&P=7832
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?5f021f96"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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:fermilab:scientific_linux:autocorr-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-is");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-lb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-mn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-pt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-vi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:autocorr-zh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libcmis");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libcmis-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libcmis-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libcmis-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libpagemaker");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libpagemaker-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libpagemaker-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libpagemaker-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libpagemaker-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-bsh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-emailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-filters");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-gdb-debug-support");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-glade");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-graphicfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-af");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-as");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-bg");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-br");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ca");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-cs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-cy");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-da");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-dz");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-el");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-en");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-et");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-eu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-fa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-fi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-gl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-gu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-he");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-hi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-hr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-hu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ja");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-kk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-kn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ko");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-lt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-lv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-mai");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ml");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-mr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-nb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-nn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-nr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-nso");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-or");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-pa");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-pl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-pt-BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-pt-PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ro");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-si");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-sk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-sl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-sr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-st");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ta");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-te");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-th");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-tn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-tr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-uk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-ve");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-xh");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-zh-Hans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-zh-Hant");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-langpack-zu");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-librelogo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-nlpsolver");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-officebean");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-ogltrans");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-opensymbol-fonts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-pdfimport");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-rhino");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-sdk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-sdk-doc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-ure");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-wiki-publisher");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreoffice-xsltfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:mdds-devel");
      script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2016/02/18");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/11/03");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/12/15");
      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-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Scientific Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Scientific Linux " >!< release) audit(AUDIT_HOST_NOT, "running Scientific Linux");
    os_ver = pregmatch(pattern: "Scientific Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Scientific Linux");
    os_ver = os_ver[1];
    if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Scientific Linux 7.x", "Scientific Linux " + os_ver);
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Scientific Linux", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SL7", reference:"autocorr-af-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-bg-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-ca-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-cs-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-da-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-de-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-en-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-es-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-fa-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-fi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-fr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-ga-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-hr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-hu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-is-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-it-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-ja-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-ko-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-lb-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-lt-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-mn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-nl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-pl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-pt-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-ro-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-ru-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-sk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-sl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-sr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-sv-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-tr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-vi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"autocorr-zh-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libcmis-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libcmis-debuginfo-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libcmis-devel-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libcmis-tools-0.5.1-2.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libpagemaker-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libpagemaker-debuginfo-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libpagemaker-devel-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"libpagemaker-doc-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libpagemaker-tools-0.0.3-1.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-debuginfo-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"libreoffice-opensymbol-fonts-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-3.el7")) flag++;
    if (rpm_check(release:"SL7", reference:"mdds-devel-0.12.1-1.el7")) 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, "autocorr-af / autocorr-bg / autocorr-ca / autocorr-cs / autocorr-da / etc");
    }
    

Redhat

advisories
rhsa
idRHSA-2016:2579
rpms
  • autocorr-af-1:5.0.6.2-3.el7
  • autocorr-bg-1:5.0.6.2-3.el7
  • autocorr-ca-1:5.0.6.2-3.el7
  • autocorr-cs-1:5.0.6.2-3.el7
  • autocorr-da-1:5.0.6.2-3.el7
  • autocorr-de-1:5.0.6.2-3.el7
  • autocorr-en-1:5.0.6.2-3.el7
  • autocorr-es-1:5.0.6.2-3.el7
  • autocorr-fa-1:5.0.6.2-3.el7
  • autocorr-fi-1:5.0.6.2-3.el7
  • autocorr-fr-1:5.0.6.2-3.el7
  • autocorr-ga-1:5.0.6.2-3.el7
  • autocorr-hr-1:5.0.6.2-3.el7
  • autocorr-hu-1:5.0.6.2-3.el7
  • autocorr-is-1:5.0.6.2-3.el7
  • autocorr-it-1:5.0.6.2-3.el7
  • autocorr-ja-1:5.0.6.2-3.el7
  • autocorr-ko-1:5.0.6.2-3.el7
  • autocorr-lb-1:5.0.6.2-3.el7
  • autocorr-lt-1:5.0.6.2-3.el7
  • autocorr-mn-1:5.0.6.2-3.el7
  • autocorr-nl-1:5.0.6.2-3.el7
  • autocorr-pl-1:5.0.6.2-3.el7
  • autocorr-pt-1:5.0.6.2-3.el7
  • autocorr-ro-1:5.0.6.2-3.el7
  • autocorr-ru-1:5.0.6.2-3.el7
  • autocorr-sk-1:5.0.6.2-3.el7
  • autocorr-sl-1:5.0.6.2-3.el7
  • autocorr-sr-1:5.0.6.2-3.el7
  • autocorr-sv-1:5.0.6.2-3.el7
  • autocorr-tr-1:5.0.6.2-3.el7
  • autocorr-vi-1:5.0.6.2-3.el7
  • autocorr-zh-1:5.0.6.2-3.el7
  • libcmis-0:0.5.1-2.el7
  • libcmis-debuginfo-0:0.5.1-2.el7
  • libcmis-devel-0:0.5.1-2.el7
  • libcmis-tools-0:0.5.1-2.el7
  • libpagemaker-0:0.0.3-1.el7
  • libpagemaker-debuginfo-0:0.0.3-1.el7
  • libpagemaker-devel-0:0.0.3-1.el7
  • libpagemaker-doc-0:0.0.3-1.el7
  • libpagemaker-tools-0:0.0.3-1.el7
  • libreoffice-1:5.0.6.2-3.el7
  • libreoffice-base-1:5.0.6.2-3.el7
  • libreoffice-bsh-1:5.0.6.2-3.el7
  • libreoffice-calc-1:5.0.6.2-3.el7
  • libreoffice-core-1:5.0.6.2-3.el7
  • libreoffice-debuginfo-1:5.0.6.2-3.el7
  • libreoffice-draw-1:5.0.6.2-3.el7
  • libreoffice-emailmerge-1:5.0.6.2-3.el7
  • libreoffice-filters-1:5.0.6.2-3.el7
  • libreoffice-gdb-debug-support-1:5.0.6.2-3.el7
  • libreoffice-glade-1:5.0.6.2-3.el7
  • libreoffice-graphicfilter-1:5.0.6.2-3.el7
  • libreoffice-impress-1:5.0.6.2-3.el7
  • libreoffice-langpack-af-1:5.0.6.2-3.el7
  • libreoffice-langpack-ar-1:5.0.6.2-3.el7
  • libreoffice-langpack-as-1:5.0.6.2-3.el7
  • libreoffice-langpack-bg-1:5.0.6.2-3.el7
  • libreoffice-langpack-bn-1:5.0.6.2-3.el7
  • libreoffice-langpack-br-1:5.0.6.2-3.el7
  • libreoffice-langpack-ca-1:5.0.6.2-3.el7
  • libreoffice-langpack-cs-1:5.0.6.2-3.el7
  • libreoffice-langpack-cy-1:5.0.6.2-3.el7
  • libreoffice-langpack-da-1:5.0.6.2-3.el7
  • libreoffice-langpack-de-1:5.0.6.2-3.el7
  • libreoffice-langpack-dz-1:5.0.6.2-3.el7
  • libreoffice-langpack-el-1:5.0.6.2-3.el7
  • libreoffice-langpack-en-1:5.0.6.2-3.el7
  • libreoffice-langpack-es-1:5.0.6.2-3.el7
  • libreoffice-langpack-et-1:5.0.6.2-3.el7
  • libreoffice-langpack-eu-1:5.0.6.2-3.el7
  • libreoffice-langpack-fa-1:5.0.6.2-3.el7
  • libreoffice-langpack-fi-1:5.0.6.2-3.el7
  • libreoffice-langpack-fr-1:5.0.6.2-3.el7
  • libreoffice-langpack-ga-1:5.0.6.2-3.el7
  • libreoffice-langpack-gl-1:5.0.6.2-3.el7
  • libreoffice-langpack-gu-1:5.0.6.2-3.el7
  • libreoffice-langpack-he-1:5.0.6.2-3.el7
  • libreoffice-langpack-hi-1:5.0.6.2-3.el7
  • libreoffice-langpack-hr-1:5.0.6.2-3.el7
  • libreoffice-langpack-hu-1:5.0.6.2-3.el7
  • libreoffice-langpack-it-1:5.0.6.2-3.el7
  • libreoffice-langpack-ja-1:5.0.6.2-3.el7
  • libreoffice-langpack-kk-1:5.0.6.2-3.el7
  • libreoffice-langpack-kn-1:5.0.6.2-3.el7
  • libreoffice-langpack-ko-1:5.0.6.2-3.el7
  • libreoffice-langpack-lt-1:5.0.6.2-3.el7
  • libreoffice-langpack-lv-1:5.0.6.2-3.el7
  • libreoffice-langpack-mai-1:5.0.6.2-3.el7
  • libreoffice-langpack-ml-1:5.0.6.2-3.el7
  • libreoffice-langpack-mr-1:5.0.6.2-3.el7
  • libreoffice-langpack-nb-1:5.0.6.2-3.el7
  • libreoffice-langpack-nl-1:5.0.6.2-3.el7
  • libreoffice-langpack-nn-1:5.0.6.2-3.el7
  • libreoffice-langpack-nr-1:5.0.6.2-3.el7
  • libreoffice-langpack-nso-1:5.0.6.2-3.el7
  • libreoffice-langpack-or-1:5.0.6.2-3.el7
  • libreoffice-langpack-pa-1:5.0.6.2-3.el7
  • libreoffice-langpack-pl-1:5.0.6.2-3.el7
  • libreoffice-langpack-pt-BR-1:5.0.6.2-3.el7
  • libreoffice-langpack-pt-PT-1:5.0.6.2-3.el7
  • libreoffice-langpack-ro-1:5.0.6.2-3.el7
  • libreoffice-langpack-ru-1:5.0.6.2-3.el7
  • libreoffice-langpack-si-1:5.0.6.2-3.el7
  • libreoffice-langpack-sk-1:5.0.6.2-3.el7
  • libreoffice-langpack-sl-1:5.0.6.2-3.el7
  • libreoffice-langpack-sr-1:5.0.6.2-3.el7
  • libreoffice-langpack-ss-1:5.0.6.2-3.el7
  • libreoffice-langpack-st-1:5.0.6.2-3.el7
  • libreoffice-langpack-sv-1:5.0.6.2-3.el7
  • libreoffice-langpack-ta-1:5.0.6.2-3.el7
  • libreoffice-langpack-te-1:5.0.6.2-3.el7
  • libreoffice-langpack-th-1:5.0.6.2-3.el7
  • libreoffice-langpack-tn-1:5.0.6.2-3.el7
  • libreoffice-langpack-tr-1:5.0.6.2-3.el7
  • libreoffice-langpack-ts-1:5.0.6.2-3.el7
  • libreoffice-langpack-uk-1:5.0.6.2-3.el7
  • libreoffice-langpack-ve-1:5.0.6.2-3.el7
  • libreoffice-langpack-xh-1:5.0.6.2-3.el7
  • libreoffice-langpack-zh-Hans-1:5.0.6.2-3.el7
  • libreoffice-langpack-zh-Hant-1:5.0.6.2-3.el7
  • libreoffice-langpack-zu-1:5.0.6.2-3.el7
  • libreoffice-librelogo-1:5.0.6.2-3.el7
  • libreoffice-math-1:5.0.6.2-3.el7
  • libreoffice-nlpsolver-1:5.0.6.2-3.el7
  • libreoffice-officebean-1:5.0.6.2-3.el7
  • libreoffice-ogltrans-1:5.0.6.2-3.el7
  • libreoffice-opensymbol-fonts-1:5.0.6.2-3.el7
  • libreoffice-pdfimport-1:5.0.6.2-3.el7
  • libreoffice-postgresql-1:5.0.6.2-3.el7
  • libreoffice-pyuno-1:5.0.6.2-3.el7
  • libreoffice-rhino-1:5.0.6.2-3.el7
  • libreoffice-sdk-1:5.0.6.2-3.el7
  • libreoffice-sdk-doc-1:5.0.6.2-3.el7
  • libreoffice-ure-1:5.0.6.2-3.el7
  • libreoffice-wiki-publisher-1:5.0.6.2-3.el7
  • libreoffice-writer-1:5.0.6.2-3.el7
  • libreoffice-xsltfilter-1:5.0.6.2-3.el7
  • mdds-devel-0:0.12.1-1.el7

References