Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS : LibreOffice vulnerabilities (USN-5694-1)

high Nessus Plugin ID 166339

Synopsis

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

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-5694-1 advisory.

It was discovered that LibreOffice incorrectly handled links using the Office URI Schemes. If a user were tricked into opening a specially crafted document, a remote attacker could use this issue to execute arbitrary scripts. (CVE-2022-3140)

Thomas Florian discovered that LibreOffice incorrectly handled crashes when an encrypted document is open.
If the document is recovered upon restarting LibreOffice, subsequent saves of the document were unencrypted. This issue only affected Ubuntu 18.04 LTS. (CVE-2020-12801)

Jens Mller discovered that LibreOffice incorrectly handled certain documents containing forms. If a user were tricked into opening a specially crafted document, a remote attacker could overwrite arbitrary files when the form was submitted. This issue only affected Ubuntu 18.04 LTS. (CVE-2020-12803)

It was discovered that LibreOffice incorrectly validated macro signatures. If a user were tricked into opening a specially crafted document, a remote attacker could possibly use this issue to execute arbitrary macros. This issue only affected Ubuntu 18.04 LTS. (CVE-2022-26305)

It was discovered that Libreoffice incorrectly handled encrypting the master key provided by the user for storing passwords for web connections. A local attacker could possibly use this issue to obtain access to passwords stored in the users configuration data. This issue only affected Ubuntu 18.04 LTS.
(CVE-2022-26306, CVE-2022-26307)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

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://ubuntu.com/security/notices/USN-5694-1

Plugin Details

Severity: High

ID: 166339

File Name: ubuntu_USN-5694-1.nasl

Version: 1.7

Type: local

Agent: unix

Published: 10/20/2022

Updated: 8/28/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2020-12801

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

CVSS Score Source: CVE-2022-26307

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-vi, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-pa-in, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-si, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-za, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-nn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-smoketest-data, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-mn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ts, p-cpe:/a:canonical:ubuntu_linux:libreoffice-wiki-publisher, p-cpe:/a:canonical:ubuntu_linux:libreoffice-gtk2, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-hi, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ml, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-fi, p-cpe:/a:canonical:ubuntu_linux:libreoffice-script-provider-bsh, p-cpe:/a:canonical:ubuntu_linux:python3-access2base, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-hr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-dev-gui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-sv, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-xh, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-galaxy, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-om, p-cpe:/a:canonical:ubuntu_linux:libreoffice-kde5, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-dz, p-cpe:/a:canonical:ubuntu_linux:libreoffice-common, p-cpe:/a:canonical:ubuntu_linux:uno-libs-private, p-cpe:/a:canonical:ubuntu_linux:libreoffice-core, p-cpe:/a:canonical:ubuntu_linux:libreoffice-math, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-zh-tw, p-cpe:/a:canonical:ubuntu_linux:libreoffice-report-builder-bin, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-am, p-cpe:/a:canonical:ubuntu_linux:libreoffice-ogltrans, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-in, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-szl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-sdbc-postgresql, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-nso, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-lv, p-cpe:/a:canonical:ubuntu_linux:libreoffice-mysql-connector, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-cs, p-cpe:/a:canonical:ubuntu_linux:ure, p-cpe:/a:canonical:ubuntu_linux:libreoffice-librelogo, p-cpe:/a:canonical:ubuntu_linux:fonts-opensymbol, p-cpe:/a:canonical:ubuntu_linux:libreoffice-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-zh-cn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-kf5, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-nr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-en-gb, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-fr, p-cpe:/a:canonical:ubuntu_linux:libuno-sal3, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-tg, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-pl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-draw-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-calc-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-core-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-mk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-report-builder, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-pt-br, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-zh-cn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-hicontrast, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-is, p-cpe:/a:canonical:ubuntu_linux:libreofficekit-dev, p-cpe:/a:canonical:ubuntu_linux:libreoffice-script-provider-js, p-cpe:/a:canonical:ubuntu_linux:libreoffice-subsequentcheckbase, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-sk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-or, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-pl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-dz, p-cpe:/a:canonical:ubuntu_linux:libjurt-java, p-cpe:/a:canonical:ubuntu_linux:libjuh-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-kde4, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-bn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-om, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-sk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-be, p-cpe:/a:canonical:ubuntu_linux:libreoffice-sdbc-firebird, p-cpe:/a:canonical:ubuntu_linux:libreoffice-math-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-en-gb, p-cpe:/a:canonical:ubuntu_linux:liblibreoffice-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-de, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ar, p-cpe:/a:canonical:ubuntu_linux:libreoffice-gtk3, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-sl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ro, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-uz, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-breeze, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-gl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-oxygen, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-mr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ss, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ja, p-cpe:/a:canonical:ubuntu_linux:uno-libs3, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-sr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-it, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-gl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-he, p-cpe:/a:canonical:ubuntu_linux:libreoffice-evolution, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-da, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-sifr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-elementary, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-te, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-eu, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-oc, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-pt, p-cpe:/a:canonical:ubuntu_linux:libreoffice-gtk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-pdfimport, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-hi, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libreoffice-draw, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ta, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-zh-tw, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-ca, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-rw, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-human, p-cpe:/a:canonical:ubuntu_linux:libreoffice-base-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-de, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-karasa-jaga, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-km, p-cpe:/a:canonical:ubuntu_linux:libreoffice-sdbc-hsqldb, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-nl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-cs, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-bg, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-uk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-th, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-as, p-cpe:/a:canonical:ubuntu_linux:libunoil-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-report-builder-bin-nogui, p-cpe:/a:canonical:ubuntu_linux:libuno-purpenvhelpergcc3-3, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-tango, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-nb, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-id, p-cpe:/a:canonical:ubuntu_linux:libreoffice-impress, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-gd, p-cpe:/a:canonical:ubuntu_linux:python3-uno, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-gug, p-cpe:/a:canonical:ubuntu_linux:libreoffice-script-provider-python, p-cpe:/a:canonical:ubuntu_linux:libuno-salhelpergcc3-3, p-cpe:/a:canonical:ubuntu_linux:libreoffice-qt5, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-sv, p-cpe:/a:canonical:ubuntu_linux:libreoffice-base-core, p-cpe:/a:canonical:ubuntu_linux:libreoffice-nlpsolver, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-sukapura, p-cpe:/a:canonical:ubuntu_linux:libreofficekit-data, p-cpe:/a:canonical:ubuntu_linux:ure-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-et, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-tr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-tn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ne, p-cpe:/a:canonical:ubuntu_linux:libreoffice-avmedia-backend-gstreamer, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-zu, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ko, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-af, p-cpe:/a:canonical:ubuntu_linux:libreoffice-dev, p-cpe:/a:canonical:ubuntu_linux:libreoffice-kde, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-nl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-fa, p-cpe:/a:canonical:ubuntu_linux:libreoffice-plasma, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-en-za, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-gu, p-cpe:/a:canonical:ubuntu_linux:libridl-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-common, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-et, p-cpe:/a:canonical:ubuntu_linux:gir1.2-lokdocview-0.1, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-hu, p-cpe:/a:canonical:ubuntu_linux:libreoffice-java-common, p-cpe:/a:canonical:ubuntu_linux:libreoffice-gnome, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-fr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-vi, p-cpe:/a:canonical:ubuntu_linux:libreoffice-writer, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ve, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-yaru, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-sl, p-cpe:/a:canonical:ubuntu_linux:libreoffice-calc, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-kk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-pt, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-pt-br, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-id, p-cpe:/a:canonical:ubuntu_linux:libunoloader-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-eu, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-el, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-it, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ru, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ast, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-es, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-br, p-cpe:/a:canonical:ubuntu_linux:libuno-cppu3, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-bs, p-cpe:/a:canonical:ubuntu_linux:libreoffice, p-cpe:/a:canonical:ubuntu_linux:libreoffice-sdbc-mysql, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-st, p-cpe:/a:canonical:ubuntu_linux:liblibreofficekitgtk, p-cpe:/a:canonical:ubuntu_linux:libreoffice-dev-common, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-lt, p-cpe:/a:canonical:ubuntu_linux:libreoffice-systray, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-ru, p-cpe:/a:canonical:ubuntu_linux:libreoffice-base, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-km, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-ko, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-en-us, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-kmr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-fi, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-da, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-es, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-cy, p-cpe:/a:canonical:ubuntu_linux:libreoffice-style-colibre, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ka, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-tr, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-el, p-cpe:/a:canonical:ubuntu_linux:libreoffice-writer-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-eo, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-kn, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ug, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ga, p-cpe:/a:canonical:ubuntu_linux:libreoffice-impress-nogui, p-cpe:/a:canonical:ubuntu_linux:libreoffice-base-drivers, p-cpe:/a:canonical:ubuntu_linux:libuno-cppuhelpergcc3-3, p-cpe:/a:canonical:ubuntu_linux:libreoffice-help-ja, p-cpe:/a:canonical:ubuntu_linux:libofficebean-java, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-ca, p-cpe:/a:canonical:ubuntu_linux:libreoffice-officebean, p-cpe:/a:canonical:ubuntu_linux:libreoffice-l10n-hu

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/20/2022

Vulnerability Publication Date: 5/18/2020

Reference Information

CVE: CVE-2020-12801, CVE-2020-12803, CVE-2022-26305, CVE-2022-26306, CVE-2022-26307, CVE-2022-3140

IAVB: 2022-B-0024-S, 2022-B-0040-S

USN: 5694-1