CVE-2022-3140: Macro URL arbitrary script 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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-3140?
CVE-2022-3140 is a vulnerability in LibreOffice that allows for the construction of links using the 'vnd.libreoffice.command' scheme to call internal macros.
How does LibreOffice's Office URI Schemes vulnerability affect browser integration with MS SharePoint server?
The vulnerability in LibreOffice's Office URI Schemes allows for browser integration with MS SharePoint server, but specifically enables the construction of malicious links to call internal macros.
What versions of LibreOffice are affected by CVE-2022-3140?
Versions of LibreOffice from 7.3.0 to 7.3.6, as well as version 7.4.0, are affected by CVE-2022-3140.
What can an attacker do with the 'vnd.libreoffice.command' scheme in the LibreOffice vulnerability?
An attacker can use the 'vnd.libreoffice.command' scheme to construct links that call internal macros, potentially executing arbitrary commands on a victim's system.
How can I mitigate the vulnerability in LibreOffice's Office URI Schemes?
To mitigate the vulnerability, update your LibreOffice installation to a version that is not affected by CVE-2022-3140.