HP OfficeJet Pro and PageWide Pro PJL Interface Directory Traversal RCE

High Nessus Plugin ID 100461


The remote device is affected by a remote code execution vulnerability.


The remote HP OfficeJet Pro or PageWide Pro printer is affected by an unspecified flaw in the Printer Job Language (PJL) interface, within various PJL and PostScript file handling functions, due to improper sanitization of user-supplied input. An unauthenticated, remote attacker can exploit this, via directory traversal, to write arbitrary files, resulting in the execution of arbitrary code.


Apply the appropriate firmware update according to the vendor advisory.

See Also


Plugin Details

Severity: High

ID: 100461

File Name: hp_printer_rce.nasl

Version: $Revision: 1.2 $

Type: remote

Family: General

Published: 2017/05/26

Modified: 2017/08/15

Dependencies: 25037

Risk Information

Risk Factor: High


Base Score: 9.4

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: x-cpe:/h:hp:officejet_pro, x-cpe:/h:hp:pagewide_pro

Required KB Items: devices/hp_printer

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 2017/04/05

Vulnerability Publication Date: 2017/04/05

Reference Information

CVE: CVE-2017-2741

OSVDB: 155578

HP: HPSBPI03555, c05462914