Solved

PCI Compliant - Custom Error Pages - Default web site - wont work!

Posted on 2014-12-02
17
142 Views
Last Modified: 2015-01-08
Hi All.

We have a client who is failing port 80 - PCI compliance checks.

Navigating to an unknown directory gives away too much information for PCI - See below.

404 Error we dont want
We have tried a few solutions but to no avail. I have re-configured the web.config file as per -  (http://msdn.microsoft.com/en-us/library/994a1482(v=vs.100).aspx

Also added a custom error page in the Inetpub folders for the 'Default Web Site' but the above page is still shown.

Does anyone have a solution to this please as my customer needs to become complaint.

Thank you
Regards
Andy

The st
0
Comment
Question by:AndyKeen
  • 8
  • 5
  • 4
17 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 250 total points
Comment Utility
Do they need port 80 open on their firewall?

As you have SBS in the tags - unless they are hosting a website on port 80 - the port isn't needed for SBS to function properly, so close the port and pass the test.

If you need a website hosted - move it to external hosting somewhere and close the port.

Alan
0
 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Hi Alan.

Thanks for the reply.

In answer to your question, I am not sure - but I don't think they do.

They heavily use RRW which is on port 443 and email is picked up on iPhone, which I believe is SSL secured so port 443 again - and I am not sure how to close port 80 from within SBS 2011.

I can test this so if I can close port 80 and test that would be great - Can you advise how to do this?

Thank you
Andy
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
The port will be open on your firewall / router.  If you stop port forwarding port 80 to the server the problem should go away.

Port 80 on SBS is only used for website traffic and if you don't have any sites hosted on the server (other than the default one), then it won't cause you any pain.

Alan
0
 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Thank you Alan.

let me check this out and I will come back to you.

Regards
Andy
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
No problems - here if you get stuck or have any further questions.
0
 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Hi Alan.

Ok I have closed port 80 on the SBS Firewall.

What I have found is that if I port check, port 80 is closed if I query it by IP address, but its still open if I query it via the URL.

Closing port 80 on the SBS windows firewall did not help.

The client has Microsoft TMG installed - can I close port 80 on here and if so - do you know how.

Thank you.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
Ah - that's a very different ball-game!

Been a long time since I've looked at TMG.
0
 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Join that awful club Alan......
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Can I move back to my original request - that is to configure the custom error pages for IIS / SBS2011.

Can anyone assist with this please - see my question at the top.

Thank you
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
It's not clear from question which version of SBS your client is running.
How many active NICs in the server and what are they connected to?
0
 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Hi Cris.

Thank you for your help - sorry for the delay in replying.

The client has a bit of a strange setup - were talking SBS2011 with once Nic going to a Microsoft TMG Box which in turn has 2 nic cards - one facing-in one facing-out going to.... A Safe@office firewall box - this in turn has two BB connections - One Fibre and One ADSL copper.

Thank you
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
You need to disable port 80 forwarding on both the firewall and the TMG box.
0
 
LVL 1

Author Comment

by:AndyKeen
Comment Utility
Thanks Chris.

I have done this on the windows firewall without success, I am not sure how to do this on TMG.

Do you know this software please and if so - how to do it.

Thank you.
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
Let me see what I can find for you...do you know what version of TMG?
0
 
LVL 35

Assisted Solution

by:Cris Hanna
Cris Hanna earned 250 total points
Comment Utility
Do you know how to access and modify the rules in TMG?  If so, you need to find the rule that passes HTTP or Port 80 to the server.

But ideally you would stop it at  the Safe@office box...then you don't have to worry about tmg configuration
Find the port forwarding rule for port 80 in the Safe@office box and disable/uncheck it.
BTW, checkpoint is discontinuing those devices at the end of this year.
0
 
LVL 35

Expert Comment

by:Cris Hanna
Comment Utility
The other thing I would mention here is that you have two boxes capable of doing the same thing   TMG and the safe@office device.   So you have a bit of an out of the box configuration.

TMG is also discontinued by Microsoft.   I'd get rid of that.

Is your customer storing Credit Card information on their LAN somewhere (which is a very bad practice)
Most of us don't recommend screwing with IIS Default Website as it's likely to wind up breaking OWA or RWA
0
 
LVL 1

Author Closing Comment

by:AndyKeen
Comment Utility
There were two solutions to this issue - firstly the 404 error was being generated by the TMG box NOT SBS - this was my error (Someone had enabled IIS on TMG) - once I stopped IIS on the TMG server the 404 error went away, however Security Metrics PCI then came back with another port 80 issue - so as per the comment and support above I closed Port 80 on the checkpoint firewall after having created rules to allow 443 traffic through first - worked a treat.

For this reason I felt both experts above gave good advice and split the points between them.

Thank you Both
(Sorry for the delay in accepting a solution)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

16 Experts available now in Live!

Get 1:1 Help Now