Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 28 guests online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Resourcesarrow Toolsarrow Really, really good LFI list
EH-Net
May 25, 2013, 06:00:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Really, really good LFI list  (Read 8489 times)
0 Members and 1 Guest are viewing this topic.
Jhaddix
Sr. Member
****
Offline Offline

Posts: 317



View Profile WWW
« on: March 28, 2010, 06:49:53 PM »

Below is a link to my favorite LFI list. This list is a great resource when you finally get "in" and dont just want to settle for etc/passwd.

Check it out:

http://pastie.org/840199
Logged

Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #1 on: March 28, 2010, 07:02:34 PM »

Juicy!  Thanks!
Logged

~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
*****
Offline Offline

Posts: 1633



View Profile
« Reply #2 on: March 28, 2010, 09:24:00 PM »

Sweet!  Thanks, Jason!
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #3 on: March 28, 2010, 11:02:00 PM »

I'll play the newb... What does LFI mean?
Logged

OSWP, Sec+
n1p
Jr. Member
**
Offline Offline

Posts: 89


View Profile WWW
« Reply #4 on: March 29, 2010, 02:16:05 AM »

A nice list there! A few lines of python and that is a handy win/Linux LFI scanner.

@chrisj - LFI is Local File Inclusion - a web app vulnerability that is caused by the developer using local filed within their application. Incorrcectly coded let's an attacker read any file. Although on Linux, this is restricted to the permissions of the server. The format is something like www.ethicalhacker.net/index.php?page=comments.php. A vulnerable fopen function call in php, would allow an attacker to enter   www.ethicalhacker.net/index.php?page=../../etc/passwd to read the file on a Linux server.

There is also RFI which is remote file inclusion and allows remote content (i.e. Another site) to be included. An attacker could include a php shell for example..

n1p
Logged
Synquell
Full Member
***
Offline Offline

Posts: 169



View Profile
« Reply #5 on: March 29, 2010, 08:11:08 AM »

Cheers n1p (and jason ofc Wink), didn't know the term yet either Smiley
« Last Edit: March 29, 2010, 10:06:45 AM by Anquilas » Logged

Twitter: https://twitter.com/dietervds
Blog: https://synquell.wordpress.com (not much there yet)

The beginning of knowledge is the discovery of something we do not understand.
Jhaddix
Sr. Member
****
Offline Offline

Posts: 317



View Profile WWW
« Reply #6 on: March 29, 2010, 09:43:05 AM »

thanks Anquilas,

Correct, any server side code that will read files on the webserver and display them is an LFI.

The list contains the juicy stuff you want to get when you compromise a server this way.

It also serves as just a nice list to get when you pop a box in general =)
Logged

Synquell
Full Member
***
Offline Offline

Posts: 169



View Profile
« Reply #7 on: March 29, 2010, 10:09:22 AM »

I suppose such a list is ideal for making a little script that pulls all those files to your own box, so that you can quickly logoff?
Or would that be bad for some reason, like having a suspicious amount of operations in a small timewindow? (for IDS systems or something, just guessing here)
Logged

Twitter: https://twitter.com/dietervds
Blog: https://synquell.wordpress.com (not much there yet)

The beginning of knowledge is the discovery of something we do not understand.
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #8 on: March 29, 2010, 01:01:05 PM »

You can write a script to take advantage of this list, certainly.   However, several tools, like Paros, Burp, WebScarab, and others have the ability to fuzz requests to a server.   You would use this list to fuzz LFI.
Logged

~~~~~~~~~~~~~~
Ketchup
Jhaddix
Sr. Member
****
Offline Offline

Posts: 317



View Profile WWW
« Reply #9 on: March 29, 2010, 01:10:12 PM »

exactly... once you find your LFI you can use a bash script with curl to iterate through this list and download all files it can access.

Good times.

Logged

UNIX
Hero Member
*****
Offline Offline

Posts: 1235


View Profile
« Reply #10 on: March 30, 2010, 04:13:36 AM »

Nice, thanks Jason.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.073 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.