CVE-2019-9851: LibreLogo global-event script execution
A vulnerability was found in LibreOffice prior to 6.2.6. 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.
Reference: https://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html https://seclists.org/bugtraq/2019/Aug/28
Other sources
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.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/LibreOfficeto a version that resolves this vulnerability.Fixed in 6.2.6 - Upgrade
Upgrade
redhat/LibreOfficeto a version that resolves this vulnerability.Fixed in 6.3.0 - Upgrade
Upgrade
debian/libreofficeto a version that resolves this vulnerability.Fixed in 1:7.0.4-4+deb11u10Fixed in 1:7.0.4-4+deb11u13Fixed in 4:7.4.7-1+deb12u10Fixed in 4:7.4.7-1+deb12u8Fixed in 4:25.2.3-2+deb13u3Fixed in 4:26.2.0-1 - Upgrade
Upgrade
alpine/libreofficeto a version that resolves this vulnerability.Fixed in 6.2.6.2-r0 - Upgrade
Upgrade
alpine/libreofficeto a version that resolves this vulnerability.Fixed in 6.3.0.4-r0 - Upgrade
Upgrade
LibreOfficeto a version that resolves this vulnerability.Fixed in 6.2.6