LFD - Local file Download / Disclosure 05-17-2014, 02:43 PM
#1
Hey everyone, i found something interesting
for our " Website Hacking Section "
Local File Download/Disclosure. 龙
imagine we have a website where we can download files on the website like this :
Now if we do this replace 123.pdf with download.php like this :
now if it successfully downloads the download.php, it has LFD Vulnerability. For getting information on the site we can get index.php instead of download.php file, or any other file u want to download, from the server
so now, we have downloaded the file to our computer, we can check for valuable things in the source code, such as logins and other valuable info
for instance, on some servers u can download configuration.php
An example of a vulnerable webserver :
龙 Shared by me for the Community
Have fun and stay Safe..
for our " Website Hacking Section "
Local File Download/Disclosure. 龙
imagine we have a website where we can download files on the website like this :
Code:
download.php?file=123.pdfNow if we do this replace 123.pdf with download.php like this :
Code:
download.php?file=download.phpnow if it successfully downloads the download.php, it has LFD Vulnerability. For getting information on the site we can get index.php instead of download.php file, or any other file u want to download, from the server
so now, we have downloaded the file to our computer, we can check for valuable things in the source code, such as logins and other valuable info
for instance, on some servers u can download configuration.php
An example of a vulnerable webserver :
Code:
http://www.goldenking.gr/download.php?file=download.phpCode:
http://www.goldenking.gr/download.php?file=index.php龙 Shared by me for the Community

Have fun and stay Safe..
龙 Knowledge is Power--
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)















