This module exploits a buffer overflow vulnerability found in HP's StorageWorks P4000 VSA on versions prior to 10.0. The vulnerability is due to an insecure usage of the sscanf() function when parsing login requests. This module has been tested successfully on the HP VSA 9 Virtual Appliance.
Linux
x86
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/misc/hp_vsa_login_bof
msf exploit(hp_vsa_login_bof) > show targets
...targets...
msf exploit(hp_vsa_login_bof) > set TARGET < target-id >
msf exploit(hp_vsa_login_bof) > show options
...show and set options...
msf exploit(hp_vsa_login_bof) > 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