Skip to content
OpenAdvisories
Unscored Public exploit CVE-2019-9851 EUVD-2019-19207GHSA-2rm2-3r73-2vfr

LibreLogo global-event script execution

Published Aug 15, 2019 · Updated Sep 16, 2024 · Assigned by Document Fdn.

Description

LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from document event script handers, e.g. mouse over. However LibreOffice also has a separate feature where documents can specify that pre-installed scripts can be executed on various global script events such as document-open, etc. In the fixed versions, global script event handlers are validated equivalently to document script event handlers. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

Affected products

VendorProductAffectedFixed
Document Foundation LibreOffice unspecified – < 6.2.6 6.2.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 1:6.3.0-1 —
Debian 13 libreoffice 1:6.3.0-1 —
Debian 12 libreoffice 1:6.3.0-1 —
Debian 10 libreoffice 1:6.1.5-3+deb10u3 DSA-4501-1
Debian 9 libreoffice 1:5.2.7-1+deb9u10 DSA-4501-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 libreoffice 1:4.3.3-2+deb8u13 DLA-1947-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libreoffice 1:6.0.7-0ubuntu0.18.04.9 USN-4102-1
Ubuntu 16.04 LTS libreoffice 1:5.1.6~rc2-0ubuntu1~xenial9 USN-4102-1
ReleasePackageFixed inAdvisory
RHEL 8 autocorr-af +172 1:6.0.6.1-20.el8 RHSA-2020:1598
RHEL 7 autocorr-af +112 1:5.3.6.1-24.el7 RHSA-2020:1151
ReleasePackageFixed inAdvisory
SLES 15 SP1 libreoffice 6.2.7.1-8.10.1 SUSE-SU-2019:2402-1
SLES 15 libreoffice 6.2.6.2-3.21.1 SUSE-SU-2019:2231-1
SLES 12 SP4 libreoffice 6.2.7.1-43.56.3 SUSE-SU-2019:2401-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libreoffice 7.1.5.2-3.13 openSUSE-SU-2024:10983-1
openSUSE Leap 15.1 libreoffice 6.2.7.1-lp151.3.6.1 openSUSE-SU-2019:2183-1
openSUSE Leap 15.0 libreoffice 6.2.6.2-lp150.2.16.1 openSUSE-SU-2019:2057-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libreoffice 6.3.0.4-r0 —
Alpine v3.23 libreoffice 6.3.0.4-r0 —
Alpine v3.22 libreoffice 6.3.0.4-r0 —
Alpine v3.21 libreoffice 6.3.0.4-r0 —
Alpine v3.20 libreoffice 6.3.0.4-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libreoffice 6.3.0.4-r0 —
Alpine v3.18 libreoffice 6.3.0.4-r0 —
Alpine v3.17 libreoffice 6.3.0.4-r0 —
Alpine v3.16 libreoffice 6.3.0.4-r0 —
Alpine v3.15 libreoffice 6.3.0.4-r0 —
Alpine v3.14 libreoffice 6.3.0.4-r0 —
Alpine v3.13 libreoffice 6.3.0.4-r0 —
Alpine v3.12 libreoffice 6.3.0.4-r0 —
Alpine v3.11 libreoffice 6.3.0.4-r0 —
Alpine v3.10 libreoffice 6.2.6.2-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 autocorr-af +171 1:6.0.6.1-20.0.1.el8 ELSA-2020-1598
Oracle Linux 7 autocorr-af +180 1:5.3.6.1-24.0.1.el7 ELSA-2020-1151

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 14

References