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
Solved

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

Posted on 2010-08-26
9
1,549 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

808 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