Description
hpssd in Hewlett-Packard Linux Imaging and Printing Project (hplip) 1.x and 2.x before 2.7.10 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a from address, which is not properly handled when invoking sendmail.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | hplip | 1.6.10-4.3 | — |
| Debian 12 | hplip | 1.6.10-4.3 | — |
| Debian 5.0 | hplip | 1.6.10-4.2+lenny1 | DTSA-72-1 |
| Debian 4.0 | hplip | 1.6.10-3etch1 | DSA-1462-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | hpijs | 1:1.6.7-4.1.el5_0.3 | RHSA-2007:0960 |
| RHEL 5 | hplip +1 | 1.6.7-4.1.el5_0.3 | RHSA-2007:0960 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | hplip | 3.21.6-1.2 | openSUSE-SU-2024:10847-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
HPLIP hpssd.py From Address Arbitrary Command Execution
exploit/linux/misc/hplip_hpssd_exec
Exploit-DB 1
- hplip - 'hpssd.py' From Address Arbitrary Command Execution (Metasploit) EDB-16837 · remote · Oct 9, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- RHSA-2007:0960 Red Hat Security Advisory: hplip security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DTSA-72-1 hplip - arbitrary command execution Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1462-1 hplip - missing input sanitising Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10847-1 hplip-3.21.6-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- FEDORA-2007-2527 vendor-advisory
- ADV-2007-3479 vdb-entry
- 27271 third-party-advisory
- 27202 third-party-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=195565
- https://launchpad.net/bugs/149121
- 27224 third-party-advisory
- 27221 third-party-advisory
- GLSA-200710-26 vendor-advisory
- USN-530-1 vendor-advisory
- DSA-1462 vendor-advisory
- 28453 third-party-advisory
- 27397 third-party-advisory
- 1018806 vdb-entry
- 26054 vdb-entry
- MDKSA-2007:201 vendor-advisory
- 27332 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=319921
- SUSE-SR:2007:021 vendor-advisory
- 27232 third-party-advisory
- RHSA-2007:0960 vendor-advisory
- oval:org.mitre.oval:def:10692 vdb-entry signature
- http://qa.mandriva.com/show_bug.cgi?id=30719
- hplip-hpssd-command-execution(37183) vdb-entry