Bug 2208506 (CVE-2023-1183)

Summary: CVE-2023-1183 libreoffice: Arbitrary file write
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erack, gwync, nobody
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libreoffice 7.4.6, libreoffice 7.5.1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Libreoffice package. An attacker can craft an odb containing a "database/script" file with a SCRIPT command where the contents of the file could be written to a new file whose location was determined by the attacker.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2208508, 2208509, 2208510, 2215918    
Bug Blocks: 2175609    

Description Marian Rehak 2023-05-19 09:52:15 UTC
The issue occurs when LibreOffice executes the database/script file that is part of a base document. If this file contains a command like SCRIPT '../../../../../../../../../../../tmp/ohai', it will write the current contents of the database script to that file once a database connection is established.

Comment 3 Marian Rehak 2023-06-19 11:56:16 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 2215918]

Comment 4 Gwyn Ciesla 2023-06-20 15:13:12 UTC
I cannot view the embargoed BZ, and thus cannot work on this.

Comment 6 errata-xmlrpc 2023-11-07 08:18:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 7 errata-xmlrpc 2023-11-14 15:16:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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