Exchange Server 2007: How to disable the Options panel in Outlook Web Access in Exchange Server 2007
By TechSupport
SUPPORT PROBLEM: How to disable the Options panel in Outlook Web Access in Exchange Server 2007
Applications Supported:
COPYRIGHT NOTICE: (c) 2007 Microsoft Corporation. All rights reserved.
SUPPORT SOLUTION:
This article describes how to disable the Options panel in Outlook Web Access (OWA) in Exchange Server 2007. The intention is to provide a work around for the publicly disclosed Exchange vulnerability. The attack is a Cross-Site Request Forgery attack in which a user is tricked into visiting a malicious webpage that is crafted specifically for the target Exchange organization. This could allow for the attacker to perform actions on behalf of the user, such as adding new inbox rules and changing other OWA user Options. To reduce the risk of this problem, you can completely disable the Options page by using UrlScan. You can use UrlScan to block known parts of the URLs which are used to access the options pages in OWA.Note Options pages are where most of the user level settings and rules in OWA reside..UrlScan
3,
UrlScan is an IIS feature which uses an ISAPI filter to process http requests sent to the OWA website. Every request first passes through this filter before the request is processed by Exchange Server. There are predictable patterns within the query string portion and the body of every request transmitted to OWA Options pages. The predictable patterns can be used to selectively deny the requests. Note UrlScan will deny every request for accessing or for updating the Options items or the rules in OWA. These include requests from legitimate users within the organization. To download UrlScan 32bit, visit the following Microsoft website:Download UrlScan 32bit
(http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ee41818f-3363-4e24-9940-321603531989)
To download UrlScan 64bit, visit the following Microsoft website:Download UrlScan 64bit
(http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=361e5598-c1bd-46b8-b3e7-3980e8bdf0de)
For more information about UrlScan, visit the following Microsoft website:General information about UrlScan
( http://learn.iis.net/page.aspx/473/using-urlscan)
.Disabling Options in Exchange Server 2007
Installation
3,
You have to set up UrlScan to be a filter for the OWA website. For more information about how to set up UrlScan, visit the following website: How to set up UrlScan
(http://learn.iis.net/page.aspx/475/urlscan-setup/)
After you install UrlScan, the ISAPI filter on your computer resembles the following:Collapse this imageExpand this imageThe UrlScan.ini File Setting
3,
Set the UrlScan.ini file with the settings shown underneath. All the strings specified in “DenyOWAOptions” are searched in the URL and query string. If they occur, the request is denied by IIS.[Options]UseAllowVerbs=0AllowDotInPath=1 RuleList=BlockOptionsInOWA[BlockOptionsInOWA]ScanURL=1ScanQueryString=1DenyDataSection=DenyOWAOptions[DenyOWAOptions]ae=Optionsns=Optionsns=RulesOptionsns=JunkEmailns=DumpsterListViewEnd-user Experience
3,
After you install UrlScan and configure the settings, users can log on to OWA as the following picture shows: Collapse this imageExpand this imageHowever, when a user clicks on the Options button on the upper-right corner, the user receives the following 403 error message:Collapse this imageExpand this imageAdministrative Tasks
3,
The UrlScan install directory also has a log file that contains the details of which requests were blocked and the reason for blocking. For example, you may see some information resembles the following information in the log file:2010-07-16 23:50:23 157.56.147.48 1 GET /owa/?ae=Options&opturl=Messaging Rejected rule+’BlockOptionsInOWA’+triggered query+string - ae=optionsThe administrator can use standard IIS log parsing tools, such as LogParser, to obtain more information and statistics about the logs. For more information about how to query these logs, visit the following website: How to query logs
(http://learn.iis.net/page.aspx/476/common-urlscan-scenarios/ )
.Disabling Options in Exchange Server 2003
UrlScan cannot be used in Exchange Server 2003 to disable the Options panel or the Rules panel. .
For File Repair and Data Recovery, visit File Repair / Data Recovery