Rugged Operating System Private Key Disclosure Vulnerability

2013-01-04T00:00:00
ID OPENVAS:1361412562310103635
Type openvas
Reporter This script is Copyright (C) 2013 Greenbone Networks GmbH
Modified 2018-10-12T00:00:00

Description

Rugged Operating System is prone to an information-disclosure vulnerability.

Attackers can exploit this issue to obtain the SSL certificate

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ros_55123.nasl 11865 2018-10-12 10:03:43Z cfischer $
#
# Rugged Operating System Private Key Disclosure Vulnerability
#
# Authors:
# Michael Meyer <michael.meyer@greenbone.net>
#
# Copyright:
# Copyright (c) 2013 Greenbone Networks GmbH
#
# 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 = "cpe:/o:ruggedcom:ros";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103635");
  script_bugtraq_id(55123);
  script_cve_id("CVE-2012-4698");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
  script_version("$Revision: 11865 $");

  script_name("Rugged Operating System Private Key Disclosure Vulnerability");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/55123");
  script_xref(name:"URL", value:"http://www.ruggedcom.com/");

  script_tag(name:"last_modification", value:"$Date: 2018-10-12 12:03:43 +0200 (Fri, 12 Oct 2018) $");
  script_tag(name:"creation_date", value:"2013-01-04 13:15:52 +0100 (Fri, 04 Jan 2013)");
  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner");
  script_family("General");
  script_copyright("This script is Copyright (C) 2013 Greenbone Networks GmbH");
  script_dependencies("gb_ros_detect.nasl");
  script_require_ports("Services/www", 80, "Services/telnet", 23);
  script_mandatory_keys("rugged_os/installed");
  script_tag(name:"solution", value:"Vendor updates are available. Please see the references for more
information.");
  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"summary", value:"Rugged Operating System is prone to an information-disclosure
vulnerability.

Attackers can exploit this issue to obtain the SSL certificate's
private key and use it to decrypt SSL traffic between an end user and
a RuggedCom network device.

Rugged Operating System 3.11.0 and previous versions are affected.");
  exit(0);
}

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

if(!vers = get_app_version(cpe:CPE))exit(0);

if(version_is_less(version:vers, test_version:"3.11.0")) {
  security_message(port:0);
  exit(0);
}

exit(99);