Macro URL arbitrary script execution (The Document Foundation LibreOffice)
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
- https://www.libreoffice.org/about-us/security/advisories/CVE-2022-3140
- https://www.debian.org/security/2022/dsa-5252
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TORANVTIWWBH3DNJR4UZATAG67KZOH32/
- https://security.gentoo.org/glsa/202212-04
- https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-42567
- GCVE · GCVE-0-2022-3140
CERT-FR advisories
- CERTFR-2022-AVI-900 — Vulnérabilité dans LibreOffice · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*≥ 7.3.0 < 7.3.6cpe:2.3:a:libreoffice:libreoffice:7.4.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| The Document Foundation · LibreOffice | affected 7.4 < 7.4.1 ; affected 7.3 < 7.3.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |