Ivanti Avalanche prior to v6.4.0.186 permits MS-DOS style short names in the configuration path for the Central FileStore. Because of this, an administrator can change the default path to the web root of the applications, upload a JSP file, and achieve RCE as NT AUTHORITY\SYSTEM.
Java,Windows
java
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/ivanti_avalanche_filestoreconfig_upload
msf exploit(ivanti_avalanche_filestoreconfig_upload) > show targets
...targets...
msf exploit(ivanti_avalanche_filestoreconfig_upload) > set TARGET < target-id >
msf exploit(ivanti_avalanche_filestoreconfig_upload) > show options
...show and set options...
msf exploit(ivanti_avalanche_filestoreconfig_upload) > 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