Lucene search

K
openvasCopyright (C) 2020 Greenbone Networks GmbHOPENVAS:1361412562310144162
HistoryJun 24, 2020 - 12:00 a.m.

HP Printers Multiple Vulnerabilities - Ripple20 (HPSBPI03666)

2020-06-2400:00:00
Copyright (C) 2020 Greenbone Networks GmbH
plugins.openvas.org
101

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

6.1 Medium

AI Score

Confidence

High

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.048 Low

EPSS

Percentile

92.6%

Multiple HP printers are vulnerable to multiple vulnerabilities
in the Treck IP stack (Ripple20).

# Copyright (C) 2020 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.

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.144162");
  script_version("2022-08-09T10:11:17+0000");
  script_tag(name:"last_modification", value:"2022-08-09 10:11:17 +0000 (Tue, 09 Aug 2022)");
  script_tag(name:"creation_date", value:"2020-06-24 07:19:30 +0000 (Wed, 24 Jun 2020)");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-07-22 00:15:00 +0000 (Wed, 22 Jul 2020)");

  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
  script_cve_id("CVE-2020-11896", "CVE-2020-11898", "CVE-2020-11899", "CVE-2020-11900", "CVE-2020-11901",
                "CVE-2020-11904", "CVE-2020-11905", "CVE-2020-11906", "CVE-2020-11907", "CVE-2020-11909",
                "CVE-2020-11910", "CVE-2020-11911", "CVE-2020-11912", "CVE-2020-11914");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("HP Printers Multiple Vulnerabilities - Ripple20 (HPSBPI03666)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2020 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_hp_printer_consolidation.nasl");
  script_mandatory_keys("hp/printer/detected");

  script_tag(name:"summary", value:"Multiple HP printers are vulnerable to multiple vulnerabilities
  in the Treck IP stack (Ripple20).");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Multiple potential vulnerabilities may exist in the Treck Inc.
  networking stack used in certain HP and Samsung-branded printers. These may include, but not be
  limited to, denial of service or remote code execution.");

  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/c06640149");
  script_xref(name:"URL", value:"https://kb.cert.org/vuls/id/257161");
  script_xref(name:"URL", value:"https://treck.com/vulnerability-response-information/");
  script_xref(name:"URL", value:"https://www.jsof-tech.com/ripple20/");

  exit(0);
}

include("host_details.inc");
include("revisions-lib.inc");
include("version_func.inc");

cpe_list = make_list("cpe:/o:hp:color_laser_mfp_179fnw_firmware",
                     "cpe:/o:hp:color_laser_mfp_178nw_firmware",
                     "cpe:/o:hp:laser_mfp_137fnw_firmware",
                     "cpe:/o:hp:smart_tank_wireless_450_firmware",
                     "cpe:/o:hp:ink_tank_wireless_410_firmware",
                     "cpe:/o:hp:deskjet_3700_firmware",
                     "cpe:/o:hp:officejet_6950_firmware",
                     "cpe:/o:hp:officejet_3830_firmware",
                     "cpe:/o:hp:deskjet_ink_advantage_3830_firmware",
                     "cpe:/o:hp:deskjet_3630_firmware",
                     "cpe:/o:hp:deskjet_ink_advantage_ultra_4720_firmware",
                     "cpe:/o:hp:deskjet_2700_firmware",
                     "cpe:/o:hp:deskjet_plus_4100_firmware",
                     "cpe:/o:hp:deskjet_2600_firmware",
                     "cpe:/o:hp:officejet_250_mobile_firmware",
                     "cpe:/o:hp:officejet_pro_6968_firmware");

if (!infos = get_app_port_from_list(cpe_list: cpe_list))
  exit(0);

cpe = infos["cpe"];

if (!version = get_app_version(cpe: cpe, nofork: TRUE))
  exit(0);

version = toupper(version);

if (cpe =~ "^cpe:/o:hp:color_laser_mfp_17[89]") {
  if (revcomp(a: version, b: "V3.82.01.08") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "V3.82.01.08");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:laser_mfp_137fnw_firmware") {
  if (revcomp(a: version, b: "V3.82.01.11") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "V3.82.01.11");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:smart_tank_wireless_450_firmware") {
  if (revcomp(a: version, b: "KDP1FN2020A") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "KDP1FN2020A");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:ink_tank_wireless_410_firmware") {
  if (revcomp(a: version, b: "KEP1FN2020A") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "KEP1FN2020A");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_3700_firmware") {
  if (revcomp(a: version, b: "LYP1FN2020B") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "LYP1FN2020B");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:officejet_6950_firmware") {
  if (revcomp(a: version, b: "MJM2CN2020B") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "MJM2CN2020B");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:officejet_3830_firmware") {
  if (revcomp(a: version, b: "SPP5FN2021A") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "SPP5FN2021A");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_ink_advantage_3830_firmware") {
  if (revcomp(a: version, b: "SUP1FN2021AR") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "SUP1FN2021A");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_3630_firmware") {
  if (revcomp(a: version, b: "SWP1FN2021C") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "SWP1FN2021C");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_ink_advantage_ultra_4720_firmware") {
  if (revcomp(a: version, b: "SAP1FN2020B") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "SAP1FN2020BR");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_2700_firmware") {
  if (revcomp(a: version, b: "TCP1FN2021D") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "TCP1FN2021D");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_plus_4100_firmware") {
  if (revcomp(a: version, b: "OP1FN2021D") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "OP1FN2021D");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:deskjet_2600_firmware") {
  if (revcomp(a: version, b: "TJP1FN2020B") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "TJP1FN2020B");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:officejet_250_mobile_firmware") {
  if (revcomp(a: version, b: "TZM1CN2020B") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "TZM1CN2020B");
    security_message(port: 0, data: report);
    exit(0);
  }
}

if (cpe == "cpe:/o:hp:officejet_pro_6968_firmware") {
  if (revcomp(a: version, b: "MCP2CN2020C") < 0) {
    report = report_fixed_ver(installed_version: version, fixed_version: "MCP2CN2020C");
    security_message(port: 0, data: report);
    exit(0);
  }
}

exit(0);

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

6.1 Medium

AI Score

Confidence

High

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.048 Low

EPSS

Percentile

92.6%