Cambium Networks cnPilot R200/201 RSA Keys Vulnerability

2017-03-14T00:00:00
ID OPENVAS:1361412562310140187
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2020-06-12T00:00:00

Description

On Cambium Networks cnPilot R200/201 devices before 4.3, there is a vulnerability involving the certificate of the device and its RSA keys, aka RBN-183.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
#
# cnPilot R200/201 RSA Keys Vulnerability
#
# Authors:
# Michael Meyer <michael.meyer@greenbone.net>
#
# Copyright:
# Copyright (C) 2017 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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.140187");
  script_version("2020-06-12T10:08:21+0000");
  script_cve_id("CVE-2017-5859");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2020-06-12 10:08:21 +0000 (Fri, 12 Jun 2020)");
  script_tag(name:"creation_date", value:"2017-03-14 17:34:31 +0100 (Tue, 14 Mar 2017)");
  script_tag(name:"qod_type", value:"remote_app");

  script_name("Cambium Networks cnPilot R200/201 RSA Keys Vulnerability");

  script_tag(name:"summary", value:"On Cambium Networks cnPilot R200/201 devices before 4.3, there is a
  vulnerability involving the certificate of the device and its RSA keys, aka RBN-183.");

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

  script_tag(name:"affected", value:"cnPilot R200/201 devices before 4.3");

  script_tag(name:"solution", value:"Update to 4.3 or newer.");

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

  script_xref(name:"URL", value:"https://support.cambiumnetworks.com/file/3f88842a39f37b0d4ce5d43e5aa21bf1c4f9f1ca");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_cambium_cnpilot_consolidation.nasl");
  script_mandatory_keys("cambium_cnpilot/detected");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

cpe_list = make_list("cpe:/o:cambiumnetworks:cnpilot_r200_firmware",
                     "cpe:/o:cambiumnetworks:cnpilot_r201_firmware");

if (!infos = get_app_version_from_list(cpe_list: cpe_list, nofork: TRUE))
  exit(0);

version = infos["version"];

if (version_is_less(version: version, test_version: "4.3")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "4.3");
  security_message(port: 0, data: report);
  exit(0);
}

exit(99);