Description
This module exploits a command execution vulnerable in the hpssd.py daemon of the Hewlett-Packard Linux Imaging and Printing Project. According to MITRE, versions 1.x and 2.x before 2.7.10 are vulnerable.
This module was written and tested using the Fedora 6 Linux distribution. On the test system, the daemon listens on localhost only and runs with root privileges. Although the configuration shows the daemon is to listen on port 2207, it actually listens on a dynamic port.
NOTE: If the target system does not have a 'sendmail' command installed, this vulnerability cannot be exploited.
Module options
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/hplip_hpssd_execmsf undefined(hplip_hpssd_exec) > show actions ...actions...msf undefined(hplip_hpssd_exec) > set ACTION < action-name >msf undefined(hplip_hpssd_exec) > show options ...show and set options...msf undefined(hplip_hpssd_exec) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub