CVE-2021-25636
JSON

7.5high

Incorrect trust validation of signature with ambiguous KeyInfo children

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
0.95% (higher than 60% of CVEs)
Published
Last changed
Assigned by
Document Fdn.

Description

LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to contain both "X509Data" and "KeyValue" children of the "KeyInfo" tag, which when opened caused LibreOffice to verify using the "KeyValue" but to report verification with the unrelated "X509Data" value. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.5.

Affected

Product or packageVersionsReported by
The Document Foundation LibreOfficefrom 7.2 before 7.2.5CVE List
libreoffice libreofficefrom 7.2.0 before 7.2.5NVD
fedoraproject fedora34NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to contain both "X509Data" and "KeyValue" children of the "KeyInfo" tag, which when opened caused LibreOffice to verify using the "KeyValue" but to report verification with the unrelated "X509Data" value. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.5.

NVD (es)

LibreOffice soporta firmas digitales de documentos ODF y macros dentro de documentos, presentando ayudas visuales de que no ha sido producido ninguna alteración del documento desde la última firma y que la firma es válida. Una vulnerabilidad de comprobación inapropiada de certificados en LibreOffice permitía a un atacante crear un documento ODF firmado digitalmente, manipulando el flujo documentsignatures.xml o macrosignatures.xml dentro del documento para que contuviera los hijos "X509Data" y "KeyValue" de la etiqueta "KeyInfo", que cuando era abierta causaba que LibreOffice verificara usando el "KeyValue" pero informara de la verificación con el valor "X509Data" no relacionado. Este problema afecta a: Document Foundation LibreOffice versiones 7.2 anteriores a 7.2.5

References

Sources

SourceRecordLicence
CVE ListCVE-2021-25636 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-25636 changed 2026-06-17Public domain