AlmaLinux 8 : libreoffice (ALSA-2023:0089)

high Nessus Plugin ID 170049

Synopsis

The remote AlmaLinux host is missing one or more security updates.

Description

The remote AlmaLinux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2023:0089 advisory.

- 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)

- 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)

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.almalinux.org/8/ALSA-2023-0089.html

Plugin Details

Severity: High

ID: 170049

File Name: alma_linux_ALSA-2023-0089.nasl

Version: 1.0

Type: local

Published: 1/14/2023

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/12/2023

Vulnerability Publication Date: 7/25/2022

Reference Information

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

CWE: 20, 88