This module abuses a command execution vulnerability within the web based management console of the Hewlett-Packard Web JetAdmin network printer tool v6.2 - v6.5. It is possible to execute commands as SYSTEM without authentication. The vulnerability also affects POSIX systems, however at this stage the module only works against Windows. This module does not apply to HP printers.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/admin/http/hp_web_jetadmin_exec
msf auxiliary(hp_web_jetadmin_exec) > show actions
...actions...
msf auxiliary(hp_web_jetadmin_exec) > set ACTION < action-name >
msf auxiliary(hp_web_jetadmin_exec) > show options
...show and set options...
msf auxiliary(hp_web_jetadmin_exec) > run
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