Lucene search
+L

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

🗓️ 25 Aug 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 16 Views

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

Refs
Code
# SPDX-FileCopyrightText: 2009 Greenbone AG
# 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-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.100257");
  script_version("2025-01-17T15:39:18+0000");
  script_tag(name:"last_modification", value:"2025-01-17 15:39:18 +0000 (Fri, 17 Jan 2025)");
  script_tag(name:"creation_date", value:"2009-08-25 21:06:41 +0200 (Tue, 25 Aug 2009)");
  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_MIXED_ATTACK);
  script_tag(name:"qod_type", value:"remote_analysis");
  script_family("Web Servers");
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_dependencies("gb_get_http_banner.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("InterVations/banner");

  script_tag(name:"summary", value:"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.");

  script_tag(name:"impact", value:"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.");

  script_tag(name:"affected", value:"NaviCOPA Web Server 3.01 is vulnerable. Other versions may also
  be affected.");

  script_tag(name:"solution", value:"The vendor reports that NaviCOPA 3.01, with a release date of February
  6, 2009, addresses this issue. Contact the vendor for details.");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33585");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/500626");

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

  exit(0);
}

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

port = http_get_port(default:80);

banner = http_get_remote_headers(port: port);
if(!banner || !egrep(pattern:"Server:.*InterVations", string:banner))
  exit(0);

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 {

  if(http_is_dead(port:port))
    exit(0);

  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(99);

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