This module exploits a path traversal flaw in the HP ProCurve Manager SNAC Server. The vulnerability in the UpdateDomainControllerServlet allows an attacker to upload arbitrary files, just having into account binary writes aren't allowed. Additionally, authentication can be bypassed in order to upload the file. This module has been tested successfully on the SNAC server installed with HP ProCurve Manager 4.0.
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/hp_pcm_snac_update_domain
msf exploit(hp_pcm_snac_update_domain) > show targets
...targets...
msf exploit(hp_pcm_snac_update_domain) > set TARGET < target-id >
msf exploit(hp_pcm_snac_update_domain) > show options
...show and set options...
msf exploit(hp_pcm_snac_update_domain) > 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