Macro URL arbitrary script execution (The Document Foundation LibreOffice)

CVE-2022-3140
MEDIUM 6.3

At a glance

Source
NVD
EPSS
EPSS 6.96 % · percentile 94 ()
State
PUBLISHED
Published
Updated
Assigner
Document Fdn.
NVD status
Modified

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. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.

Weaknesses (CWE)

  • CWE-20 — Improper Input Validation
  • CWE-88 — Improper Neutralization of Argument Delimiters in a Command

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
The Document Foundation · LibreOfficeaffected 7.4 < 7.4.1 ; affected 7.3 < 7.3.6

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD