CVE-2019-9848
CRITICALLibreOffice < 6.2.5 - Remote Code Execution via LibreLogo Python Command Injection
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2019-9848.
PoCs published by Nils Emmerich, Shelby Pace, LoadLow, Gabriel Masei, including Metasploit module exploits/multi/fileformat/libreoffice_logo_exec.
AI-analyzed exploit summary This Metasploit module exploits CVE-2018-16858 in LibreOffice by generating an ODT file with a malicious macro that executes arbitrary Python code, leading to remote code execution (RCE). The payload is embedded as a base64-encoded string and executed via Python's eval function.
Description
LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-over, etc. LibreOffice is typically also bundled with LibreLogo, a programmable turtle vector graphics script, which can be manipulated into executing arbitrary python commands. By using the document event feature to trigger LibreLogo to execute python contained within a document a malicious document could be constructed which would execute arbitrary python commands silently without warning. In the fixed versions, LibreLogo cannot be called from a document event handler. This issue affects: Document Foundation LibreOffice versions prior to 6.2.5.
Exploits (1)
This Metasploit module exploits CVE-2018-16858 in LibreOffice by generating an ODT file with a malicious macro that executes arbitrary Python code, leading to remote code execution (RCE). The payload is embedded as a base64-encoded string and executed via Python's eval function.
References (10)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H