CVE-2023-1183: Arbitrary file write

Published May 19, 2023
·
Updated

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.

Other sources

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.

— Red Hat

Affected Software

9 affected componentsFixes available
LibreOffice Libreoffice<7.4.6
LibreOffice Libreoffice=7.5.0
Fedoraproject Fedora=38
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat/libreoffice<7.4.6
7.4.6
redhat/libreoffice<7.5.1
7.5.1
debian/hsqldb
2.7.1-1+deb12u12.7.4-1
debian/hsqldb1.8.0
1.8.0.10+dfsg-11+deb12u11.8.0.10+dfsg-12.1+deb13u11.8.0.10+dfsg2-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libreoffice to a version that resolves this vulnerability.

    Fixed in 7.4.6
  2. Upgrade

    Upgrade redhat/libreoffice to a version that resolves this vulnerability.

    Fixed in 7.5.1
  3. Upgrade

    Upgrade debian/hsqldb to a version that resolves this vulnerability.

    Fixed in 2.7.1-1+deb12u1Fixed in 2.7.4-1
  4. Upgrade

    Upgrade debian/hsqldb1.8.0 to a version that resolves this vulnerability.

    Fixed in 1.8.0.10+dfsg-11+deb12u1Fixed in 1.8.0.10+dfsg-12.1+deb13u1Fixed in 1.8.0.10+dfsg2-2
  5. Upgrade

    Upgrade LibreOffice to a version that resolves this vulnerability.

    Patch CVE-2023-1183

Event History

May 19, 2023
Data Sourced
via Red Hat·09:52 AM
DescriptionSeverityAffected Software
Jul 10, 2023
CVE Published
via MITRE·03:04 PM
Data Sourced
via MITRE·03:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 10, 2026
Data Sourced
via Ubuntu·03:34 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·03:35 PM
Description
Data Sourced
via Debian·03:35 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this flaw?

The vulnerability ID of this flaw is CVE-2023-1183.

2

What is the severity level of CVE-2023-1183?

CVE-2023-1183 has a severity level of 5.5 (medium).

3

How does CVE-2023-1183 affect Libreoffice?

CVE-2023-1183 affects Libreoffice versions 7.4.6 up to (but excluding) 7.5.1.

4

How can an attacker exploit CVE-2023-1183?

An attacker can exploit CVE-2023-1183 by crafting an odb file with a "database/script" file containing a SCRIPT command.

5

Are there any known remedies for CVE-2023-1183?

Yes, upgrading to Libreoffice version 7.5.1 or higher will fix the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203