CVE-2022-3140

Title: Macro URL arbitrary script execution

Announced: October 11, 2022

Fixed in: LibreOffice 7.3.6/7.4.1

Description:

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.

In versions >= 7.3.6 (and >= 7.4.1) such unwanted command URIs are blocked from  execution.

Credits:

  • TheSecurityDev working with Trend Micro Zero Day Initiative

References:

    CVE-2022-3140