Lucene search
K

NaviCOPA Web Server Remote Buffer Overflow and Source Code Information Disclosure Vulnerabilities

🗓️ 25 Aug 2009 00:00:00Reported by This script is Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

NaviCOPA Web Server Remote Buffer Overflow and Source Code Information Disclosure Vulnerabilitie

Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: NaviCOPA_33585.nasl 5390 2017-02-21 18:39:27Z mime $
#
# NaviCOPA Web Server Remote Buffer Overflow and Source Code Information Disclosure Vulnerabilities
#
# Authors:
# Michael Meyer
#
# Copyright:
# Copyright (c) 2009 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 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.
###############################################################################

tag_summary = "NaviCOPA Web Server is prone to a remote buffer-overflow vulnerability
and an information-disclosure vulnerability because the application
fails to properly bounds-check or validate user-supplied input.

Successful exploits of the buffer-overflow issue may lead to the
execution of arbitrary code in the context of the application or
to denial-of-service conditions. Also, attackers can exploit the
information-disclosure issue to retrieve arbitrary source code in
the context of the webserver process. Information harvested may
aid in further attacks.

NaviCOPA Web Server 3.01 is vulnerable; other versions may also
be affected.";

tag_solution = "The vendor reports that NaviCOPA 3.01, with a release date of February
6, 2009, addresses this issue. Contact the vendor for details.";

if (description)
{
 script_id(100257);
 script_version("$Revision: 5390 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-21 19:39:27 +0100 (Tue, 21 Feb 2017) $");
 script_tag(name:"creation_date", value:"2009-08-25 21:06:41 +0200 (Tue, 25 Aug 2009)");
 script_bugtraq_id(33585);
 script_tag(name:"cvss_base", value:"6.8");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");

 script_name("NaviCOPA Web Server Remote Buffer Overflow and Source Code Information Disclosure Vulnerabilities");


 script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"remote_banner");
 script_family("Web Servers");
 script_copyright("This script is Copyright (C) 2009 Greenbone Networks GmbH");
 script_dependencies("gb_get_http_banner.nasl");
 script_require_ports("Services/www", 80);
 script_mandatory_keys("InterVations/banner");
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/33585");
 script_xref(name : "URL" , value : "http://www.navicopa.com/");
 script_xref(name : "URL" , value : "http://www.securityfocus.com/archive/1/500626");
 exit(0);
}


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

port = get_http_port(default:80);
if(!get_port_state(port))exit(0);

banner = get_http_banner(port: port);
if(!banner)exit(0);

if(egrep(pattern:"Server:.*InterVations", string:banner))
 {
   if(safe_checks()) {

     if(!version_date = eregmatch(pattern:"Version ([0-9.]+).*(200[0-9]+)", string: banner))exit(0);
     if(version_is_equal(version:version_date[1], test_version: "3.01") && version_date[2] < 2009) {
        security_message(port:port);
	exit(0);
     }  
   } else {  
      crapData = crap(length: 60000);
      url = string("/", crapData);
      req = http_get(item:url, port:port);
      res = http_keepalive_send_recv(port:port, data:req, bodyonly:TRUE);

      if(http_is_dead(port:port)) {
         security_message(port:port);
         exit(0); 
      }
   }
 }
exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation