Secunia Logo
 
Microsoft ASP.NET Unicode Conversion Cross-Site Scripting
Secunia Advisory: SA14214
Release Date: 2005-02-18
Last Update: 2005-02-21
Popularity: 14,297 views

Critical:
Less critical
Impact: Cross Site Scripting
Where: From remote
Solution Status: Unpatched

Software:ASP.NET 1.x
Microsoft .NET Framework 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-0452


Description:
Andrey Rusyaev has discovered a vulnerability in ASP.NET, which potentially can be exploited by malicious people to conduct cross-site scripting and script insertion attacks.

The vulnerability is caused due to an input validation error in the filtration of special HTML characters supplied as unicode characters in the "Request Validation" and "HttpServerUtility.HtmlEncode" security mechanisms. This can e.g. be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site via a script returning user input without sanitation.

Successful exploitation requires that the response encoding has been set to a national ASCII codepage (not default setting).

The vulnerability has been confirmed in Microsoft .NET Framework version 1.1.4322.573. The vulnerability has also been reported in .Net Framework version 1.0 (service pack 2 and prior) and 1.1 (service pack 1 and prior).

Solution:
Set the response encoding to unicode (default setting).

Provided and/or discovered by:
Andrey Rusyaev

Changelog:
2005-02-21: Added CVE reference.

Original Advisory:
http://it-project.ru/andir/docs/aspxvuln/aspxvuln.en.xml


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Symantec Backup Exec for Windows Servers Multiple Vulnerabilities // 40 views
2. Alex Multiple Products File Upload Vulnerability // 36 views
3. HP OpenView Network Node Manager Cross-Site Scripting Vulnerabilities // 34 views
4. ClipShare "chid" SQL Injection Vulnerability // 34 views
5. imlib2 XPM Processing Buffer Overflow Vulnerability // 33 views
6. MauryCMS "c" SQL Injection Vulnerability // 30 views
7. MailScanner "trend-autoupdate" Insecure Temporary Files // 28 views
8. MyTopix "send" SQL Injection Vulnerability // 26 views
9. refbase "headerMsg" Cross-Site Scripting Vulnerability // 25 views
10. P3nfs Insecure Temporary Files // 23 views