This module exploits an unauthenticated arbitrary file upload via insecure POST request. It has been tested on versions < 5.2.0 in Windows 10 Enterprise.
Windows
x86, x64
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/http/fortilogger_arbitrary_fileupload
msf exploit(fortilogger_arbitrary_fileupload) > show targets
...targets...
msf exploit(fortilogger_arbitrary_fileupload) > set TARGET < target-id >
msf exploit(fortilogger_arbitrary_fileupload) > show options
...show and set options...
msf exploit(fortilogger_arbitrary_fileupload) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security