vendor:
LibreOffice
by:
Nils Emmerich, Shelby Pace, LoadLow, Gabriel Masei
9.8
CVSS
CRITICAL
Code Execution
94
CWE
Product Name: LibreOffice
Affected Version From: Unknown
Affected Version To: Unknown
Patch Exists: YES
Related CWE: CVE-2019-9851
CPE: a:libreoffice:libreoffice
Metasploit:
https://www.rapid7.com/db/vulnerabilities/ubuntu-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/redhat_linux-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/centos_linux-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/oracle_linux-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/alpine-linux-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/suse-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/huawei-euleros-2_0_sp5-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/huawei-euleros-2_0_sp8-cve-2019-9851/, https://www.rapid7.com/db/vulnerabilities/debian-cve-2019-9851/
Platforms Tested: Python
2019
LibreOffice Macro Python Code Execution
LibreOffice comes bundled with sample macros written in Python and allows the ability to bind program events to them. LibreLogo is a macro that allows a program event to execute text as Python code, allowing RCE. This module generates an ODT file with a dom loaded event that, when triggered, will execute arbitrary python code and the metasploit payload.
Mitigation:
Update to the latest version of LibreOffice.