Exposed X-OWA-Version HTTP Header reveals Exchange server Build number

Saisree, Tenali 20 Reputation points
2024-02-13T22:13:59.4766667+00:00

I would like to disclose X-OWA-Version from HTTP response headers as it is revealing Exchange Server Build info. I have tried to create Blank outbound rule using URLrewrite, post which OWA returned 500 URL rewrite Module error.

I would like to know detailed procedure on on how to disclose this info from response HTTP headers.

your response/help would be greatly appreciated. Thank you.

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,130 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
521 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,424 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kael Yao-MSFT 37,586 Reputation points Microsoft Vendor
    2024-02-14T05:39:03.29+00:00

    Hi @Saisree, Tenali,

    This question may be more related to IIS than Exchange.

    Please kindly note that we mainly focus on Exchange and may not be very familiar with IIS.

    For better support I would suggest creating a new thread and add the IIS related tags.

    Thanks for your understanding.


    To my knowledge, you can follow below link to remove the headers in IIS:

    Remove Unwanted HTTP Response Headers

    While please note that since this is not documented in any official Exchange documentations, it may possibly cause issues to your environment.

    In my test, I am using the IIS url rewrite method.

    Below are the test steps:

    1.before the change, access OWA in browser and confirmed X-OWA-Version header is present in the response

    01

    2.In IIS on the Exchange server, locate server>IIS rewrite url, create a server variable named RESPONSE_X-OWA-Version

    03

    04

    3.back to former page, create an outbound rule like below

    05

    4.restart IIS and check the response again (now it is blank)

    06


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Saisree, Tenali 20 Reputation points
    2024-02-14T10:38:39.71+00:00

    Hi Kael, You are a Champ. I have followed the steps provided by you and it worked perfectly.
    Much Appreciated!!! Thank you so much :) :)

    0 comments No comments