7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7.1 High
AI Score
Confidence
High
0.003 Low
EPSS
Percentile
65.3%
A maliciously crafted print file might cause certain HP Inkjet
printers to assert. Under certain circumstances, the printer produces a core dump to a local
device.
# Copyright (C) 2019 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE_PREFIX = "cpe:/o:hp:";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.143107");
script_version("2022-02-15T10:35:00+0000");
script_tag(name:"last_modification", value:"2022-02-15 10:35:00 +0000 (Tue, 15 Feb 2022)");
script_tag(name:"creation_date", value:"2019-11-11 05:25:54 +0000 (Mon, 11 Nov 2019)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-11-25 14:52:00 +0000 (Mon, 25 Nov 2019)");
script_cve_id("CVE-2019-6337", "CVE-2019-10627", "CVE-2019-16240");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("HP Printers Multiple Vulnerabilities (HPSBPI03630)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
script_family("General");
script_dependencies("gb_hp_printer_consolidation.nasl");
script_mandatory_keys("hp/printer/detected", "hp/printer/model");
script_tag(name:"summary", value:"A maliciously crafted print file might cause certain HP Inkjet
printers to assert. Under certain circumstances, the printer produces a core dump to a local
device.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"affected", value:"HP OfficeJet Pro and HP PageWide Printers.");
script_tag(name:"solution", value:"See the referenced vendor advisory for a solution.");
script_xref(name:"URL", value:"https://support.hp.com/us-en/document/c06458150");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!model = get_kb_item("hp/printer/model"))
exit(0);
if (!infos = get_app_port_from_cpe_prefix(cpe: CPE_PREFIX, first_cpe_only: TRUE))
exit(0);
cpe = infos["cpe"];
if (!fw_ver = get_app_version(cpe: cpe, nofork: TRUE))
exit(0);
fw_ver = toupper(fw_ver);
if (model =~ "^OfficeJet Pro 8210") {
if (version_is_less(version: fw_ver, test_version: "TESPDLPP1N001.1937C.00")) {
report = report_fixed_ver(installed_version: fw_ver, fixed_version: "TESPDLPP1N001.1937C.00");
security_message(port: 0, data: report);
exit(0);
}
}
if (model =~ "^PageWide 352dw") {
if (version_is_less(version: fw_ver, test_version: "ICEMDWPP1N001.1937D.00")) {
report = report_fixed_ver(installed_version: fw_ver, fixed_version: "ICEMDWPP1N001.1937D.00");
security_message(port: 0, data: report);
exit(0);
}
}
if (model =~ "^PageWide 377dw") {
if (version_is_less(version: fw_ver, test_version: "MAVEDWPP1N001.1937D.00")) {
report = report_fixed_ver(installed_version: fw_ver, fixed_version: "MAVEDWPP1N001.1937D.00");
security_message(port: 0, data: report);
exit(0);
}
}
if (model =~ "^PageWide Pro 452dn") {
if (version_is_less(version: fw_ver, test_version: "ICEMDNPP1N001.1937D.00")) {
report = report_fixed_ver(installed_version: fw_ver, fixed_version: "ICEMDNPP1N001.1937D.00");
security_message(port: 0, data: report);
exit(0);
}
}
if (model =~ "^PageWide Pro 477dn") {
if (version_is_less(version: fw_ver, test_version: "MAVEDNPP1N001.1937D.00")) {
report = report_fixed_ver(installed_version: fw_ver, fixed_version: "MAVEDNPP1N001.1937D.00");
security_message(port: 0, data: report);
exit(0);
}
}
if (model =~ "^PageWide Pro 477dw") {
if (version_is_less(version: fw_ver, test_version: "MAVEDWPP1N001.1937D.00")) {
report = report_fixed_ver(installed_version: fw_ver, fixed_version: "MAVEDWPP1N001.1937D.00");
security_message(port: 0, data: report);
exit(0);
}
}
exit(0);
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7.1 High
AI Score
Confidence
High
0.003 Low
EPSS
Percentile
65.3%