LibreOffice LibreLogo global-event script execution
LibreOffice before version 6.2.6 insufficiently validates global script event handlers, allowing malicious documents to invoke pre-installed scripts such as LibreLogo. Protections introduced for CVE-2019-9848 blocked LibreLogo invocation through document event handlers but did not cover the separate global-event mechanism, including document-open events. Because LibreLogo can execute Python commands embedded in the invoking document, this omission permits arbitrary code execution when a user opens a specially crafted document. Fixed versions apply equivalent validation to global and document script event handlers.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can execute arbitrary code with the privileges of the user running LibreOffice. Successful exploitation can compromise data and resources accessible to that user; elevated privileges are not inherently provided by this vulnerability.
If you can’t patch tonight, do this now.
Until patched, avoid opening untrusted documents in affected LibreOffice installations, particularly where LibreLogo is installed. A vendor-confirmed workaround is not specified.
Patch, then assume compromise.
Upgrade LibreOffice to version 6.2.6 or later, or install a distribution package containing the backported fix. Fixed Debian versions include 1:5.2.7-1+deb9u10 for stretch, 1:6.1.5-3+deb10u3 for buster, and 1:4.3.3-2+deb8u13 for Jessie. Fixed Ubuntu libreoffice-core versions include 1:6.2.6-0ubuntu0.19.04.1 for Ubuntu 19.04, 1:6.0.7-0ubuntu0.18.04.9 for Ubuntu 18.04 LTS, and 1:5.1.6~rc2-0ubuntu1~xenial9 for Ubuntu 16.04 LTS. Restart LibreOffice after updating.
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.