Bug 2118611 (CVE-2022-26305) - CVE-2022-26305 libreoffice: Execution of Untrusted Macros Due to Improper Certificate Validation
Summary: CVE-2022-26305 libreoffice: Execution of Untrusted Macros Due to Improper Cer...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-26305
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2118619 Red Hat2118928 Red Hat2118929 Red Hat2118930 Red Hat2118931 Red Hat2134752 Red Hat2134759 Red Hat2134760
Blocks: Embargoed2112117
TreeView+ depends on / blocked
 
Reported: 2022-08-16 09:24 UTC by Sandipan Roy
Modified: 2023-01-25 09:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An Improper Certificate Validation vulnerability was found in LibreOffice, where determining if a trusted author signed a macro 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. This flaw allows an adversary to 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 executing arbitrary code contained in the improperly trusted macros.
Clone Of:
Environment:
Last Closed: 2023-01-25 09:52:13 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:0089 0 None None None 2023-01-12 09:14:51 UTC
Red Hat Product Errata RHSA-2023:0304 0 None None None 2023-01-23 15:17:27 UTC

Description Sandipan Roy 2022-08-16 09:24:57 UTC
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.

https://www.libreoffice.org/about-us/security/advisories/cve-2022-26305

Comment 1 Sandipan Roy 2022-08-16 09:32:40 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 2118619]

Comment 3 errata-xmlrpc 2023-01-12 09:14:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:0089 https://access.redhat.com/errata/RHSA-2023:0089

Comment 4 errata-xmlrpc 2023-01-23 15:17:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:0304 https://access.redhat.com/errata/RHSA-2023:0304

Comment 5 Product Security DevOps Team 2023-01-25 09:52:11 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-26305


Note You need to log in before you can comment on or make changes to this bug.