HP OfficeJet Pro and PageWide Pro PJL Interface Directory Traversal RCE

High Nessus Plugin ID 100461

Synopsis

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

Description

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.

Solution

Apply the appropriate firmware update according to the vendor advisory.

See Also

https://support.hp.com/lv-en/document/c05462914

Plugin Details

Severity: High

ID: 100461

File Name: hp_printer_rce.nasl

Version: 1.5

Type: remote

Family: General

Published: 2017/05/26

Modified: 2018/07/13

Dependencies: 25037

Risk Information

Risk Factor: High

CVSSv2

Base Score: 9.4

Temporal Score: 7.4

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSSv3

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

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

HP: HPSBPI03555, c05462914