Solved

"This web server leaks a private IP address through its HTTP headers" - OWA problem.

Posted on 2010-08-26
9
1,577 Views
Last Modified: 2012-05-10
This relates directly to this post:

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_24906199.html?sfQueryTermInfo=1+10+30+address+header+http+ip+it+leak+privat+server+through+web

Had the same problem as in the post listed above.  PCI compliance scan returned the error quoted in the title.  I used the accepted solution given by JerrytheGreat, and it worked - I reran the PCI compliance scan, and passed.  However, now I'm unable to access Outlook Web Access from within my network, using either the mail.mydomain.com/exchange URL, or the internal IP/exchange address.  Outside the network, OWA is working fine.  I did restart IIS after applying the solution, like the post indicated.

The post I linked to mentions problems with OWA, but says that the script in the Accepted Solution doesn't cause any problems with OWA.  In my case, it appears to have caused a problem.

Any help is appreciated.  

Thanks.
0
Comment
Question by:krlaw6
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 33538665
0
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 33538672
What is the error you get when you access the OWA internally?
0
 

Author Comment

by:krlaw6
ID: 33538774
shreedhar:

No error.  The first time I tested it, a login dialog box popped up, and I put in my UN and PW, and got nothing but a blank white screen.  Every time I tried after that, I just got a blank screen - no login prompt.
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:krlaw6
ID: 33538786
shreedhar:

The article you linked to was one I had already read.  And in it, the only difference from the script I used was that it used the "UseHostName" command, which apparently definitely "broke" OWA, and later, if you read the comments, someone else suggests the "SetHostName" instead, which is the command I used.  And the person who used Set instead of Use seems to be indicating that this took care of the IP leaking problem without any adverse effects on OWA.  But that hasn't been the case for me.
0
 
LVL 6

Accepted Solution

by:
JerrytheGreat earned 500 total points
ID: 33547791
One thing you may ve dealing with is an egress filtering setting on your firewall/router. If you have a business-class firewall like Watchguard or Sonicwall, is does not allow you to access internal computers using external names/addresses.
the easiest way I have found to work around this issue is to create an extra zone in your DNS server. Crate a primary zone with 9your domain, and than eass A records for youe web and mail servers.
If this doesn't fix it, then simply delete the new zone you created--no harm done.
JTG
0
 
LVL 6

Expert Comment

by:JerrytheGreat
ID: 33547801
To confirm, you left the usehostname setting alone, right?
If not, you need to run:
C:\Inetpub\AdminScripts> cscript.exe adsutil.vbs set w3svc/1/UseHostName false
To put it back

JTG
0
 

Author Comment

by:krlaw6
ID: 33548214
JerrytheGreat -

I did leave Use alone, and only used Set.  (Read through all the comments in the refernced question, and saw that Use created problems, and Set didn't.)  And I do have one of the firewalls you referenced.

As far as creating the zone in the DNS server, based on what I've been told by a colleague, I think that may be exactly what I need to do.  However, I have zero experience with it, and my attempts have failed to resolve the issue.  (Tried just now, and it was promising at first - I got a login prompt rather than just the blank white screen I've been getting, but when I tried to log in, got an Error: Access Denied message.)

Any chance of getting a little more of a walk-through with creating the DNS zone?

Thanks.
0
 
LVL 6

Expert Comment

by:JerrytheGreat
ID: 33551394
In DNS, you want to create a new zone. this would be a standard, primary zone, not active directory integrated.
Name th ezone you public domain, e.g. joesribs.com
Then right-click in the new zone and select "new A record"
the first host name is "www" (your web server), and then put the ip of you website in, and click add. To look up these ip addresses, just open a command prompt and ping them, (e.g. ping www.joesribs.com) and read the address from the command prompt.Now do the same for "mail" and any other names you may have for your domain.
That's it.
JTG
0
 

Author Closing Comment

by:krlaw6
ID: 33580588
To clarify, I was able to fix the problem by adding a rule to my firewall.  The idea was suggested to me by this comment mentioning the firewall.  However, I was never able to successfully create the DNS zone that fixed the problem.  

So, to recap, the problem was fixed, but not by the DNS entry.  Rather it was fixed by a firewall fix, which was suggested in this answer.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

717 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