Vulnerabilities > CVE-2018-6871
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
NONE Availability impact
NONE Summary
LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a document, which use the COM.MICROSOFT.WEBSERVICE function.
Vulnerable Configurations
Exploit-Db
description | LibreOffice < 6.0.1 - '=WEBSERVICE' Remote Arbitrary File Disclosure. CVE-2018-6871. Remote exploit for Linux platform |
file | exploits/linux/remote/44022.md |
id | EDB-ID:44022 |
last seen | 2018-02-12 |
modified | 2018-02-10 |
platform | linux |
port | |
published | 2018-02-10 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/44022/ |
title | LibreOffice < 6.0.1 - '=WEBSERVICE' Remote Arbitrary File Disclosure |
type | remote |
Nessus
NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-1076-1.NASL description LibreOffice was updated to version 6.0.3. Following new features were added : - The Notebookbar, although still an experimental feature, has been enriched with two new variants: Grouped Bar Full for Writer, Calc and Impress, and Tabbed Compact for Writer. The Special Characters dialog has been reworked, with the addition of lists for Recent and Favorite characters, along with a Search field. The Customize dialog has also been redesigned, and is now more modern and intuitive. - In Writer, a Form menu has been added, making it easier to access one of the most powerful – and often unknown – LibreOffice features: the ability to design forms, and create standards-compliant PDF forms. The Find toolbar has been enhanced with a drop-down list of search types, to speed up navigation. A new default table style has been added, together with a new collection of table styles to reflect evolving visual trends. - The Mail Merge function has been improved, and it is now possible to use either a Writer document or an XLSX file as data source. - In Calc, ODF 1.2-compliant functions SEARCHB, FINDB and REPLACEB have been added, to improve support for the ISO standard format. Also, a cell range selection or a selected group of shapes (images) can be now exported in PNG or JPG format. - In Impress, the default slide size has been switched to 16:9, to support the most recent form factors of screens and projectors. As a consequence, 10 new Impress templates have been added, and a couple of old templates have been updated. Changes in components : - The old WikiHelp has been replaced by the new Help Online system, with attractive web pages that can also be displayed on mobile devices. In general, LibreOffice Help has been updated both in terms of contents and code, with other improvements due all along the life of the LibreOffice 6 family. - User dictionaries now allow automatic affixation or compounding. This is a general spell checking improvement in LibreOffice which can speed up work for Writer users. Instead of manually handling several forms of a new word in a language with rich morphology or compounding, the Hunspell spell checker can automatically recognize a new word with affixes or compounds, based on a “Grammar By” model. Security features and changes : - OpenPGP keys can be used to sign ODF documents on all desktop operating systems, with experimental support for OpenPGP-based encryption. To enable this feature, users will have to install the specific GPG software for their operating systems. - Document classification has also been improved, and allows multiple policies (which are now exported to OOXML files). In Writer, marking and signing are now supported at paragraph level. Interoperability changes : - OOXML interoperability has been improved in several areas: import of SmartArt and import/export of ActiveX controls, support of embedded text documents and spreadsheets, export of embedded videos to PPTX, export of cross-references to DOCX, export of MailMerge fields to DOCX, and improvements to the PPTX filter to prevent the creation of broken files. - New filters for exporting Writer documents to ePub and importing QuarkXPress files have also been added, together with an improved filter for importing EMF+ (Enhanced Metafile Format Plus) files as used by Microsoft Office documents. Some improvements have also been added to the ODF export filter, making it easier for other ODF readers to display visuals. The full blog entry for the 6.0 release can be found here: 	https://blog.documentfoundation.org/blog/2018/01/31/ libreoffice-6/ The full release notes can be found here: 	https://wiki.documentfoundation.org/ReleaseNotes/6.0 The libraries that LibreOffice depends on also have been udpated to their current versions. 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 seen 2020-06-01 modified 2020-06-02 plugin id 109357 published 2018-04-26 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/109357 title SUSE SLED12 / SLES12 Security Update : Recommended update for LibreOffice (SUSE-SU-2018:1076-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2018:1076-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(109357); script_version("1.5"); script_cvs_date("Date: 2019/09/10 13:51:47"); script_cve_id("CVE-2017-9432", "CVE-2017-9433", "CVE-2018-1055", "CVE-2018-6871"); script_name(english:"SUSE SLED12 / SLES12 Security Update : Recommended update for LibreOffice (SUSE-SU-2018:1076-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 6.0.3. Following new features were added : - The Notebookbar, although still an experimental feature, has been enriched with two new variants: Grouped Bar Full for Writer, Calc and Impress, and Tabbed Compact for Writer. The Special Characters dialog has been reworked, with the addition of lists for Recent and Favorite characters, along with a Search field. The Customize dialog has also been redesigned, and is now more modern and intuitive. - In Writer, a Form menu has been added, making it easier to access one of the most powerful – and often unknown – LibreOffice features: the ability to design forms, and create standards-compliant PDF forms. The Find toolbar has been enhanced with a drop-down list of search types, to speed up navigation. A new default table style has been added, together with a new collection of table styles to reflect evolving visual trends. - The Mail Merge function has been improved, and it is now possible to use either a Writer document or an XLSX file as data source. - In Calc, ODF 1.2-compliant functions SEARCHB, FINDB and REPLACEB have been added, to improve support for the ISO standard format. Also, a cell range selection or a selected group of shapes (images) can be now exported in PNG or JPG format. - In Impress, the default slide size has been switched to 16:9, to support the most recent form factors of screens and projectors. As a consequence, 10 new Impress templates have been added, and a couple of old templates have been updated. Changes in components : - The old WikiHelp has been replaced by the new Help Online system, with attractive web pages that can also be displayed on mobile devices. In general, LibreOffice Help has been updated both in terms of contents and code, with other improvements due all along the life of the LibreOffice 6 family. - User dictionaries now allow automatic affixation or compounding. This is a general spell checking improvement in LibreOffice which can speed up work for Writer users. Instead of manually handling several forms of a new word in a language with rich morphology or compounding, the Hunspell spell checker can automatically recognize a new word with affixes or compounds, based on a “Grammar By” model. Security features and changes : - OpenPGP keys can be used to sign ODF documents on all desktop operating systems, with experimental support for OpenPGP-based encryption. To enable this feature, users will have to install the specific GPG software for their operating systems. - Document classification has also been improved, and allows multiple policies (which are now exported to OOXML files). In Writer, marking and signing are now supported at paragraph level. Interoperability changes : - OOXML interoperability has been improved in several areas: import of SmartArt and import/export of ActiveX controls, support of embedded text documents and spreadsheets, export of embedded videos to PPTX, export of cross-references to DOCX, export of MailMerge fields to DOCX, and improvements to the PPTX filter to prevent the creation of broken files. - New filters for exporting Writer documents to ePub and importing QuarkXPress files have also been added, together with an improved filter for importing EMF+ (Enhanced Metafile Format Plus) files as used by Microsoft Office documents. Some improvements have also been added to the ODF export filter, making it easier for other ODF readers to display visuals. The full blog entry for the 6.0 release can be found here: 	https://blog.documentfoundation.org/blog/2018/01/31/ libreoffice-6/ The full release notes can be found here: 	https://wiki.documentfoundation.org/ReleaseNotes/6.0 The libraries that LibreOffice depends on also have been udpated to their current versions. 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://blog.documentfoundation.org/blog/2018/01/31/libreoffice-6/" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1042829" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1077375" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1080249" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1083213" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1083993" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1088662" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1089124" ); script_set_attribute( attribute:"see_also", value:"https://wiki.documentfoundation.org/ReleaseNotes/6.0" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2017-9432/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2017-9433/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-1055/" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-6871/" ); # https://www.suse.com/support/update/announcement/2018/suse-su-20181076-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?94e071c5" ); script_set_attribute( attribute:"solution", value: "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'. Alternatively you can run the command listed for your product : SUSE Linux Enterprise Workstation Extension 12-SP3:zypper in -t patch SUSE-SLE-WE-12-SP3-2018-735=1 SUSE Linux Enterprise Software Development Kit 12-SP3:zypper in -t patch SUSE-SLE-SDK-12-SP3-2018-735=1 SUSE Linux Enterprise Server 12-SP3:zypper in -t patch SUSE-SLE-SERVER-12-SP3-2018-735=1 SUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2018-735=1 SUSE CaaS Platform ALL : To install this update, use the SUSE CaaS Platform Velum dashboard. It will inform you if it detects new updates and let you then trigger updating of the complete cluster in a controlled way." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:gnome-documents"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:gnome-documents-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:gnome-documents_books-common"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:gnome-documents_books-common-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:gnome-shell-search-provider-documents"); 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_locale1_54_0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_locale1_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_random1_54_0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libboost_random1_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:libepubgen-0_1"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libepubgen-0_1-1-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libepubgen-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libixion-0_13"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libixion-0_13-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:libmwaw-0_3"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libmwaw-0_3-3-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libmwaw-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:liborcus-0_13"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:liborcus-0_13-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:libqxp-0_0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libqxp-0_0-0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libqxp-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-gtk2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libreoffice-gtk2-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:libstaroffice-0_0"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libstaroffice-0_0-0-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:libstaroffice-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:"cpe:/o:novell:suse_linux:12"); script_set_attribute(attribute:"vuln_publication_date", value:"2017/06/05"); script_set_attribute(attribute:"patch_publication_date", value:"2018/04/25"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/04/26"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE"); os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE"); os_ver = os_ver[1]; if (! preg(pattern:"^(SLED12|SLES12)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED12 / SLES12", "SUSE " + os_ver); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu); sp = get_kb_item("Host/SuSE/patchlevel"); if (isnull(sp)) sp = "0"; if (os_ver == "SLES12" && (! preg(pattern:"^(3)$", string:sp))) audit(AUDIT_OS_NOT, "SLES12 SP3", os_ver + " SP" + sp); if (os_ver == "SLED12" && (! preg(pattern:"^(3)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP3", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_atomic1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_date_time1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_iostreams1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_program_options1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_random1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_regex1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_signals1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_system1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_thread1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_atomic1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_date_time1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_iostreams1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_program_options1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_random1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_regex1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_signals1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_system1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLES12", sp:"3", reference:"libboost_thread1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"gnome-documents-3.20.1-10.6.3")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"gnome-documents-debugsource-3.20.1-10.6.3")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"gnome-documents_books-common-3.20.1-10.6.3")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"gnome-documents_books-common-debuginfo-3.20.1-10.6.3")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"gnome-shell-search-provider-documents-3.20.1-10.6.3")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_atomic1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_atomic1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_date_time1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_date_time1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_filesystem1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_filesystem1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_iostreams1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_iostreams1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_locale1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_locale1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_program_options1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_program_options1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_random1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_random1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_regex1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_regex1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_signals1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_signals1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_system1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_system1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_thread1_54_0-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libboost_thread1_54_0-debuginfo-1.54.0-26.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libepubgen-0_1-1-0.1.0-6.6.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libepubgen-0_1-1-debuginfo-0.1.0-6.6.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libepubgen-debugsource-0.1.0-6.6.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libixion-0_13-0-0.13.0-13.6.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libixion-0_13-0-debuginfo-0.13.0-13.6.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libixion-debugsource-0.13.0-13.6.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libmwaw-0_3-3-0.3.13-7.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libmwaw-0_3-3-debuginfo-0.3.13-7.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libmwaw-debugsource-0.3.13-7.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"liborcus-0_13-0-0.13.4-10.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"liborcus-0_13-0-debuginfo-0.13.4-10.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"liborcus-debugsource-0.13.4-10.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libqxp-0_0-0-0.0.1-1.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libqxp-0_0-0-debuginfo-0.0.1-1.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libqxp-debugsource-0.0.1-1.3.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-calc-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-calc-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-calc-extensions-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-debugsource-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-draw-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-draw-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-filters-optional-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-gnome-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-gnome-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-gtk2-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-gtk2-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-impress-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-impress-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-mailmerge-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-math-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-math-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-officebean-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-officebean-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-pyuno-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-pyuno-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-writer-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-writer-debuginfo-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-writer-extensions-6.0.3.2-43.30.2")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libstaroffice-0_0-0-0.0.5-7.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libstaroffice-0_0-0-debuginfo-0.0.5-7.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libstaroffice-debugsource-0.0.5-7.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libwps-0_4-4-0.4.7-10.7.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libwps-0_4-4-debuginfo-0.4.7-10.7.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libwps-debugsource-0.4.7-10.7.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"myspell-dictionaries-20180403-16.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"myspell-lightproof-en-20180403-16.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"myspell-lightproof-hu_HU-20180403-16.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"myspell-lightproof-pt_BR-20180403-16.9.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"myspell-lightproof-ru_RU-20180403-16.9.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, "Recommended update for LibreOffice"); }
NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201802-06.NASL description The remote host is affected by the vulnerability described in GLSA-201802-06 (LibreOffice: Information disclosure) It was discovered that missing restrictions in the implementation of the WEBSERVICE function in LibreOffice could result in the disclosure of arbitrary files. Impact : A remote attacker could entice a user to open a specially crafted document using LibreOffice, possibly resulting in the disclosure of arbitrary files readable by the victim. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 106887 published 2018-02-20 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106887 title GLSA-201802-06 : LibreOffice: Information disclosure code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Gentoo Linux Security Advisory GLSA 201802-06. # # The advisory text is Copyright (C) 2001-2018 Gentoo Foundation, Inc. # and licensed under the Creative Commons - Attribution / Share Alike # license. See http://creativecommons.org/licenses/by-sa/3.0/ # include("compat.inc"); if (description) { script_id(106887); script_version("3.3"); script_cvs_date("Date: 2019/04/05 23:25:06"); script_cve_id("CVE-2018-6871"); script_xref(name:"GLSA", value:"201802-06"); script_name(english:"GLSA-201802-06 : LibreOffice: Information disclosure"); script_summary(english:"Checks for updated package(s) in /var/db/pkg"); script_set_attribute( attribute:"synopsis", value: "The remote Gentoo host is missing one or more security-related patches." ); script_set_attribute( attribute:"description", value: "The remote host is affected by the vulnerability described in GLSA-201802-06 (LibreOffice: Information disclosure) It was discovered that missing restrictions in the implementation of the WEBSERVICE function in LibreOffice could result in the disclosure of arbitrary files. Impact : A remote attacker could entice a user to open a specially crafted document using LibreOffice, possibly resulting in the disclosure of arbitrary files readable by the victim. Workaround : There is no known workaround at this time." ); script_set_attribute( attribute:"see_also", value:"https://security.gentoo.org/glsa/201802-06" ); script_set_attribute( attribute:"solution", value: "All LibreOffice users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=app-office/libreoffice-5.4.5.1' All LibreOffice binary users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=app-office/libreoffice-bin-5.4.5.1'" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:libreoffice"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:libreoffice-bin"); script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/20"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/20"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Gentoo Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("qpkg.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo"); if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (qpkg_check(package:"app-office/libreoffice", unaffected:make_list("ge 5.4.5.1"), vulnerable:make_list("lt 5.4.5.1"))) flag++; if (qpkg_check(package:"app-office/libreoffice-bin", unaffected:make_list("ge 5.4.5.1"), vulnerable:make_list("lt 5.4.5.1"))) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:qpkg_report_get()); else security_warning(0); exit(0); } else { tested = qpkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "LibreOffice"); }
NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2018-0418.NASL description 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 107191 published 2018-03-07 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/107191 title RHEL 7 : libreoffice (RHSA-2018:0418) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2018:0418. The text # itself is copyright (C) Red Hat, Inc. # include("compat.inc"); if (description) { script_id(107191); script_version("1.9"); script_cvs_date("Date: 2019/10/24 15:35:44"); script_cve_id("CVE-2018-6871"); script_xref(name:"RHSA", value:"2018:0418"); script_name(english:"RHEL 7 : libreoffice (RHSA-2018:0418)"); 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section." ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:0418" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2018-6871" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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:libreofficekit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libreofficekit-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.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:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/06"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/07"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-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-2018:0418"; yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa); if (!empty_or_null(yum_report)) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-bg-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-ca-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-cs-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-da-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-de-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-en-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-es-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-fa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-fi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-fr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-ga-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-hr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-hu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-is-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-it-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-ja-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-ko-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-lb-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-lt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-mn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-nl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-pl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-pt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-ro-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-ru-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-sk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-sl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-sr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-sv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-tr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-vi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"autocorr-zh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libreoffice-debuginfo-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-debuginfo-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", reference:"libreoffice-opensymbol-fonts-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libreofficekit-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreofficekit-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"i686", reference:"libreofficekit-devel-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"RHEL7", cpu:"x86_64", reference:"libreofficekit-devel-5.0.6.2-15.el7_4")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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 family Ubuntu Local Security Checks NASL id UBUNTU_USN-3579-1.NASL description It was discovered that =WEBSERVICE calls in a document could be used to read arbitrary files. If a user were tricked in to opening a specially crafted document, a remote attacker could exploit this to obtain sensitive information. (CVE-2018-6871). 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 seen 2020-06-01 modified 2020-06-02 plugin id 106945 published 2018-02-22 reporter Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106945 title Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : libreoffice vulnerability (USN-3579-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Ubuntu Security Notice USN-3579-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(106945); script_version("3.8"); script_cvs_date("Date: 2019/09/18 12:31:48"); script_cve_id("CVE-2018-6871"); script_xref(name:"USN", value:"3579-1"); script_name(english:"Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : libreoffice vulnerability (USN-3579-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 =WEBSERVICE calls in a document could be used to read arbitrary files. If a user were tricked in to opening a specially crafted document, a remote attacker could exploit this to obtain sensitive information. (CVE-2018-6871). 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/3579-1/" ); script_set_attribute( attribute:"solution", value:"Update the affected libreoffice-core package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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:14.04"); script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:16.04"); script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:17.10"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/21"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/22"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Ubuntu Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("ubuntu.inc"); include("misc_func.inc"); if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/Ubuntu/release"); if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu"); release = chomp(release); if (! preg(pattern:"^(14\.04|16\.04|17\.10)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 14.04 / 16.04 / 17.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:"14.04", pkgname:"libreoffice-core", pkgver:"1:4.2.8-0ubuntu5.3")) flag++; if (ubuntu_check(osver:"16.04", pkgname:"libreoffice-core", pkgver:"1:5.1.6~rc2-0ubuntu1~xenial3")) flag++; if (ubuntu_check(osver:"17.10", pkgname:"libreoffice-core", pkgver:"1:5.4.5-0ubuntu0.17.10.1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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 family Scientific Linux Local Security Checks NASL id SL_20180306_LIBREOFFICE_ON_SL7_X.NASL description Security Fix(es) : - libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) last seen 2020-03-18 modified 2018-03-08 plugin id 107211 published 2018-03-08 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/107211 title Scientific Linux Security Update : libreoffice on SL7.x x86_64 (20180306) code # # (C) Tenable Network Security, Inc. # # The descriptive text is (C) Scientific Linux. # include("compat.inc"); if (description) { script_id(107211); script_version("1.4"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/24"); script_cve_id("CVE-2018-6871"); script_name(english:"Scientific Linux Security Update : libreoffice on SL7.x x86_64 (20180306)"); 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: "Security Fix(es) : - libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871)" ); # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1803&L=scientific-linux-errata&F=&S=&P=752 script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?cf3ca631" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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:libreofficekit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fermilab:scientific_linux:libreofficekit-devel"); script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/06"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/08"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-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-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-bg-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-ca-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-cs-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-da-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-de-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-en-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-es-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-fa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-fi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-fr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-ga-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-hr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-hu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-is-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-it-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-ja-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-ko-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-lb-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-lt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-mn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-nl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-pl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-pt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-ro-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-ru-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-sk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-sl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-sr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-sv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-tr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-vi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"autocorr-zh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-debuginfo-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", reference:"libreoffice-opensymbol-fonts-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreofficekit-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"SL7", cpu:"x86_64", reference:"libreofficekit-devel-5.0.6.2-15.el7_4")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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"); }
NASL family Scientific Linux Local Security Checks NASL id SL_20180313_LIBREOFFICE_ON_SL6_X.NASL description Security Fix(es) : - libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) last seen 2020-03-18 modified 2018-03-15 plugin id 108365 published 2018-03-15 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/108365 title Scientific Linux Security Update : libreoffice on SL6.x i386/x86_64 (20180313) code # # (C) Tenable Network Security, Inc. # # The descriptive text is (C) Scientific Linux. # include("compat.inc"); if (description) { script_id(108365); script_version("1.4"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/24"); script_cve_id("CVE-2018-6871"); script_name(english:"Scientific Linux Security Update : libreoffice on SL6.x i386/x86_64 (20180313)"); 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: "Security Fix(es) : - libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871)" ); # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1803&L=scientific-linux-errata&F=&S=&P=8880 script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?17c35f83" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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-headless"); 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-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-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-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-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-ms"); 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-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-ur"); 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-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:"x-cpe:/o:fermilab:scientific_linux"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/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) 2018-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:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Scientific Linux 6.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:"SL6", reference:"autocorr-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-fa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-is-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-lb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-mn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-pt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-vi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"autocorr-zh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-base-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-bsh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-calc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-core-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-debuginfo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-draw-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-emailmerge-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-filters-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-gdb-debug-support-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-glade-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-graphicfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-headless-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-impress-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ar-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-as-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-bn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-cy-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-dz-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-el-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-et-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-eu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-gl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-gu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-he-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-hi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-kn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-mai-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ml-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-mr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ms-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-nb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-nn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-nr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-nso-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-or-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-pa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-pt-BR-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-pt-PT-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ss-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-st-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ta-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-te-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-th-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-tn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-uk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ur-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-ve-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-xh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-zh-Hans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-zh-Hant-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-langpack-zu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-librelogo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-math-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-nlpsolver-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-officebean-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-ogltrans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-opensymbol-fonts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-pdfimport-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-pyuno-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-rhino-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-sdk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-sdk-doc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-ure-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-wiki-publisher-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-writer-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"SL6", reference:"libreoffice-xsltfilter-4.3.7.2-2.el6_9.2")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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"); }
NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2018-0517.NASL description An update for libreoffice is now available for Red Hat Enterprise Linux 6. 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 108332 published 2018-03-14 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/108332 title RHEL 6 : libreoffice (RHSA-2018:0517) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2018:0517. The text # itself is copyright (C) Red Hat, Inc. # include("compat.inc"); if (description) { script_id(108332); script_version("1.6"); script_cvs_date("Date: 2019/10/24 15:35:44"); script_cve_id("CVE-2018-6871"); script_xref(name:"RHSA", value:"2018:0517"); script_name(english:"RHEL 6 : libreoffice (RHSA-2018:0517)"); 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 6. 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section." ); # https://www.libreoffice.org/about-us/security/advisories/cve-2018-1055/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?c8372621" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2018:0517" ); script_set_attribute( attribute:"see_also", value:"https://access.redhat.com/security/cve/cve-2018-6871" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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-headless"); 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-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-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-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-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-ms"); 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-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-ur"); 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-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:"cpe:/o:redhat:enterprise_linux:6"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/14"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-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:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 6.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-2018:0517"; yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa); if (!empty_or_null(yum_report)) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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:"RHEL6", reference:"autocorr-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-fa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-is-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-lb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-mn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-pt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-vi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"autocorr-zh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-base-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-base-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-base-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-bsh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-bsh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-bsh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-calc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-calc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-calc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-core-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-core-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-core-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"libreoffice-debuginfo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-draw-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-draw-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-draw-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-emailmerge-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-emailmerge-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-emailmerge-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-filters-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-filters-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-filters-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"libreoffice-gdb-debug-support-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-glade-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-glade-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-glade-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-graphicfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-graphicfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-graphicfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-headless-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-headless-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-headless-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-impress-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-impress-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-impress-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ar-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ar-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ar-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-as-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-as-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-as-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-bn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-bn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-bn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-cy-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-cy-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-cy-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-dz-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-dz-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-dz-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-el-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-el-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-el-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-et-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-et-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-et-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-eu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-eu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-eu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-gl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-gl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-gl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-gu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-gu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-gu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-he-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-he-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-he-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-hi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-hi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-hi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-kn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-kn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-kn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-mai-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-mai-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-mai-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ml-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ml-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ml-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-mr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-mr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-mr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ms-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ms-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ms-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-nb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-nb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-nb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-nn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-nn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-nn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-nr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-nr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-nr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-nso-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-nso-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-nso-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-or-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-or-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-or-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-pa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-pa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-pa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-pt-BR-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-pt-BR-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-pt-PT-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-pt-PT-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ss-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ss-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ss-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-st-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-st-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-st-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ta-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ta-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ta-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-te-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-te-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-te-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-th-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-th-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-th-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-tn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-tn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-tn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-uk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-uk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-uk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ur-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ur-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ur-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-ve-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-ve-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-ve-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-xh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-xh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-xh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-zh-Hans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-zh-Hans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-zh-Hant-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-zh-Hant-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-langpack-zu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-langpack-zu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-langpack-zu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-librelogo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-librelogo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-librelogo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-math-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-math-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-math-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-nlpsolver-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-nlpsolver-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-nlpsolver-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-officebean-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-officebean-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-officebean-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-ogltrans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-ogltrans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-ogltrans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", reference:"libreoffice-opensymbol-fonts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-pdfimport-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-pdfimport-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-pdfimport-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-pyuno-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-pyuno-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-pyuno-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-rhino-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-rhino-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-rhino-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-sdk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-sdk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-sdk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-sdk-doc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-sdk-doc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-sdk-doc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-ure-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-ure-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-ure-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-wiki-publisher-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-wiki-publisher-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-wiki-publisher-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-writer-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-writer-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-writer-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libreoffice-xsltfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"libreoffice-xsltfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libreoffice-xsltfilter-4.3.7.2-2.el6_9.2")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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 family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2018-0418.NASL description From Red Hat Security Advisory 2018:0418 : 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 107206 published 2018-03-08 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/107206 title Oracle Linux 7 : libreoffice (ELSA-2018-0418) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2018:0418 and # Oracle Linux Security Advisory ELSA-2018-0418 respectively. # include("compat.inc"); if (description) { script_id(107206); script_version("1.3"); script_cvs_date("Date: 2019/09/27 13:00:38"); script_cve_id("CVE-2018-6871"); script_xref(name:"RHSA", value:"2018:0418"); script_name(english:"Oracle Linux 7 : libreoffice (ELSA-2018-0418)"); 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 2018:0418 : 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section." ); script_set_attribute( attribute:"see_also", value:"https://oss.oracle.com/pipermail/el-errata/2018-March/007555.html" ); script_set_attribute( attribute:"solution", value:"Update the affected libreoffice packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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:libreofficekit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:libreofficekit-devel"); script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:7"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/07"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/08"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-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-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-bg-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ca-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-cs-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-da-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-de-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-en-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-es-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fa-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fi-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-fr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ga-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-hr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-hu-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-is-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-it-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ja-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ko-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-lb-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-lt-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-mn-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-nl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-pl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-pt-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ro-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-ru-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sk-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-sv-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-tr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-vi-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"autocorr-zh-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-opensymbol-fonts-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreofficekit-5.0.6.2-15.0.1.el7_4")) flag++; if (rpm_check(release:"EL7", cpu:"x86_64", reference:"libreofficekit-devel-5.0.6.2-15.0.1.el7_4")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(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 family CentOS Local Security Checks NASL id CENTOS_RHSA-2018-0517.NASL description An update for libreoffice is now available for Red Hat Enterprise Linux 6. 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 108344 published 2018-03-15 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/108344 title CentOS 6 : libreoffice (CESA-2018:0517) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2018:0517 and # CentOS Errata and Security Advisory 2018:0517 respectively. # include("compat.inc"); if (description) { script_id(108344); script_version("1.5"); script_cvs_date("Date: 2019/12/31"); script_cve_id("CVE-2018-6871"); script_xref(name:"RHSA", value:"2018:0517"); script_name(english:"CentOS 6 : libreoffice (CESA-2018:0517)"); 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 6. 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section." ); # https://lists.centos.org/pipermail/centos-announce/2018-March/022802.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?470c7eb3" ); script_set_attribute( attribute:"solution", value:"Update the affected libreoffice packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-6871"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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-headless"); 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-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-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-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-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-ms"); 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-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-ur"); 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-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:"cpe:/o:centos:centos:6"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/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) 2018-2019 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:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "CentOS 6.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-6", reference:"autocorr-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-fa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-is-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-lb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-mn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-pt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-vi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"autocorr-zh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-base-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-bsh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-calc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-core-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-draw-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-emailmerge-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-filters-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-gdb-debug-support-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-glade-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-graphicfilter-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-headless-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-impress-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-af-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ar-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-as-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-bg-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-bn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ca-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-cs-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-cy-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-da-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-de-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-dz-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-el-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-en-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-es-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-et-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-eu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-fi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-fr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ga-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-gl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-gu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-he-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-hi-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-hr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-hu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-it-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ja-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-kn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ko-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-lt-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-mai-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ml-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-mr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ms-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-nb-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-nl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-nn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-nr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-nso-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-or-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-pa-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-pl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-pt-BR-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-pt-PT-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ro-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ru-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-sk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-sl-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-sr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ss-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-st-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-sv-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ta-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-te-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-th-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-tn-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-tr-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-uk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ur-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-ve-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-xh-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-zh-Hans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-zh-Hant-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-langpack-zu-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-librelogo-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-math-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-nlpsolver-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-officebean-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-ogltrans-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-opensymbol-fonts-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-pdfimport-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-pyuno-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-rhino-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-sdk-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-sdk-doc-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-ure-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-wiki-publisher-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-writer-4.3.7.2-2.el6_9.2")) flag++; if (rpm_check(release:"CentOS-6", reference:"libreoffice-xsltfilter-4.3.7.2-2.el6_9.2")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2018-3EB4D8E4C4.NASL description - CVE-2018-1055 Remote arbitrary file disclosure vulnerability via WEBSERVICE formula Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-05 modified 2018-02-15 plugin id 106823 published 2018-02-15 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106823 title Fedora 27 : 1:libreoffice (2018-3eb4d8e4c4) 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 FEDORA-2018-3eb4d8e4c4. # include("compat.inc"); if (description) { script_id(106823); script_version("3.6"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2018-1055", "CVE-2018-6871"); script_xref(name:"FEDORA", value:"2018-3eb4d8e4c4"); script_name(english:"Fedora 27 : 1:libreoffice (2018-3eb4d8e4c4)"); 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-2018-1055 Remote arbitrary file disclosure vulnerability via WEBSERVICE formula Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bodhi.fedoraproject.org/updates/FEDORA-2018-3eb4d8e4c4" ); script_set_attribute( attribute:"solution", value:"Update the affected 1:libreoffice package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:1:libreoffice"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:27"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/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) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); 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 = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! preg(pattern:"^27([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 27", "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:"FC27", reference:"libreoffice-5.4.5.1-1.fc27", epoch:"1")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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, "1:libreoffice"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-0443-1.NASL description This update for libreoffice fixes the following issues: LibreOffice was updated to 5.4.5.1 : - CVE-2018-6871: Fixes data exposure when using WEBSERVICE (bsc#1080249) 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 seen 2020-06-01 modified 2020-06-02 plugin id 106835 published 2018-02-15 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106835 title SUSE SLED12 Security Update : libreoffice (SUSE-SU-2018:0443-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2018:0443-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(106835); script_version("3.7"); script_cvs_date("Date: 2019/09/10 13:51:46"); script_cve_id("CVE-2018-6871"); script_name(english:"SUSE SLED12 Security Update : libreoffice (SUSE-SU-2018:0443-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: "This update for libreoffice fixes the following issues: LibreOffice was updated to 5.4.5.1 : - CVE-2018-6871: Fixes data exposure when using WEBSERVICE (bsc#1080249) 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=1080249" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-6871/" ); # https://www.suse.com/support/update/announcement/2018/suse-su-20180443-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?9066ef3d" ); 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-SP3:zypper in -t patch SUSE-SLE-WE-12-SP3-2018-305=1 SUSE Linux Enterprise Software Development Kit 12-SP3:zypper in -t patch SUSE-SLE-SDK-12-SP3-2018-305=1 SUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch SUSE-SLE-DESKTOP-12-SP3-2018-305=1 To bring your system up-to-date, use 'zypper patch'." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); 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:libreofficekit"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/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) 2018-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:"^(3)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP3", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-calc-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-calc-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-calc-extensions-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-debugsource-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-draw-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-draw-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-filters-optional-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-gnome-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-gnome-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-impress-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-impress-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-mailmerge-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-math-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-math-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-officebean-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-officebean-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-pyuno-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-pyuno-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-writer-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-writer-debuginfo-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreoffice-writer-extensions-5.4.5.1-43.19.1")) flag++; if (rpm_check(release:"SLED12", sp:"3", cpu:"x86_64", reference:"libreofficekit-5.4.5.1-43.19.1")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libreoffice"); }
NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-3579-2.NASL description USN-3579-1 fixed a vulnerability in LibreOffice. After upgrading, it was no longer possible for LibreOffice to open documents from certain locations outside of the user last seen 2020-06-01 modified 2020-06-02 plugin id 107087 published 2018-03-01 reporter Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/107087 title Ubuntu 17.10 : libreoffice regression (USN-3579-2) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Ubuntu Security Notice USN-3579-2. 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(107087); script_version("3.7"); script_cvs_date("Date: 2019/09/18 12:31:48"); script_cve_id("CVE-2018-6871"); script_xref(name:"USN", value:"3579-2"); script_name(english:"Ubuntu 17.10 : libreoffice regression (USN-3579-2)"); 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: "USN-3579-1 fixed a vulnerability in LibreOffice. After upgrading, it was no longer possible for LibreOffice to open documents from certain locations outside of the user's home directory. This update fixes the problem. We apologize for the inconvenience. Original advisory details : It was discovered that =WEBSERVICE calls in a document could be used to read arbitrary files. If a user were tricked in to opening a specially crafted document, a remote attacker could exploit this to obtain sensitive information. (CVE-2018-6871). 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/3579-2/" ); script_set_attribute( attribute:"solution", value:"Update the affected libreoffice-common package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libreoffice-common"); script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:17.10"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/28"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/01"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Ubuntu Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("ubuntu.inc"); include("misc_func.inc"); if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/Ubuntu/release"); if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu"); release = chomp(release); if (! preg(pattern:"^(17\.10)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 17.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:"17.10", pkgname:"libreoffice-common", pkgver:"1:5.4.5-0ubuntu0.17.10.4")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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-common"); }
NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2018-0418.NASL description 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 107274 published 2018-03-12 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/107274 title CentOS 7 : libreoffice (CESA-2018:0418) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Red Hat Security Advisory RHSA-2018:0418 and # CentOS Errata and Security Advisory 2018:0418 respectively. # include("compat.inc"); if (description) { script_id(107274); script_version("1.5"); script_cvs_date("Date: 2019/12/31"); script_cve_id("CVE-2018-6871"); script_xref(name:"RHSA", value:"2018:0418"); script_name(english:"CentOS 7 : libreoffice (CESA-2018:0418)"); 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section." ); # https://lists.centos.org/pipermail/centos-announce/2018-March/022770.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?221625c6" ); script_set_attribute( attribute:"solution", value:"Update the affected libreoffice packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-6871"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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: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:libreofficekit"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:libreofficekit-devel"); script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:7"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/03/09"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/12"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-2019 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-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-bg-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ca-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-cs-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-da-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-de-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-en-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-es-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-fa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-fi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-fr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ga-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-hr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-hu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-is-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-it-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ja-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ko-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-lb-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-lt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-mn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-nl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-pl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-pt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ro-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-ru-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-sv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-tr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-vi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"autocorr-zh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-base-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-bsh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-calc-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-core-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-draw-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-emailmerge-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-filters-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-gdb-debug-support-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-glade-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-graphicfilter-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-impress-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-af-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ar-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-as-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-bg-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-bn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-br-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ca-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-cs-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-cy-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-da-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-de-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-dz-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-el-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-en-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-es-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-et-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-eu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-fa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-fi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-fr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ga-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-gl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-gu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-he-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-hi-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-hr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-hu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-it-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ja-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-kk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-kn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ko-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-lt-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-lv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-mai-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ml-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-mr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nb-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-nso-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-or-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pa-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pt-BR-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-pt-PT-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ro-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ru-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-si-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sl-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ss-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-st-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-sv-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ta-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-te-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-th-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-tn-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-tr-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ts-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-uk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-ve-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-xh-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hans-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-zh-Hant-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-langpack-zu-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-librelogo-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-math-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-nlpsolver-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-officebean-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-ogltrans-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-opensymbol-fonts-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-pdfimport-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-postgresql-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-pyuno-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-rhino-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-sdk-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-sdk-doc-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-ure-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-wiki-publisher-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-writer-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreoffice-xsltfilter-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreofficekit-5.0.6.2-15.el7_4")) flag++; if (rpm_check(release:"CentOS-7", cpu:"x86_64", reference:"libreofficekit-devel-5.0.6.2-15.el7_4")) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-0428-1.NASL description This update for libreoffice fixes the following issues: LibreOffice was updated to 5.4.5.1 : - CVE-2018-6871: Fixes data exposure when using WEBSERVICE (bsc#1080249) 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 seen 2020-06-01 modified 2020-06-02 plugin id 106789 published 2018-02-13 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106789 title SUSE SLED12 Security Update : libreoffice (SUSE-SU-2018:0428-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2018:0428-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(106789); script_version("3.7"); script_cvs_date("Date: 2019/09/10 13:51:46"); script_cve_id("CVE-2018-6871"); script_name(english:"SUSE SLED12 Security Update : libreoffice (SUSE-SU-2018:0428-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: "This update for libreoffice fixes the following issues: LibreOffice was updated to 5.4.5.1 : - CVE-2018-6871: Fixes data exposure when using WEBSERVICE (bsc#1080249) 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=1080249" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-6871/" ); # https://www.suse.com/support/update/announcement/2018/suse-su-20180428-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?0a1d094e" ); 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-SP2:zypper in -t patch SUSE-SLE-WE-12-SP2-2018-295=1 SUSE Linux Enterprise Software Development Kit 12-SP2:zypper in -t patch SUSE-SLE-SDK-12-SP2-2018-295=1 SUSE Linux Enterprise Desktop 12-SP2:zypper in -t patch SUSE-SLE-DESKTOP-12-SP2-2018-295=1 To bring your system up-to-date, use 'zypper patch'." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); 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:libreofficekit"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:12"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/12"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/13"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-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:"^(2)$", string:sp))) audit(AUDIT_OS_NOT, "SLED12 SP2", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-base-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-base-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-base-drivers-mysql-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-base-drivers-postgresql-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-calc-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-calc-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-calc-extensions-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-debugsource-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-draw-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-draw-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-filters-optional-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-gnome-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-gnome-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-impress-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-impress-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-mailmerge-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-math-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-math-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-officebean-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-officebean-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-pyuno-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-pyuno-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-writer-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-writer-debuginfo-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreoffice-writer-extensions-5.4.5.1-40.24.1")) flag++; if (rpm_check(release:"SLED12", sp:"2", cpu:"x86_64", reference:"libreofficekit-5.4.5.1-40.24.1")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libreoffice"); }
NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_289269F10DEF11E899B0D017C2987F9A.NASL description LibreOffice reports : LibreOffice Calc supports a WEBSERVICE function to obtain data by URL. Vulnerable versions of LibreOffice allow WEBSERVICE to take a local file URL (e.g file://) which can be used to inject local files into the spreadsheet without warning the user. Subsequent formulas can operate on that inserted data and construct a remote URL whose path leaks the local data to a remote attacker. In later versions of LibreOffice without this flaw, WEBSERVICE has now been limited to accessing http and https URLs along with bringing WEBSERVICE URLs under LibreOffice Calc last seen 2020-06-01 modified 2020-06-02 plugin id 106993 published 2018-02-26 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106993 title FreeBSD : LibreOffice -- Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (289269f1-0def-11e8-99b0-d017c2987f9a) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from the FreeBSD VuXML database : # # Copyright 2003-2019 Jacques Vidrine and contributors # # Redistribution and use in source (VuXML) and 'compiled' forms (SGML, # HTML, PDF, PostScript, RTF and so forth) with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code (VuXML) must retain the above # copyright notice, this list of conditions and the following # disclaimer as the first lines of this file unmodified. # 2. Redistributions in compiled form (transformed to other DTDs, # published online in any format, converted to PDF, PostScript, # RTF and other formats) must reproduce the above copyright # notice, this list of conditions and the following disclaimer # in the documentation and/or other materials provided with the # distribution. # # THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # include("compat.inc"); if (description) { script_id(106993); script_version("3.6"); script_cvs_date("Date: 2019/07/10 16:04:13"); script_cve_id("CVE-2018-6871"); script_name(english:"FreeBSD : LibreOffice -- Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (289269f1-0def-11e8-99b0-d017c2987f9a)"); script_summary(english:"Checks for updated packages in pkg_info output"); script_set_attribute( attribute:"synopsis", value: "The remote FreeBSD host is missing one or more security-related updates." ); script_set_attribute( attribute:"description", value: "LibreOffice reports : LibreOffice Calc supports a WEBSERVICE function to obtain data by URL. Vulnerable versions of LibreOffice allow WEBSERVICE to take a local file URL (e.g file://) which can be used to inject local files into the spreadsheet without warning the user. Subsequent formulas can operate on that inserted data and construct a remote URL whose path leaks the local data to a remote attacker. In later versions of LibreOffice without this flaw, WEBSERVICE has now been limited to accessing http and https URLs along with bringing WEBSERVICE URLs under LibreOffice Calc's link management infrastructure. Note: This vulnerability has been identified upstream as CVE-2018-1055, but NVD/Mitre are advising it's a reservation duplicate of CVE-2018-6871 which should be used instead." ); # https://www.libreoffice.org/about-us/security/advisories/cve-2018-1055/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?c8372621" ); # https://github.com/jollheef/libreoffice-remote-arbitrary-file-disclosure script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?5cc78a77" ); script_set_attribute( attribute:"see_also", value:"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225797" ); # https://vuxml.freebsd.org/freebsd/289269f1-0def-11e8-99b0-d017c2987f9a.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?d6ea6a8b" ); script_set_attribute(attribute:"solution", value:"Update the affected packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:libreoffice"); script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/23"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/26"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"FreeBSD Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/FreeBSD/release", "Host/FreeBSD/pkg_info"); exit(0); } include("audit.inc"); include("freebsd_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/FreeBSD/release")) audit(AUDIT_OS_NOT, "FreeBSD"); if (!get_kb_item("Host/FreeBSD/pkg_info")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (pkg_test(save_report:TRUE, pkg:"libreoffice<5.4.5")) flag++; if (pkg_test(save_report:TRUE, pkg:"libreoffice>=6.0.0<6.0.1")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:pkg_report_get()); else security_warning(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-4111.NASL description Mikhail Klementev, Ronnie Goodrich and Andrew Krasichkov discovered that missing restrictions in the implementation of the WEBSERVICE function in LibreOffice could result in the disclosure of arbitrary files readable by the user who opens a malformed document. last seen 2020-06-01 modified 2020-06-02 plugin id 106729 published 2018-02-12 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106729 title Debian DSA-4111-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-4111. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(106729); script_version("3.6"); script_cvs_date("Date: 2019/04/05 23:25:05"); script_cve_id("CVE-2018-6871"); script_xref(name:"DSA", value:"4111"); script_name(english:"Debian DSA-4111-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: "Mikhail Klementev, Ronnie Goodrich and Andrew Krasichkov discovered that missing restrictions in the implementation of the WEBSERVICE function in LibreOffice could result in the disclosure of arbitrary files readable by the user who opens a malformed document." ); script_set_attribute( attribute:"see_also", value:"https://security-tracker.debian.org/tracker/source-package/libreoffice" ); script_set_attribute( attribute:"see_also", value:"https://packages.debian.org/source/stretch/libreoffice" ); script_set_attribute( attribute:"see_also", value:"https://www.debian.org/security/2018/dsa-4111" ); script_set_attribute( attribute:"solution", value: "Upgrade the libreoffice packages. For the stable distribution (stretch), this problem has been fixed in version 1:5.2.7-1+deb9u2." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); 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:9.0"); script_set_attribute(attribute:"patch_publication_date", value:"2018/02/11"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/02/12"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-2019 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:"9.0", prefix:"fonts-opensymbol", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"gir1.2-lokdocview-0.1", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"liblibreofficekitgtk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-avmedia-backend-gstreamer", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-avmedia-backend-vlc", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-base", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-base-core", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-base-drivers", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-calc", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-common", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-core", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-dev", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-dev-common", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-dev-doc", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-draw", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-evolution", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-gnome", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-gtk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-gtk2", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-gtk3", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-ca", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-cs", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-da", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-de", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-dz", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-el", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-en-gb", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-en-us", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-es", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-et", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-eu", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-fi", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-fr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-gl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-hi", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-hu", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-it", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-ja", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-km", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-ko", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-nl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-om", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-pl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-pt", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-pt-br", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-ru", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-sk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-sl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-sv", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-tr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-vi", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-zh-cn", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-help-zh-tw", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-impress", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-java-common", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-kde", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-af", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-am", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ar", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-as", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ast", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-be", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-bg", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-bn", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-br", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-bs", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ca", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-cs", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-cy", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-da", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-de", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-dz", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-el", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-en-gb", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-en-za", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-eo", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-es", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-et", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-eu", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-fa", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-fi", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-fr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ga", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-gd", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-gl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-gu", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-gug", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-he", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-hi", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-hr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-hu", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-id", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-in", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-is", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-it", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ja", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ka", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-kk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-km", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-kmr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ko", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-lt", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-lv", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-mk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ml", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-mn", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-mr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-nb", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ne", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-nl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-nn", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-nr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-nso", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-oc", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-om", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-or", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-pa-in", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-pl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-pt", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-pt-br", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ro", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ru", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-rw", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-si", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-sk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-sl", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-sr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ss", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-st", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-sv", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ta", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-te", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-tg", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-th", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-tn", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-tr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ts", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ug", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-uk", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-uz", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-ve", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-vi", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-xh", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-za", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-zh-cn", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-zh-tw", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-l10n-zu", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-librelogo", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-math", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-mysql-connector", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-nlpsolver", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-officebean", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-ogltrans", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-pdfimport", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-report-builder", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-report-builder-bin", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-script-provider-bsh", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-script-provider-js", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-script-provider-python", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-sdbc-hsqldb", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-sdbc-postgresql", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-style-breeze", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-style-galaxy", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-style-hicontrast", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-style-oxygen", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-style-sifr", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-style-tango", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-subsequentcheckbase", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-systray", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-wiki-publisher", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreoffice-writer", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreofficekit-data", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"libreofficekit-dev", reference:"1:5.2.7-1+deb9u2")) flag++; if (deb_check(release:"9.0", prefix:"python3-uno", reference:"1:5.2.7-1+deb9u2")) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get()); else security_warning(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family NewStart CGSL Local Security Checks NASL id NEWSTART_CGSL_NS-SA-2019-0013_LIBREOFFICE.NASL description The remote NewStart CGSL host, running version MAIN 5.04, has libreoffice packages installed that are affected by a vulnerability: - A flaw was found in libreoffice before 5.4.5 and before 6.0.1. Arbitrary remote file disclosure may be achieved by the use of the WEBSERVICE formula in a specially crafted ODS file. (CVE-2018-6871) Note that Nessus has not tested for this issue but has instead relied only on the application last seen 2020-06-01 modified 2020-06-02 plugin id 127163 published 2019-08-12 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/127163 title NewStart CGSL MAIN 5.04 : libreoffice Vulnerability (NS-SA-2019-0013) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from ZTE advisory NS-SA-2019-0013. The text # itself is copyright (C) ZTE, Inc. include("compat.inc"); if (description) { script_id(127163); script_version("1.2"); script_cvs_date("Date: 2019/09/24 11:01:33"); script_cve_id("CVE-2018-6871"); script_name(english:"NewStart CGSL MAIN 5.04 : libreoffice Vulnerability (NS-SA-2019-0013)"); script_set_attribute(attribute:"synopsis", value: "The remote machine is affected by a vulnerability."); script_set_attribute(attribute:"description", value: "The remote NewStart CGSL host, running version MAIN 5.04, has libreoffice packages installed that are affected by a vulnerability: - A flaw was found in libreoffice before 5.4.5 and before 6.0.1. Arbitrary remote file disclosure may be achieved by the use of the WEBSERVICE formula in a specially crafted ODS file. (CVE-2018-6871) Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number."); script_set_attribute(attribute:"see_also", value:"http://security.gd-linux.com/notice/NS-SA-2019-0013"); script_set_attribute(attribute:"solution", value: "Upgrade the vulnerable CGSL libreoffice packages. Note that updated packages may not be available yet. Please contact ZTE for more information."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-6871"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/02/09"); script_set_attribute(attribute:"patch_publication_date", value:"2019/07/17"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/08/12"); script_set_attribute(attribute:"plugin_type", value:"local"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"NewStart CGSL Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/ZTE-CGSL/release", "Host/ZTE-CGSL/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/ZTE-CGSL/release"); if (isnull(release) || release !~ "^CGSL (MAIN|CORE)") audit(AUDIT_OS_NOT, "NewStart Carrier Grade Server Linux"); if (release !~ "CGSL MAIN 5.04") audit(AUDIT_OS_NOT, 'NewStart CGSL MAIN 5.04'); if (!get_kb_item("Host/ZTE-CGSL/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, "NewStart Carrier Grade Server Linux", cpu); flag = 0; pkgs = { "CGSL MAIN 5.04": [ "autocorr-af-5.0.6.2-15.el7_4", "autocorr-bg-5.0.6.2-15.el7_4", "autocorr-ca-5.0.6.2-15.el7_4", "autocorr-cs-5.0.6.2-15.el7_4", "autocorr-da-5.0.6.2-15.el7_4", "autocorr-de-5.0.6.2-15.el7_4", "autocorr-en-5.0.6.2-15.el7_4", "autocorr-es-5.0.6.2-15.el7_4", "autocorr-fa-5.0.6.2-15.el7_4", "autocorr-fi-5.0.6.2-15.el7_4", "autocorr-fr-5.0.6.2-15.el7_4", "autocorr-ga-5.0.6.2-15.el7_4", "autocorr-hr-5.0.6.2-15.el7_4", "autocorr-hu-5.0.6.2-15.el7_4", "autocorr-is-5.0.6.2-15.el7_4", "autocorr-it-5.0.6.2-15.el7_4", "autocorr-ja-5.0.6.2-15.el7_4", "autocorr-ko-5.0.6.2-15.el7_4", "autocorr-lb-5.0.6.2-15.el7_4", "autocorr-lt-5.0.6.2-15.el7_4", "autocorr-mn-5.0.6.2-15.el7_4", "autocorr-nl-5.0.6.2-15.el7_4", "autocorr-pl-5.0.6.2-15.el7_4", "autocorr-pt-5.0.6.2-15.el7_4", "autocorr-ro-5.0.6.2-15.el7_4", "autocorr-ru-5.0.6.2-15.el7_4", "autocorr-sk-5.0.6.2-15.el7_4", "autocorr-sl-5.0.6.2-15.el7_4", "autocorr-sr-5.0.6.2-15.el7_4", "autocorr-sv-5.0.6.2-15.el7_4", "autocorr-tr-5.0.6.2-15.el7_4", "autocorr-vi-5.0.6.2-15.el7_4", "autocorr-zh-5.0.6.2-15.el7_4", "libreoffice-5.0.6.2-15.el7_4", "libreoffice-base-5.0.6.2-15.el7_4", "libreoffice-bsh-5.0.6.2-15.el7_4", "libreoffice-calc-5.0.6.2-15.el7_4", "libreoffice-core-5.0.6.2-15.el7_4", "libreoffice-debuginfo-5.0.6.2-15.el7_4", "libreoffice-draw-5.0.6.2-15.el7_4", "libreoffice-emailmerge-5.0.6.2-15.el7_4", "libreoffice-filters-5.0.6.2-15.el7_4", "libreoffice-gdb-debug-support-5.0.6.2-15.el7_4", "libreoffice-glade-5.0.6.2-15.el7_4", "libreoffice-graphicfilter-5.0.6.2-15.el7_4", "libreoffice-impress-5.0.6.2-15.el7_4", "libreoffice-langpack-af-5.0.6.2-15.el7_4", "libreoffice-langpack-ar-5.0.6.2-15.el7_4", "libreoffice-langpack-as-5.0.6.2-15.el7_4", "libreoffice-langpack-bg-5.0.6.2-15.el7_4", "libreoffice-langpack-bn-5.0.6.2-15.el7_4", "libreoffice-langpack-br-5.0.6.2-15.el7_4", "libreoffice-langpack-ca-5.0.6.2-15.el7_4", "libreoffice-langpack-cs-5.0.6.2-15.el7_4", "libreoffice-langpack-cy-5.0.6.2-15.el7_4", "libreoffice-langpack-da-5.0.6.2-15.el7_4", "libreoffice-langpack-de-5.0.6.2-15.el7_4", "libreoffice-langpack-dz-5.0.6.2-15.el7_4", "libreoffice-langpack-el-5.0.6.2-15.el7_4", "libreoffice-langpack-en-5.0.6.2-15.el7_4", "libreoffice-langpack-es-5.0.6.2-15.el7_4", "libreoffice-langpack-et-5.0.6.2-15.el7_4", "libreoffice-langpack-eu-5.0.6.2-15.el7_4", "libreoffice-langpack-fa-5.0.6.2-15.el7_4", "libreoffice-langpack-fi-5.0.6.2-15.el7_4", "libreoffice-langpack-fr-5.0.6.2-15.el7_4", "libreoffice-langpack-ga-5.0.6.2-15.el7_4", "libreoffice-langpack-gl-5.0.6.2-15.el7_4", "libreoffice-langpack-gu-5.0.6.2-15.el7_4", "libreoffice-langpack-he-5.0.6.2-15.el7_4", "libreoffice-langpack-hi-5.0.6.2-15.el7_4", "libreoffice-langpack-hr-5.0.6.2-15.el7_4", "libreoffice-langpack-hu-5.0.6.2-15.el7_4", "libreoffice-langpack-it-5.0.6.2-15.el7_4", "libreoffice-langpack-ja-5.0.6.2-15.el7_4", "libreoffice-langpack-kk-5.0.6.2-15.el7_4", "libreoffice-langpack-kn-5.0.6.2-15.el7_4", "libreoffice-langpack-ko-5.0.6.2-15.el7_4", "libreoffice-langpack-lt-5.0.6.2-15.el7_4", "libreoffice-langpack-lv-5.0.6.2-15.el7_4", "libreoffice-langpack-mai-5.0.6.2-15.el7_4", "libreoffice-langpack-ml-5.0.6.2-15.el7_4", "libreoffice-langpack-mr-5.0.6.2-15.el7_4", "libreoffice-langpack-nb-5.0.6.2-15.el7_4", "libreoffice-langpack-nl-5.0.6.2-15.el7_4", "libreoffice-langpack-nn-5.0.6.2-15.el7_4", "libreoffice-langpack-nr-5.0.6.2-15.el7_4", "libreoffice-langpack-nso-5.0.6.2-15.el7_4", "libreoffice-langpack-or-5.0.6.2-15.el7_4", "libreoffice-langpack-pa-5.0.6.2-15.el7_4", "libreoffice-langpack-pl-5.0.6.2-15.el7_4", "libreoffice-langpack-pt-BR-5.0.6.2-15.el7_4", "libreoffice-langpack-pt-PT-5.0.6.2-15.el7_4", "libreoffice-langpack-ro-5.0.6.2-15.el7_4", "libreoffice-langpack-ru-5.0.6.2-15.el7_4", "libreoffice-langpack-si-5.0.6.2-15.el7_4", "libreoffice-langpack-sk-5.0.6.2-15.el7_4", "libreoffice-langpack-sl-5.0.6.2-15.el7_4", "libreoffice-langpack-sr-5.0.6.2-15.el7_4", "libreoffice-langpack-ss-5.0.6.2-15.el7_4", "libreoffice-langpack-st-5.0.6.2-15.el7_4", "libreoffice-langpack-sv-5.0.6.2-15.el7_4", "libreoffice-langpack-ta-5.0.6.2-15.el7_4", "libreoffice-langpack-te-5.0.6.2-15.el7_4", "libreoffice-langpack-th-5.0.6.2-15.el7_4", "libreoffice-langpack-tn-5.0.6.2-15.el7_4", "libreoffice-langpack-tr-5.0.6.2-15.el7_4", "libreoffice-langpack-ts-5.0.6.2-15.el7_4", "libreoffice-langpack-uk-5.0.6.2-15.el7_4", "libreoffice-langpack-ve-5.0.6.2-15.el7_4", "libreoffice-langpack-xh-5.0.6.2-15.el7_4", "libreoffice-langpack-zh-Hans-5.0.6.2-15.el7_4", "libreoffice-langpack-zh-Hant-5.0.6.2-15.el7_4", "libreoffice-langpack-zu-5.0.6.2-15.el7_4", "libreoffice-librelogo-5.0.6.2-15.el7_4", "libreoffice-math-5.0.6.2-15.el7_4", "libreoffice-nlpsolver-5.0.6.2-15.el7_4", "libreoffice-officebean-5.0.6.2-15.el7_4", "libreoffice-ogltrans-5.0.6.2-15.el7_4", "libreoffice-opensymbol-fonts-5.0.6.2-15.el7_4", "libreoffice-pdfimport-5.0.6.2-15.el7_4", "libreoffice-postgresql-5.0.6.2-15.el7_4", "libreoffice-pyuno-5.0.6.2-15.el7_4", "libreoffice-rhino-5.0.6.2-15.el7_4", "libreoffice-sdk-5.0.6.2-15.el7_4", "libreoffice-sdk-doc-5.0.6.2-15.el7_4", "libreoffice-ure-5.0.6.2-15.el7_4", "libreoffice-wiki-publisher-5.0.6.2-15.el7_4", "libreoffice-writer-5.0.6.2-15.el7_4", "libreoffice-xsltfilter-5.0.6.2-15.el7_4", "libreofficekit-5.0.6.2-15.el7_4", "libreofficekit-devel-5.0.6.2-15.el7_4" ] }; pkg_list = pkgs[release]; foreach (pkg in pkg_list) if (rpm_check(release:"ZTE " + release, reference:pkg)) flag++; if (flag) { security_report_v4( port : 0, severity : SECURITY_WARNING, 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, "libreoffice"); }
NASL family Windows NASL id LIBREOFFICE_601.NASL description The version of LibreOffice installed on the remote Windows host is either 5.x prior to 5.4.5 or 6.x prior to 6.0.1. It is, therefore, affected by the following vulnerabilities: - An arbitrary file read vulnerability exists in the COM.MICROSOFT.WEBSERVICE function due to improper validation of a URL input. An unauthenticated, remote attacker can exploit this, via a specially crafted file, to read arbitrary files and disclose sensitive information. (CVE-2018-6871) - A use after free vulnerability exists in the StgSmallStrm class due to the use of a short data type. An unauthenticated, remote attacker can exploit this, via a specially crafted file that uses the structured storage ole2 wrapper, to execute arbitrary code. (CVE-2018-10119) Note that Nessus has not tested for these issues but has instead relied only on the application last seen 2020-06-01 modified 2020-06-02 plugin id 122588 published 2019-03-04 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/122588 title LibreOffice < 5.4.5 or 6.x < 6.0.1 Multiple Vulnerabilities NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2018-0517.NASL description From Red Hat Security Advisory 2018:0517 : An update for libreoffice is now available for Red Hat Enterprise Linux 6. 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. Security Fix(es) : * libreoffice: Remote arbitrary file disclosure vulnerability via WEBSERVICE formula (CVE-2018-6871) For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. last seen 2020-06-01 modified 2020-06-02 plugin id 108359 published 2018-03-15 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/108359 title Oracle Linux 6 : libreoffice (ELSA-2018-0517) NASL family MacOS X Local Security Checks NASL id MACOS_LIBREOFFICE_601.NASL description The version of LibreOffice installed on the remote macOS host is either 5.x prior to 5.4.5 or 6.x prior to 6.0.1. It is, therefore, affected by the following vulnerabilities: - An arbitrary file read vulnerability exists in the COM.MICROSOFT.WEBSERVICE function due to improper validation of a URL input. An unauthenticated, remote attacker can exploit this, via a specially crafted file, to read arbitrary files and disclose sensitive information. (CVE-2018-6871) - A use after free vulnerability exists in the StgSmallStrm class due to the use of a short data type. An unauthenticated, remote attacker can exploit this, via a specially crafted file that uses the structured storage ole2 wrapper, to execute arbitrary code. (CVE-2018-10119) Note that Nessus has not tested for these issues but has instead relied only on the application last seen 2020-06-01 modified 2020-06-02 plugin id 122587 published 2019-03-04 reporter This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/122587 title LibreOffice < 5.4.5 or 6.x < 6.0.1 Multiple Vulnerabilities (macOS) NASL family SuSE Local Security Checks NASL id OPENSUSE-2018-162.NASL description This update for libreoffice fixes the following issues : LibreOffice was updated to 5.4.5.1 : - CVE-2018-6871: Fixes data exposure when using WEBSERVICE (bsc#1080249) This update was imported from the SUSE:SLE-12-SP3:Update update project. last seen 2020-06-05 modified 2018-02-15 plugin id 106833 published 2018-02-15 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/106833 title openSUSE Security Update : libreoffice (openSUSE-2018-162) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-3579-3.NASL description USN-3579-1 fixed a vulnerability in LibreOffice. After upgrading, it was no longer possible for LibreOffice to open documents from certain locations outside of the user last seen 2020-06-01 modified 2020-06-02 plugin id 107215 published 2018-03-08 reporter Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/107215 title Ubuntu 17.10 : libreoffice regression (USN-3579-3)
Packetstorm
data source | https://packetstormsecurity.com/files/download/146319/libreoffice-disclose.txt |
id | PACKETSTORM:146319 |
last seen | 2018-02-15 |
published | 2018-02-08 |
reporter | Mikhail Klementev |
source | https://packetstormsecurity.com/files/146319/LibreOffice-Arbitrary-File-Disclosure.html |
title | LibreOffice Arbitrary File Disclosure |
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
References
- https://access.redhat.com/errata/RHSA-2018:0418
- https://access.redhat.com/errata/RHSA-2018:0517
- https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-5-4-5&id=a916fc0c0e0e8b10cb4158fa0fa173fe205d434a
- https://github.com/jollheef/libreoffice-remote-arbitrary-file-disclosure
- https://usn.ubuntu.com/3579-1/
- https://www.debian.org/security/2018/dsa-4111
- https://www.exploit-db.com/exploits/44022/
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-1055/