GLSA-202212-04 : LibreOffice: Arbitrary Code Execution

medium Nessus Plugin ID 168910

Description

The remote host is affected by the vulnerability described in GLSA-202212-04 (LibreOffice: Arbitrary Code Execution)

- 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 this issue but has instead relied only on the application's self-reported version number.

Solution

All LibreOffice users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=app-office/libreoffice-7.3.6.2 All LibreOffice binary users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=app-office/libreoffice-bin-7.3.6.2

See Also

https://security.gentoo.org/glsa/202212-04

https://bugs.gentoo.org/show_bug.cgi?id=876869

Plugin Details

Severity: Medium

ID: 168910

File Name: gentoo_GLSA-202212-04.nasl

Version: 1.0

Type: local

Published: 12/18/2022

Updated: 12/18/2022

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2022-3140

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

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

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libreoffice, p-cpe:/a:gentoo:linux:libreoffice-bin, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 12/19/2022

Vulnerability Publication Date: 10/11/2022

Reference Information

CVE: CVE-2022-3140