Microsoft KB Archive/899807

= Credentials that are provided to ISA Server are sent in an unprotected form =

Article ID: 899807

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2004 Standard Edition
 * Microsoft Internet Security and Acceleration Server 2004 Service Pack 1
 * Microsoft Internet Security and Acceleration Server 2004 Enterprise Edition
 * Microsoft Internet Security and Acceleration Server 2000 Service Pack 2
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft BackOffice Small Business Server 2000 Service Pack 1

-





INTRODUCTION
Under specific circumstances, Microsoft ISA Server will request Basic authentication or Forms-based authentication over an HTTP connection. If the client application responds to this authentication request, the user credentials will be passed in Base64 encoded (Basic) format or in plain-text (FBA) format to ISA Server. In both cases, the credentials that are provided to ISA Server are sent in an unprotected form. This problem does not occur when Integrated, or Digest, authentication is used. This kind of authentication sends credentials in a protected form.

Note ISA Server 2000 Web publishing listeners do not support forms-based authentication.



MORE INFORMATION
This scenario occurs when either of the following two conditions are true.

Condition 1
Condition 1 occurs when the ISA Server administrator wants to support HTTPS requests and one of the following configurations:
 * Rejection of HTTP-based requests
 * Automatic redirection to an HTTPS request by using a custom ISA Server error page (12217R.htm)

Note ISA Server Help discusses how to create custom error pages.

In Condition 1, the Web listener has the following settings:
 * On the Preferences tab, Enable HTTP is selected.
 * On the Preferences tab, Basic or OWA Forms-Based authentication is selected. The Require all users to authenticate option is not selected.

Additionally, a Web publishing rule exists with the following settings:
 * Allow is selected on the Action tab.
 * The Authentication option on the Action tab includes Basic or OWA Forms-Based authentication.
 * On the Traffic tab, HTTP is listed in the This rule applies to traffic of the following protocols box.
 * On the Listener tab, a Web listener is configured as described in this section.
 * On the Users tab, the This rule applies to requests from the following user sets box contains any combination of the following users:
 * All Authenticated Users
 * Any specific user or user group

Condition 2
Condition 2 typically occurs when the ISA Server administrator does not understand the implications of combining clear-text authentication over HTTP. In this case, a Web listener has the following settings:
 * On the Preferences tab, Enable HTTP is selected.
 * On the Preferences tab, Basic or OWA Forms-Based authentication is selected. The Require all users to authenticate option is also selected.



ISA Server 2000
Because no ISA Server 2000 workaround exists for this issue, an ISA Server 2000 update has been created. For more information, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=E579813B-0372-45BE-8070-3F4D7D4CB89C

ISA Server 2004

 * 1) Open the ISA Management console.
 * 2) Click Firewall Policy.
 * 3) In the Task pane, click the Toolbox tab, and then expand the Web Listeners node.
 * 4) If appropriate, modify each Web Listener entry according to Web Listener Configuration.
 * 5) If appropriate, modify each Web Publishing rule entry according to Web Publishing Rule Configuration.
 * 6) When you are finished, click Apply to commit the changes to ISA Server policy storage.

Web listener configuration
 For each Web listener that is found under the Web Listeners node, follow these steps:  Right-click the listener, and then click Properties. Click the Preferences tab. If the Enable HTTP and Enable HTTPS options are both selected, click Authentication. If either of the Basic or OWA Forms-Based options is selected, go to step 2. </li> Create a new listener. To do this, follow these steps:  Right-click the listener, and then click Copy.</li> Right-click the listener, and then click Paste.</li> Rename the new listener. For example, type _HTTP .</li> Rename the original listener. For example, type _HTTPS .</li></ol> </li> Modify the  _HTTP listener as follows:  Right-click the listener, click Properties.</li> Click the Preferences tab.</li> Click to clear the Enable SSL button.</li> Click to select the Authentication button.</li> Click to clear the Basic or OWA Forms-Based option.</li> Click Apply, and then click OK to close the dialog box.</li></ol> </li> Modify the  _HTTPS listener as follows:  <li>Right-click the listener, and then click Properties.</li> <li>Click the Preferences tab.</li> <li>Click to clear the Enable HTTP check box.</li> <li>Click Apply, and then click OK to close the dialog box</li></ol> </li> <li>Repeat for each remaining Web listener.</li></ol>

Web publishing rule configuration
<ol> <li>For each Web publishing rule, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Right-click the rule, and then click Properties.</li> <li>Click the Listener tab.</li> <li>If the Listener properties settings match the settings that are described in the &quot;Condition 1&quot; or &quot;Condition 2&quot; sections, go to step 2.</li></ol> </li> <li>Follow these steps to split the rule into separate rules: <ol style="list-style-type: lower-alpha;"> <li>Right-click the rule, and then click Copy.</li> <li>Right-click the rule again, and then click Paste. (This action puts the new rule before the old rule.)</li> <li>Rename the new rule. For example, type _HTTP .</li> <li>Rename the old rule. For example, type _HTTPS .</li></ol> </li> <li>Modify the  _HTTP rule as follows: <ol style="list-style-type: lower-alpha;"> <li>Right-click the rule, and then click Properties.</li> <li>Click the Listener tab.</li> <li>Click the appropriate  _HTTP listener.</li> <li>Click the Authentication button.</li> <li>Click to clear the Basic or OWA Forms-Based check box.</li> <li>Click the Users tab.</li> <li>If the list contains All Authenticated Users or specific users and groups, empty the list by repeatedly clicking Remove.</li> <li>Click Add, click All Users, and then click Add .</li> <li>Click to clear the Forward Basic authentication credentials (Basic delegation) check box.</li> <li>Click Apply, and then click OK to close the dialog box.</li></ol> </li> <li>Modify the  _HTTPS rule as follows: <ol style="list-style-type: lower-alpha;"> <li>Right-click the rule, and then click Properties.</li> <li>Click the Listener tab</li> <li>Click the appropriate  _HTTPS listener.</li> <li>Click the Authentication button.</li> <li>Click to select Basic or OWA Forms-Based authentication as appropriate.</li> <li>Click the Users tab.</li> <li>If the list contains All Authenticated Users or specific users and groups, go to step 5.</li> <li>Click Add, click All Users, and then click Add.</li> <li>Click to select the Forward Basic authentication credentials (Basic delegation) check box.</li> <li>Click Apply, and then click OK to close the dialog box.</li></ol> </li> <li>Repeat steps 2 through 4 for each Web publishing rule.</li></ol>

Keywords: kbinfo kbsecurity kbprb kbpubtypekc atdownload KB899807

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.