Vulnerability & Exploit Database

Back to search

Apache OpenOffice Text Document Malicious Macro Execution

This module generates an Apache OpenOffice Text Document with a malicious macro in it. To exploit successfully, the targeted user must adjust the security level in Macro Security to either Medium or Low. If set to Medium, a prompt is presented to the user to enable or disable the macro. If set to Low, the macro can automatically run without any warning. The module also works against LibreOffice.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/multi/misc/openoffice_document_macro

Authors

  • sinn3r <sinn3r [at] metasploit.com>

References

Targets

  • Apache OpenOffice on Windows (PSH)
  • Apache OpenOffice on Linux/OSX (Python)

Platforms

  • windows
  • python

Architectures

  • x86, x64
  • python

Reliability

Development

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/misc/openoffice_document_macro msf exploit(openoffice_document_macro) > show targets ...targets... msf exploit(openoffice_document_macro) > set TARGET <target-id> msf exploit(openoffice_document_macro) > show options ...show and set options... msf exploit(openoffice_document_macro) > exploit