Solved

Default/Sample Web Directories Exist

Posted on 2009-05-04
9
268 Views
Last Modified: 2012-05-06
Many web directories that are installed by default contain sample files that were not meant for external access. These files could contain potentially sensitive system or propriety information that could be accessible by an external attacker. In addition a lot of these sample files and folders are vulnerable to known exploits and attacks that, at a minimum, could result in a denial of service attack, or lead to complete system compromise in a worst case scenario.
0
Comment
Question by:Brijeshk9
9 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 24301825
Nice statement.  Did you have a question?
0
 

Author Comment

by:Brijeshk9
ID: 24301897
its one of the Website Vulnerabilities identified by scanner, Now i need solution on it....?
0
 
LVL 14

Expert Comment

by:agriesser
ID: 24302350
Depending on the Apache version you're running, you can simply shut off these directories (like the documentaion alias, etc.) unload unneeded server modules like the serverinfo and status modules, etc.

To disable/modify virtual host configurations on Apache2 based webservers, go to the directory "/etc/apache2/sites-enabled", look through all the symlinks in there and remove the ones you don't need.
Don't worry, if you accidentally deleted one they're still there in the "/etc/apache2/sites-available" directory and can be re-established with the command `ln -s /etc/apache2/sites-enabled/NAME /etc/apache2/sites-available/NAME`.

Then, when you have tuned your webserver configuration, you can have a look at the modules that are loaded in your server and wipe out the ones that are not needed. The enabled modules are (like the VHosts) in a separate directory which is called /etc/apache2/mods-enabled (vs. /etc/apache2/mods-available where all available modules are listed) and remove the ones you don't need.

After you're done, reload the apache configuration with `/etc/init.d/apache2 reload` and run your scanning tool again to find out if things got better.

Unfortunately, without knowing what your scanning tool has mentioned as security flaws I cannot give you an exact answer about what to disable and what not. That also mostly depends on what your applications need from your webserver.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:Brijeshk9
ID: 24310577
Please find the below given evidences given by scanning Tool:..
http://XX.XX.XX.XX/uddi/ 
http://XX.XX.XX.XX/help/index.htm
http://XX.XX.XX.XX/uddi/inquiry
http://XX.XX.XX.XX/uddi/demo/jsp/searchForm.jsp
[NOTE: WHERE XX IS MENTIONED AS IP]
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 24333265
Did you create those directories and files or were they installed by default?

If you created them, ignore the warning.  If they were installed by default then agriesser has already provided the solution.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 24333558
> Now i need solution on it..
I'm pretty sure the scanner told you what should be done (otherwise get your money back:)

Anyway, you either simply have to remove the default web site, or configure the web server to deny access to it.
0
 

Author Closing Comment

by:Brijeshk9
ID: 31577886
Problem resolved
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now