[NT] Vulnerability in ASP.NET 2.0 Allows Information Disclosure (MS06-056)



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



Vulnerability in ASP.NET 2.0 Allows Information Disclosure (MS06-056)
------------------------------------------------------------------------


SUMMARY

A cross-site scripting vulnerability exists in a server running a
vulnerable version of the .Net Framework 2.0 that could inject a client
side script in the user's browser. The script could spoof content,
disclose information, or take any action that the user could take on the
affected web site. Attempts to exploit this vulnerability require user
interaction.

DETAILS

Vulnerable Systems:
* Microsoft Windows 2000 Service Pack 4
* Microsoft Windows XP Service Pack 1 or Windows XP Service Pack 2
* Microsoft Windows XP Professional x64 Edition
* Microsoft Windows XP Tablet PC Edition
* Microsoft Windows XP Media Center Edition
* Microsoft Windows Server 2003 or Microsoft Windows Server 2003 Service
Pack 1
* Microsoft Windows Server 2003 for Itanium-based Systems or Windows
Server 2003 with SP1 for Itanium-based Systems
* Microsoft Windows Server 2003 x64 Edition

Affected Components:
* Microsoft .NET Framework 2.0
<http://www.microsoft.com/downloads/details.aspx?FamilyId=34C375AA-2F54-4416-B1FC-B73378492AA6> Download the update

Non-Affected Components:
* Microsoft .NET Framework 1.0
* Microsoft .NET Framework 1.1

CVE Information:
<http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3436>
CVE-2006-3436

Mitigating Factors for .NET Framework 2.0 Cross-Site Scripting
Vulnerability:
* In a Web-based attack scenario a compromised Web server an attacker
could inject a client side script in the user's browser. The script could
spoof content, disclose information, or take any action that the user
could take on the affected web site. Attempts to exploit this
vulnerability would require user interaction.

* By default, .NET Framework 2.0 controls do not set the AutoPostBack
property to true.

Workarounds for .NET Framework 2.0 Cross-Site Scripting Vulnerability:
Microsoft has tested the following workarounds. Although these workarounds
will not correct the underlying vulnerability, they help block known
attack vectors. When a workaround reduces functionality, it is identified
in the following section.

* On computers running .NET Framework 2.0, do not set the AutoPostBack
property for controls on a page to true :
* On computers running .NET Framework 2.0 AutoPostBack is a property of
controls on a WebForm. By default the AutoPostBack property is set to
false. For more information, see
<http://support.microsoft.com/?id=328923> Knowledge Base Article 328923.

FAQ for .NET Framework 2.0 Cross-Site Scripting Vulnerability:
What is the scope of the vulnerability?
A cross-site scripting vulnerability may exist in a server running a
vulnerable version of the .Net Framework 2.0 that could inject a client
side script in the user's browser. The vulnerability is within ASP.NET
controls that set the AutoPostBack property to true . In a Web-based
attack scenario a compromised Web site could accept or host user-provided
content or advertisements which could contain specially crafted content
that could exploit this vulnerability.

The script could take any action on the user's behalf that the Web site is
authorized to take. This could include monitoring the Web session and
forwarding information to a third party, running other code on the user's
system, and reading or writing cookies.

What causes the vulnerability?
A cross-site scripting (XSS) vulnerability results from the way that .NET
Framework 2.0 validates the value of an HTTP request.

What is ASP.NET?
<http://www.asp.net/> ASP.NET is a collection of technologies within
the.NET Framework that enable developers to build Web applications and XML
Web Services.

Unlike traditional Web pages, which use a combination of static HTML and
scripting, ASP.NET uses compiled, event-driven pages. This enables
developers to build Web-based applications with the same richness and
functionality usually associated with applications built in languages such
as Visual Basic or Visual C++. Because ASP.NET is a Web-based application
environment, it requires an underlying Web server to provide basic HTTP
functionality. For this reason, ASP.NET runs on top of Internet
Information Services (IIS) 5.0 on Windows 2000, IIS 5.1 on Windows XP, and
IIS 6.0 on Windows Server 2003.

What is AutoPostBack?
AutoPostBack is a property supported by controls in a form. Forms using a
control that supports this property can set the value of this property to
true (the default value is false) which results in control posting back to
the server each time a user interacts with the control.

What is cross-site scripting?
Cross-site scripting (XSS) is a class of security vulnerability that can
enable an attacker to "inject" script code into a user's session with a
Website. The vulnerability can affect Web servers that dynamically
generate HTML pages. If these servers embed browser input in the dynamic
pages that they send back to the browser, these servers can be manipulated
to include maliciously supplied content in the dynamic pages. This can
allow malicious script to be executed. Web browsers may perpetuate this
problem through their assumptions of "trusted" sites and their use of
cookies to maintain persistent state with the Websites that they frequent.
An XSS attack does not modify Website content. Instead, it inserts new,
malicious script that can execute at the browser in the context that is
associated with a trusted server.

How does cross-site scripting work?
Web pages contain text and HTML markup. Text and HTML markup are generated
by the server and are interpreted by the client. If untrusted content is
introduced into a dynamic page, neither the server nor the client has
sufficient information to recognize that this injection has occurred and
to take protective measures.

What might an attacker use the vulnerability to do?
An attacker who successfully exploited this vulnerability on a server
running a vulnerable version of the .Net Framework 2.0, could inject a
client side script in the user's browser. The script could spoof content,
disclose information, or take any action that the user could take on the
affected web site. Attempts to exploit this vulnerability would require
user interaction.

Who could exploit the vulnerability?
In an e-mail attack scenario an attacker could exploit the vulnerability
by sending a specially crafted e-mail message to a user of a server that
is running an affected software application. The attacker could then
persuade the user to click a link in the e-mail message.

In a Web-based attack scenario a compromised Web an attacker could inject
a client side script in the user's browser. The script could spoof
content, disclose information, or take any action that the user could take
on the affected web site. Attempts to exploit this vulnerability would
require user interaction.

What systems are primarily at risk from the vulnerability?
Internet facing systems are primarily at risk from this vulnerability. In
addition, internal Web sites that use ASP.NET to host sensitive data can
be at risk from this vulnerability.

Could the vulnerability be exploited over the Internet?
Yes. An attacker could try to exploit this vulnerability over the
Internet.

What does the update do?
The update removes the vulnerability by modifying the way that .ASP.NET
validates the value of a HTTP request.

When this security bulletin was issued, had this vulnerability been
publicly disclosed?
No. Microsoft received information about this vulnerability through
responsible disclosure. Microsoft had not received any information to
indicate that this vulnerability had been publicly disclosed when this
security bulletin was originally issued.

When this security bulletin was issued, had Microsoft received any reports
that this vulnerability was being exploited?
No. Microsoft had not received any information to indicate that this
vulnerability had been publicly used to attack customers and had not seen
any examples of proof of concept code published when this security
bulletin was originally issued.


ADDITIONAL INFORMATION

The information has been provided by Microsoft Security Bulletin.
The original article can be found at:
<http://www.microsoft.com/technet/security/bulletin/ms06-056.mspx>
http://www.microsoft.com/technet/security/bulletin/ms06-056.mspx



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • SecurityFocus Microsoft Newsletter #171
    ... Better Management for Network Security ... GoodTech Telnet Server Remote Denial Of Service Vulnerabilit... ... ASPApp PortalAPP Remote User Database Access Vulnerability ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #174
    ... This issue sponsored by: Tenable Network Security ... the worlds only 100% passive vulnerability ... MICROSOFT VULNERABILITY SUMMARY ... Novell Netware Enterprise Web Server Multiple Vulnerabilitie... ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter # 150
    ... - automatically set positive security policies for real-time protection, ... MICROSOFT VULNERABILITY SUMMARY ... Meteor FTP Server USER Memory Corruption Vulnerability ... MDaemon SMTP Server Null Password Authentication Vulnerabili... ...
    (Focus-Microsoft)
  • SecurityFocus Microsoft Newsletter #69
    ... LANguard Security Event Log Monitor: ... MICROSOFT VULNERABILITY SUMMARY ... BrowseFTP Client Buffer Overflow Vulnerability ... Michael Lamont Savant Web Server Long Request DoS Vulnerability ...
    (Focus-Microsoft)
  • [NEWS] ePolicy Orchestrator Multiple Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... and use a Thawte Digital Certificate on your MSIIS web server. ... To attack a machine running ePO, an attacker would typically need to be ... MSDE SA account compromise - This vulnerability applies to ePO 2.X and 3.0 ...
    (Securiteam)