This module exploits an unauthenticated Java deserialization in the NetMotion Mobility server's MvcUtil.valueStringToObject() method, as invoked through the /mobility/Menu/isLoggedOn endpoint, to execute code as the SYSTEM account. Mobility server versions 11.x before 11.73 and 12.x before 12.02 are vulnerable. Tested against 12.01.09045 on Windows Server 2016.
Windows
cmd, 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/netmotion_mobility_mvcutil_deserialization
msf exploit(netmotion_mobility_mvcutil_deserialization) > show targets
...targets...
msf exploit(netmotion_mobility_mvcutil_deserialization) > set TARGET < target-id >
msf exploit(netmotion_mobility_mvcutil_deserialization) > show options
...show and set options...
msf exploit(netmotion_mobility_mvcutil_deserialization) > 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