Wilders Security Forums  

Go Back   Wilders Security Forums > Other Security Topics > other security issues & news
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old February 18th, 2002, 07:20 AM
Paul Wilders's Avatar
Paul Wilders Paul Wilders is offline
Administrator
 
Join Date: Jul 2001
Location: The Netherlands
Posts: 12,461
Default browsers allowing cross-scripting

Quote:
Summary
The Content-Type header of an HTTP object defines its MIME type, which in turn defines how the object should be handled. A number of web browsers ignore this header, resulting in the object being mis-handled. This can lead to cross-site scripting vulnerabilities in some web-based applications.


Details
Vulnerable systems:
Internet Explorer
Opera Web Browser

A number of header fields are defined for HTTP that give meta-information about the object being supplied. One such header, the Content-Type, defines the MIME type of the object, which in turn specifies how the object should be handled by web browsers.

Failure to honor the MIME type of an object can lead to a number of security related problems, such as cross-site scripting.

Microsoft Internet Explorer (versions 5.x and 6 tested with all available security bundles and related bug fixes) and under some configurations Opera web browsers fail to honor the text/plain MIME type and will interpret the object as text/html. This in turn results in any embedded scripts within the object being executed.

One implication of this is that web applications that explicitly use a text/plain MIME type in order to protect their users from client-side scripting are being denied that protection by their users using vulnerable web browsers.

A number of WebMail and Bulletin Board systems are likely to be susceptible to this issue.

Netscape and Mozilla browsers do not have this problem.

Notes:
1. Microsoft Security Bulletin MS01-058 addresses a vulnerability in the handling of MIME types in Internet Explorer. That bulletin addresses separate issues, and the subsequent patch does not fix the problem described above.

2. Microsoft released a security fix bundle for IE on 11 February 2002 (MS02-005) that "eliminates all previously discussed security vulnerabilities". This security problem is not addressed in that bundle.

3. Similar issues regarding IE handling of MIME types have previously been discussed in: Microsoft TechNet Article Q258452

Workaround:
* Internet Explorer - disable scripting.

* Opera - select "File->Preferences->Applications->File types" and then check the "Determine action by MIME type" option.

Example:
A request for an object such as:
*http://www.example.net/ [altered - forum admin0

That would then return a document such as:

* *HTTP/1.1 200 OK
* *Date: Mon, 04 Feb 2002 14:13:00 GMT
* *Server: Apache/1.3.22 (Unix)
* *Content-Type: text/plain

* *<h1>xx script</h1>
* *<p>
* *<script>alert(xxxxx)</script> (altered by forum admin)

Results in the embedded Java Script being executed by the web browser, even though it has a text/plain MIME type.

Vendor status:
Advisory Sent to Microsoft (secure@microsoft.com).
A bug report was filed with Opera.

source: www.securiteam.com

regards.

paul


__________________
01110010 01100101 01100111 01100001 01110010 01100100 01110011 00100000 01110000 01100001 01110101 01101100
  #2  
Old February 20th, 2002, 12:25 PM
jvmorris jvmorris is offline
Firewall Moderator
 
Join Date: Feb 2002
Posts: 618
Default Re: browsers allowing cross-scripting

Thanks, well now, that might just explain a few things seen recently, ehh?? *
__________________
Regards,
Joseph V. Morris
  #3  
Old February 20th, 2002, 01:21 PM
Paul Wilders's Avatar
Paul Wilders Paul Wilders is offline
Administrator
 
Join Date: Jul 2001
Location: The Netherlands
Posts: 12,461
Default Re: browsers allowing cross-scripting

Indeed Joseph.

On a side note and quite OT: the mentioned MS patch has caused quite a lot antiviruses lots of trouble - PC-Cillin, and others for example.

regards.

paul
__________________
01110010 01100101 01100111 01100001 01110010 01100100 01110011 00100000 01110000 01100001 01110101 01101100
 

Wilders Security Forums > Other Security Topics > other security issues & news « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:18 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums