Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 31 guests online
You are here:
Home
Resources
Tutorials
Why directory browsing is important?
EH-Net
May 23, 2013, 02:42:17 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Resources
>
Tutorials
(Moderator:
don
) >
Why directory browsing is important?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Why directory browsing is important? (Read 6731 times)
0 Members and 1 Guest are viewing this topic.
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Why directory browsing is important?
«
on:
September 20, 2012, 04:40:23 PM »
hi guys.
In all of pentest learning videos which i watch they always say check the webserver to find directory browsing addresses u can find it via nikto or the robots.txt file.
I've find some directory browsing addresses in my friend's site during the pentest now what? What can i do with it? I just report it or have we some methods to penetrate with directory browsing?
Totally why directory browsing is important?
Logged
ICS Academy Network Security Certified
ajohnson
Recruiters
Hero Member
Offline
Posts: 1057
aka dynamik
Re: Why directory browsing is important?
«
Reply #1 on:
September 20, 2012, 04:50:40 PM »
You simply don't want to readily disclose directory contents. There may be files like db.conf.php.old001 or tax_return2011.pdf lying around somewhere. Granted, such files shouldn't be on a web server in the first place, but if someone forgets about them or makes a mistake, you don't want them openly displayed for the entire world to see.
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: Why directory browsing is important?
«
Reply #2 on:
September 20, 2012, 05:05:50 PM »
Quote from: ajohnson on September 20, 2012, 04:50:40 PM
You simply don't want to readily disclose directory contents. There may be files like db.conf.php.old001 or tax_return2011.pdf lying around somewhere. Granted, such files shouldn't be on a web server in the first place, but if someone forgets about them or makes a mistake, you don't want them openly displayed for the entire world to see.
Ok man so u mean i must report them to turn the directory service off that set? Nothing more?
Logged
ICS Academy Network Security Certified
ajohnson
Recruiters
Hero Member
Offline
Posts: 1057
aka dynamik
Re: Why directory browsing is important?
«
Reply #3 on:
September 20, 2012, 05:11:32 PM »
Correct. You could add a warning about making sure only necessary files are present, etc., and add some extra value, but the core solution is indeed just disabling directory browsing.
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
tturner
Sr. Member
Offline
Posts: 432
Re: Why directory browsing is important?
«
Reply #4 on:
September 20, 2012, 05:41:08 PM »
Also it doesn't stop at the directory you are currently viewing. Just because the current directory doesn't display anything interesting doesn't mean that $path/../../../../../etc/passwd isnt viewable (have to play with the path's here, can sometimes be loaded by script paths, templates, cookies, hidden form fields, etc.) Check out
https://www.owasp.org/index.php/Testing_for_Path_Traversal
for more info.
Logged
Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP
WIP: OSWP, GSSP-JAVA, GXPN
Udacity on hold, again. I suck.
http://sentinel24.com/blog
@tonylturner
http://bsidesorlando.org
superkojiman
Jr. Member
Offline
Posts: 60
Re: Why directory browsing is important?
«
Reply #5 on:
September 20, 2012, 10:49:37 PM »
Quote from: Cyber.spirit on September 20, 2012, 04:40:23 PM
I've find some directory browsing addresses in my friend's site during the pentest now what? What can i do with it?
Depends. Sometimes nothing. Other times, you might find something that reveals more about the site, such as services, or users on the server, configuration files, etc.
Logged
OSCP, GSEC
m0wgli
Full Member
Offline
Posts: 248
Re: Why directory browsing is important?
«
Reply #6 on:
September 21, 2012, 02:08:29 AM »
You can also try and find hidden directories and content through brute force using tools such as dirbuster for example:
https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project
Logged
Security + | OSWP | eCPPT | CSTA
Cyber.spirit
Sr. Member
Offline
Posts: 351
The World is sick, Save your mind...
Re: Why directory browsing is important?
«
Reply #7 on:
September 21, 2012, 02:48:49 AM »
Quote from: m0wgli on September 21, 2012, 02:08:29 AM
You can also try and find hidden directories and content through brute force using tools such as dirbuster for example:
https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project
Wow man thank u what a great source i haven't known that. I'll try to find some sensitive data thanx again
Logged
ICS Academy Network Security Certified
rance
Full Member
Offline
Posts: 212
<censored>
Re: Why directory browsing is important?
«
Reply #8 on:
September 21, 2012, 11:31:35 AM »
To pile on top of what everyone else said, if you find old app files, like login.php.bak, guess what, you can download that file and get the raw PHP code, which may contain sql connection credentials, code level notes like:
/* if a user puts in special characters, they can access resources they shouldn't. will fix soon */
All sorts of goodies... This could give you all sorts of juicy tidbits of info for further attacks.
Logged
Poking at security since 1986. +++ATH
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
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:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(4) by
Agoonie
Greetings
: Hi from the UK
(4) by
MrTuxracer
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(0) by
prats84
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(27) by
don
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.