Execution of Untrusted Macros Due to Improper Certificate Validation (The Document Foundation LibreOffice)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.24 % · percentile 69 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Document Fdn.
- NVD status
- Modified
Description
An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a serial number and an issuer string identical to a trusted certificate which LibreOffice would present as belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1.
Weaknesses (CWE)
- CWE-295 — Improper Certificate Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-30866
- GCVE · GCVE-0-2022-26305
CERT-FR advisories
- CERTFR-2022-AVI-695 — Multiples vulnérabilités dans LibreOffice · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*≥ 7.2.0 < 7.2.7cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*≥ 7.3.0 < 7.3.2
Affected products
| Product | Versions |
|---|---|
| The Document Foundation · LibreOffice | affected 7.2 < 7.2.7 ; affected 7.3 < 7.3.1 |
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 |