Lucene search

K
openvasCopyright (C) 2014 Greenbone Networks GmbHOPENVAS:1361412562310103907
HistoryFeb 17, 2014 - 12:00 a.m.

Siemens Scalance X-200 Series Switches Insufficient Entropy Vulnerability

2014-02-1700:00:00
Copyright (C) 2014 Greenbone Networks GmbH
plugins.openvas.org
9

8.3 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

COMPLETE

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

6.6 Medium

AI Score

Confidence

Low

0.007 Low

EPSS

Percentile

80.7%

Siemens Scalance X-200 Series switches are prone to a
vulnerability in the entropy of random number generator.

# Copyright (C) 2014 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:siemens:scalance_";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103907");
  script_cve_id("CVE-2013-5709");
  script_version("2022-12-05T10:11:03+0000");
  script_tag(name:"cvss_base", value:"8.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:C");

  script_name("Siemens Scalance X-200 Series Switches Insufficient Entropy Vulnerability");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/62341");
  script_xref(name:"URL", value:"http://blog.ioactive.com/2014/02/the-password-is-irrelevant-too.html");

  script_tag(name:"last_modification", value:"2022-12-05 10:11:03 +0000 (Mon, 05 Dec 2022)");
  script_tag(name:"creation_date", value:"2014-02-17 17:18:56 +0100 (Mon, 17 Feb 2014)");
  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_vul");
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2014 Greenbone Networks GmbH");
  script_dependencies("gb_simatic_scalance_consolidation.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("siemens/simatic/scalance/http/detected");

  script_tag(name:"impact", value:"Remote attackers can exploit this issue to hijack web sessions
  over the network without authentication. Other attacks are also possible.");

  script_tag(name:"vuldetect", value:"Check if it is possible to read the configuration file with an
  HTTP GET request.");

  script_tag(name:"insight", value:"By requesting /fs/cfgFile.cfg it is possible to read the config
  of the remote device.");

  script_tag(name:"solution", value:"Updates are available.");

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

  script_tag(name:"summary", value:"Siemens Scalance X-200 Series switches are prone to a
  vulnerability in the entropy of random number generator.");

  script_tag(name:"affected", value:"Siemens Scalance X-200 Series switches running firmware
  versions prior to 5.0.0 are vulnerable.");

  exit(0);
}

include("http_func.inc");
include("host_details.inc");
include("http_keepalive.inc");

if(!infos = get_app_port_from_cpe_prefix(cpe:CPE_PREFIX, service:"www"))
  exit(0);

port = infos["port"];
cpe = infos["cpe"];

if(!get_app_location(cpe:cpe, port:port, nofork:TRUE))
  exit(0);

url = "/fs/cfgFile.cfg";

if(http_vuln_check(port:port, url:url, pattern:"CLI\\SYSTEM")) {
  report = http_report_vuln_url(port:port, url:url);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

8.3 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

COMPLETE

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

6.6 Medium

AI Score

Confidence

Low

0.007 Low

EPSS

Percentile

80.7%

Related for OPENVAS:1361412562310103907