Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security Advice Please?Security Advice Please?
Previous
 
Next
New Post
1/21/2009 6:40 AM
 

Hello,

I have a customer with a DNN website running on my server.

They bank with HSBC who have done a security analysis of their website using the company www.securitymetrics.com

The report shows that their site has failed with 6 risks.

Luckily, 5 of the risks have been ranked as low, but 1 has been ranked as a risk level of 4, which is a fail.

I was wondering if anyone could help me try and overcome the level 4 risk so their site passes this security analysis?

The only problem is that I am on a shared hosted server and I am 100% sure that the hosting company will not reconfigure the server just for me....

Anyway, this is the information on the level 4 threat....

Synopsis : The remote ASP.NET web server does not have custom errors set Description : The remote ASP.NET web server is configured to show verbose error messages, which might lead into the disclosure of potential sensitive information about the remote installation (such as the path under which the remote web server resides) or about the remote ASP.NET applications.

Is this just a case of chaning the <customErrors mode="Off" /> setting in the web.config file?

Thanks for any help....

Trev


www.taxiroute.co.uk - Get a Fare Price!
 
New Post
1/21/2009 10:30 AM
 

 Yea, it should be a case changing the customErrors to look something like this

<customErrors mode="On">
    <error statusCode="404" redirect="FileNotFound.aspx" />
</customErrors>

Create a FileNotFound.aspx (or you could use FileName.html, incase there is an ASP problem) and put it in the root of your website, and it should be fixed.

 
New Post
1/21/2009 3:02 PM
 

actually, you don't even need to do that. The default value we ship with in the web.config is RemoteOnly ( http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx ), which doesn't show verbose errors. I suspect that either you have the value set to Off (which does show verbose errors), or the company who did the audit tested using localhost (RemoteOnly shows verbose errors locally, not remotely).

Note, server errors (level 500) are handled by dotnetnuke's event system, so the only errors which can be captured by customErrors are items such as 404 and 300 level errors.

Finally, please feel free to email any security audits to security@dotnetnuke.com, so we can evaluate them and see if there are issues we might need to address. All information sent into that address is under NDA.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/23/2009 6:44 AM
 

Thanks...

I have changed it from Off to RemoteOnly

Trev


www.taxiroute.co.uk - Get a Fare Price!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security Advice Please?Security Advice Please?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out