Arbitrary Exec via vnd.libreoffice.command URI in LibreOffice <7.4.1/7.3.6
CVE-2022-3140 Published on October 11, 2022

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.

Vendor Advisory Vendor Advisory Vendor Advisory NVD

Weakness Type

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.


Products Associated with CVE-2022-3140

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-3140 are published in these products:

 
 
 
 

Affected Versions

The Document Foundation LibreOffice:

Exploit Probability

EPSS
1.17%
Percentile
78.48%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.