Solved

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

Posted on 2010-08-26
9
1,521 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
  • 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
 

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

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.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
To show how to generate a certificate request 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 Servers >> Certificates…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

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

11 Experts available now in Live!

Get 1:1 Help Now