Rocky Linux 9 : libreoffice (RLSA-2023:0304)

high Nessus Plugin ID 184528

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2023:0304 advisory.

- An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a serial number and an issuer string identical to a trusted certificate which LibreOffice would present as belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1. (CVE-2022-26305)

- LibreOffice supports the storage of passwords for web connections in the user's configuration database.
The stored passwords are encrypted with a single master key provided by the user. A flaw in LibreOffice existed where the required initialization vector for encryption was always the same which weakens the security of the encryption making them vulnerable if an attacker has access to the user's configuration data. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1. (CVE-2022-26306)

- LibreOffice supports the storage of passwords for web connections in the user's configuration database.
The stored passwords are encrypted with a single master key provided by the user. A flaw in LibreOffice existed where master key was poorly encoded resulting in weakening its entropy from 128 to 43 bits making the stored passwords vulerable to a brute force attack if an attacker has access to the users stored config. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.3. (CVE-2022-26307)

- LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6. (CVE-2022-3140)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2023:0304

https://bugzilla.redhat.com/show_bug.cgi?id=2118610

https://bugzilla.redhat.com/show_bug.cgi?id=2118611

https://bugzilla.redhat.com/show_bug.cgi?id=2118613

https://bugzilla.redhat.com/show_bug.cgi?id=2134697

Plugin Details

Severity: High

ID: 184528

File Name: rocky_linux_RLSA-2023-0304.nasl

Version: 1.0

Type: local

Published: 11/6/2023

Updated: 11/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-26307

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:rocky:linux:autocorr-af, p-cpe:/a:rocky:linux:autocorr-bg, p-cpe:/a:rocky:linux:autocorr-ca, p-cpe:/a:rocky:linux:autocorr-cs, p-cpe:/a:rocky:linux:autocorr-da, p-cpe:/a:rocky:linux:autocorr-de, p-cpe:/a:rocky:linux:autocorr-dsb, p-cpe:/a:rocky:linux:autocorr-el, p-cpe:/a:rocky:linux:autocorr-en, p-cpe:/a:rocky:linux:autocorr-es, p-cpe:/a:rocky:linux:autocorr-fa, p-cpe:/a:rocky:linux:autocorr-fi, p-cpe:/a:rocky:linux:autocorr-fr, p-cpe:/a:rocky:linux:autocorr-ga, p-cpe:/a:rocky:linux:autocorr-hr, p-cpe:/a:rocky:linux:autocorr-hsb, p-cpe:/a:rocky:linux:autocorr-hu, p-cpe:/a:rocky:linux:autocorr-is, p-cpe:/a:rocky:linux:autocorr-it, p-cpe:/a:rocky:linux:autocorr-ja, p-cpe:/a:rocky:linux:autocorr-ko, p-cpe:/a:rocky:linux:autocorr-lb, p-cpe:/a:rocky:linux:autocorr-lt, p-cpe:/a:rocky:linux:autocorr-mn, p-cpe:/a:rocky:linux:autocorr-nl, p-cpe:/a:rocky:linux:autocorr-pl, p-cpe:/a:rocky:linux:autocorr-pt, p-cpe:/a:rocky:linux:autocorr-ro, p-cpe:/a:rocky:linux:autocorr-ru, p-cpe:/a:rocky:linux:autocorr-sk, p-cpe:/a:rocky:linux:autocorr-sl, p-cpe:/a:rocky:linux:autocorr-sr, p-cpe:/a:rocky:linux:autocorr-sv, p-cpe:/a:rocky:linux:autocorr-tr, p-cpe:/a:rocky:linux:autocorr-vi, p-cpe:/a:rocky:linux:autocorr-vro, p-cpe:/a:rocky:linux:autocorr-zh, p-cpe:/a:rocky:linux:libreoffice-base, p-cpe:/a:rocky:linux:libreoffice-base-debuginfo, p-cpe:/a:rocky:linux:libreoffice-calc, p-cpe:/a:rocky:linux:libreoffice-calc-debuginfo, p-cpe:/a:rocky:linux:libreoffice-core, p-cpe:/a:rocky:linux:libreoffice-core-debuginfo, p-cpe:/a:rocky:linux:libreoffice-data, p-cpe:/a:rocky:linux:libreoffice-draw, p-cpe:/a:rocky:linux:libreoffice-emailmerge, p-cpe:/a:rocky:linux:libreoffice-filters, p-cpe:/a:rocky:linux:libreoffice-gdb-debug-support, p-cpe:/a:rocky:linux:libreoffice-graphicfilter, p-cpe:/a:rocky:linux:libreoffice-graphicfilter-debuginfo, p-cpe:/a:rocky:linux:libreoffice-gtk3, p-cpe:/a:rocky:linux:libreoffice-gtk3-debuginfo, p-cpe:/a:rocky:linux:libreoffice-langpack-tr, p-cpe:/a:rocky:linux:libreoffice-langpack-ts, p-cpe:/a:rocky:linux:libreoffice-help-ar, p-cpe:/a:rocky:linux:libreoffice-help-bg, p-cpe:/a:rocky:linux:libreoffice-help-bn, p-cpe:/a:rocky:linux:libreoffice-help-ca, p-cpe:/a:rocky:linux:libreoffice-help-cs, p-cpe:/a:rocky:linux:libreoffice-help-da, p-cpe:/a:rocky:linux:libreoffice-help-de, p-cpe:/a:rocky:linux:libreoffice-help-dz, p-cpe:/a:rocky:linux:libreoffice-help-el, p-cpe:/a:rocky:linux:libreoffice-help-en, p-cpe:/a:rocky:linux:libreoffice-help-eo, p-cpe:/a:rocky:linux:libreoffice-help-es, p-cpe:/a:rocky:linux:libreoffice-help-et, p-cpe:/a:rocky:linux:libreoffice-help-eu, p-cpe:/a:rocky:linux:libreoffice-help-fi, p-cpe:/a:rocky:linux:libreoffice-help-fr, p-cpe:/a:rocky:linux:libreoffice-help-gl, p-cpe:/a:rocky:linux:libreoffice-help-gu, p-cpe:/a:rocky:linux:libreoffice-help-he, p-cpe:/a:rocky:linux:libreoffice-help-hi, p-cpe:/a:rocky:linux:libreoffice-help-hr, p-cpe:/a:rocky:linux:libreoffice-help-hu, p-cpe:/a:rocky:linux:libreoffice-help-id, p-cpe:/a:rocky:linux:libreoffice-help-it, p-cpe:/a:rocky:linux:libreoffice-help-ja, p-cpe:/a:rocky:linux:libreoffice-help-ko, p-cpe:/a:rocky:linux:libreoffice-help-lt, p-cpe:/a:rocky:linux:libreoffice-help-lv, p-cpe:/a:rocky:linux:libreoffice-help-nb, p-cpe:/a:rocky:linux:libreoffice-help-nl, p-cpe:/a:rocky:linux:libreoffice-help-nn, p-cpe:/a:rocky:linux:libreoffice-help-pl, p-cpe:/a:rocky:linux:libreoffice-help-pt-br, p-cpe:/a:rocky:linux:libreoffice-help-pt-pt, p-cpe:/a:rocky:linux:libreoffice-help-ro, p-cpe:/a:rocky:linux:libreoffice-help-ru, p-cpe:/a:rocky:linux:libreoffice-help-si, p-cpe:/a:rocky:linux:libreoffice-help-sk, p-cpe:/a:rocky:linux:libreoffice-help-sl, p-cpe:/a:rocky:linux:libreoffice-help-sv, p-cpe:/a:rocky:linux:libreoffice-help-ta, p-cpe:/a:rocky:linux:libreoffice-help-tr, p-cpe:/a:rocky:linux:libreoffice-help-uk, p-cpe:/a:rocky:linux:libreoffice-help-zh-hans, p-cpe:/a:rocky:linux:libreoffice-help-zh-hant, p-cpe:/a:rocky:linux:libreoffice-impress, p-cpe:/a:rocky:linux:libreoffice-impress-debuginfo, p-cpe:/a:rocky:linux:libreoffice-langpack-af, p-cpe:/a:rocky:linux:libreoffice-langpack-ar, p-cpe:/a:rocky:linux:libreoffice-langpack-as, p-cpe:/a:rocky:linux:libreoffice-langpack-bg, p-cpe:/a:rocky:linux:libreoffice-langpack-bn, p-cpe:/a:rocky:linux:libreoffice-langpack-br, p-cpe:/a:rocky:linux:libreoffice-langpack-ca, p-cpe:/a:rocky:linux:libreoffice-langpack-cs, p-cpe:/a:rocky:linux:libreoffice-langpack-cy, p-cpe:/a:rocky:linux:libreoffice-langpack-da, p-cpe:/a:rocky:linux:libreoffice-langpack-de, p-cpe:/a:rocky:linux:libreoffice-langpack-dz, p-cpe:/a:rocky:linux:libreoffice-langpack-el, p-cpe:/a:rocky:linux:libreoffice-langpack-en, p-cpe:/a:rocky:linux:libreoffice-langpack-eo, p-cpe:/a:rocky:linux:libreoffice-langpack-es, p-cpe:/a:rocky:linux:libreoffice-langpack-et, p-cpe:/a:rocky:linux:libreoffice-langpack-eu, p-cpe:/a:rocky:linux:libreoffice-langpack-fa, p-cpe:/a:rocky:linux:libreoffice-langpack-fi, p-cpe:/a:rocky:linux:libreoffice-langpack-fr, p-cpe:/a:rocky:linux:libreoffice-langpack-fy, p-cpe:/a:rocky:linux:libreoffice-langpack-ga, p-cpe:/a:rocky:linux:libreoffice-langpack-gl, p-cpe:/a:rocky:linux:libreoffice-langpack-gu, p-cpe:/a:rocky:linux:libreoffice-langpack-he, p-cpe:/a:rocky:linux:libreoffice-langpack-hi, p-cpe:/a:rocky:linux:libreoffice-langpack-hr, p-cpe:/a:rocky:linux:libreoffice-langpack-hu, p-cpe:/a:rocky:linux:libreoffice-langpack-id, p-cpe:/a:rocky:linux:libreoffice-langpack-it, p-cpe:/a:rocky:linux:libreoffice-langpack-ja, p-cpe:/a:rocky:linux:libreoffice-langpack-kk, p-cpe:/a:rocky:linux:libreoffice-langpack-kn, p-cpe:/a:rocky:linux:libreoffice-langpack-ko, p-cpe:/a:rocky:linux:libreoffice-langpack-lt, p-cpe:/a:rocky:linux:libreoffice-langpack-lv, p-cpe:/a:rocky:linux:libreoffice-langpack-mai, p-cpe:/a:rocky:linux:libreoffice-langpack-ml, p-cpe:/a:rocky:linux:libreoffice-langpack-mr, p-cpe:/a:rocky:linux:libreoffice-langpack-nb, p-cpe:/a:rocky:linux:libreoffice-langpack-nl, p-cpe:/a:rocky:linux:libreoffice-langpack-nn, p-cpe:/a:rocky:linux:libreoffice-langpack-nr, p-cpe:/a:rocky:linux:libreoffice-langpack-nso, p-cpe:/a:rocky:linux:libreoffice-langpack-or, p-cpe:/a:rocky:linux:libreoffice-langpack-pa, p-cpe:/a:rocky:linux:libreoffice-langpack-pl, p-cpe:/a:rocky:linux:libreoffice-langpack-pt-br, p-cpe:/a:rocky:linux:libreoffice-langpack-pt-pt, p-cpe:/a:rocky:linux:libreoffice-langpack-ro, p-cpe:/a:rocky:linux:libreoffice-langpack-ru, p-cpe:/a:rocky:linux:libreoffice-langpack-si, p-cpe:/a:rocky:linux:libreoffice-langpack-uk, p-cpe:/a:rocky:linux:libreoffice-langpack-ve, p-cpe:/a:rocky:linux:libreoffice-langpack-xh, p-cpe:/a:rocky:linux:libreoffice-langpack-zh-hans, p-cpe:/a:rocky:linux:libreoffice-langpack-zh-hant, p-cpe:/a:rocky:linux:libreoffice-langpack-zu, p-cpe:/a:rocky:linux:libreoffice-math, p-cpe:/a:rocky:linux:libreoffice-ogltrans, p-cpe:/a:rocky:linux:libreoffice-ogltrans-debuginfo, p-cpe:/a:rocky:linux:libreoffice-opensymbol-fonts, p-cpe:/a:rocky:linux:libreoffice-pdfimport, p-cpe:/a:rocky:linux:libreoffice-pdfimport-debuginfo, p-cpe:/a:rocky:linux:libreoffice-pyuno, p-cpe:/a:rocky:linux:libreoffice-pyuno-debuginfo, p-cpe:/a:rocky:linux:libreoffice-sdk, p-cpe:/a:rocky:linux:libreoffice-sdk-debuginfo, p-cpe:/a:rocky:linux:libreoffice-sdk-doc, p-cpe:/a:rocky:linux:libreoffice-langpack-sk, p-cpe:/a:rocky:linux:libreoffice-langpack-sl, p-cpe:/a:rocky:linux:libreoffice-langpack-sr, p-cpe:/a:rocky:linux:libreoffice-langpack-ss, p-cpe:/a:rocky:linux:libreoffice-langpack-st, p-cpe:/a:rocky:linux:libreoffice-langpack-sv, p-cpe:/a:rocky:linux:libreoffice-langpack-ta, p-cpe:/a:rocky:linux:libreoffice-langpack-te, p-cpe:/a:rocky:linux:libreoffice-langpack-th, p-cpe:/a:rocky:linux:libreoffice-langpack-tn, p-cpe:/a:rocky:linux:libreoffice-ure, p-cpe:/a:rocky:linux:libreoffice-ure-common, p-cpe:/a:rocky:linux:libreoffice-ure-debuginfo, p-cpe:/a:rocky:linux:libreoffice-wiki-publisher, p-cpe:/a:rocky:linux:libreoffice-writer, p-cpe:/a:rocky:linux:libreoffice-writer-debuginfo, p-cpe:/a:rocky:linux:libreoffice-x11, p-cpe:/a:rocky:linux:libreoffice-x11-debuginfo, p-cpe:/a:rocky:linux:libreoffice-xsltfilter, p-cpe:/a:rocky:linux:libreofficekit, p-cpe:/a:rocky:linux:libreofficekit-debuginfo, cpe:/o:rocky:linux:9

Required KB Items: Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 1/23/2023

Vulnerability Publication Date: 7/25/2022

Reference Information

CVE: CVE-2022-26305, CVE-2022-26306, CVE-2022-26307, CVE-2022-3140