Description
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.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/fileformat/libreoffice/logo_execmsf undefined(logo_exec) > show actions ...actions...msf undefined(logo_exec) > set ACTION < action-name >msf undefined(logo_exec) > show options ...show and set options...msf undefined(logo_exec) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub