iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Internet Security Discussion Forum This forum is for the discussion of security related issues. If you find a new Phishing scheme, spyware, virus or malicious site - let us know about it. If any of the above found you... here's where you ask for help.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-26-2009, 04:08 PM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,648
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Internet Explorer 8 Cross Site Scripting Filter

Playing around with my new install of Internet Explorer 8, I got the following message in the information bar that shows page-related security alerts...

Quote:
Internet Explorer has modified this page to help prevent cross-site scripting. Click here for more information...
As usual, clicking the information bar only opened a generic help window, with no information about what triggered the filter, or how to correct whatever problem was detected. This tells me that if such a message is encountered on one of my sites, tracking down the issue will be difficult to say the least.

I have already encountered sites that have triggered the filter. Most of these issues were related to advertising code. Unfortunately, there is no easy way to diagnose these issues. A developer needs to install Microsoft's Compatibility Viewer to view the event log generated by the filter. This application can be downloaded from: Microsoft Application Compatibility Toolkit 5.0

Information on the filter can be found here: IEBlog : IE8 Security Part IV: The XSS Filter
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #2 (permalink)  
Old 03-26-2009, 06:39 PM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,678
kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Quote:
Originally Posted by wige View Post
Internet Explorer has modified this page to help prevent cross-site scripting. Click here for more information...
The devil is in the details. Is the correct message:

"Internet Explorer has modified (encapsulated) the parsing of this page to help prevent cross-site scripting. Click here for more information..."

Unless, I see some problems for Microsoft.

Last edited by kgun; 03-26-2009 at 06:41 PM.
Reply With Quote
  #3 (permalink)  
Old 03-27-2009, 10:46 AM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,648
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Well, I think there is more to it than that. The first blog post about this feature indicated that IE would monitor all incoming and outgoing traffic from the browser and modify the code to prevent possible attacks. So, for example, if a URL contained <script> in an attempt to inject javascript, the filter would mangle the outgoing request removing the script code. Similar functions would be performed on suspicious quotes in form fields that might indicate SQL injection, limitations on off-domain scripts, etc.

Most of the pages where I have gotten the warning seem to trigger the filter because of scripting on embedded ads. As a result, the ad is not displayed to the user. Instead, just the javascript code is displayed on the page as plain text.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #4 (permalink)  
Old 03-27-2009, 11:45 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,678
kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Quote:
Originally Posted by wige View Post
Most of the pages where I have gotten the warning seem to trigger the filter because of scripting on embedded ads. As a result, the ad is not displayed to the user. Instead, just the javascript code is displayed on the page as plain text.
Well a new nail in the business model for small companies, even if the page is not changed, only what is presented to the surfer.

It is a new argument for a static brand link model based on a clean link with rel="nofollow" to please Google.

Personally I prefer a model where the surfer decides him / herself by setting the adfilter. It is as I have told very easy to set that even for the new user in Opera.

So webmasters and surfers in all countris join and start using Opera to surf the web.
Reply With Quote
  #5 (permalink)  
Old 03-28-2009, 12:31 AM
deepsand's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2004
Location: Philadelphia, PA
Posts: 3,217
deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Am I to understand that this behavior is wholly independent of any user controllable browser settings?
Reply With Quote
  #6 (permalink)  
Old 03-28-2009, 10:20 AM
DaveSawers's Avatar
WebProWorld Veteran
 
Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 492
DaveSawers RepRank 3DaveSawers RepRank 3
Default Re: Internet Explorer 8 Cross Site Scripting Filter

I thought it was time to download this new IE8 to see what happens with my sites. These posts were getting me a little concerned.

I'm running Vista Home Premium and the download was quick and problem free. However, IE8 overwrote IE7 without asking if I might want to keep the older version, just as it did when upgrading from IE6 to 7. This isn't a problem for me as I have other computers that I can use to check older versions of IE on and I use Firefox as my day to day developing tool.

None of my sites needed compatibility mode and none of them produced any cross site scripting problems. Not all the HTML on my sites is standard as some of the sites are quite old. Some use Adsense and the newer ones make extensive use of AJAX.

IE8 did pick up one coding error in the site I'm working on at the moment which is an AJAX implementation of an oil industry desktop application. I'd missed a '>' off the end of a div declaration which Firefox passed over. Since I only made that code change yesterday the error was unlikely to have made it through to even a test version. Finding the problem with the developer tools in IE8 was quick and easy, so easy in fact that I may consider switching over from Firefox for primary development. Never thought I'd hear myself saying that! If it's at least as good at picking up Javascript problems as Firefox I'll be tempted.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #7 (permalink)  
Old 03-28-2009, 11:05 PM
edhan's Avatar
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Singapore
Posts: 716
edhan RepRank 3edhan RepRank 3edhan RepRank 3
Default Re: Internet Explorer 8 Cross Site Scripting Filter

I think I will wait before jumping into IE8 though the features seem to be good. I did tried the IE8 beta but it is displaying my sites with all the mis-alignment. Guess I will wait until more people are converting to IE8 and I will then be forced to use it. Or maybe I should be trying out with another system and slow make changes to be compatible?
Reply With Quote
  #8 (permalink)  
Old 03-29-2009, 10:39 AM
deepsand's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2004
Location: Philadelphia, PA
Posts: 3,217
deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Quote:
Originally Posted by wige View Post
Most of the pages where I have gotten the warning seem to trigger the filter because of scripting on embedded ads. As a result, the ad is not displayed to the user. Instead, just the javascript code is displayed on the page as plain text.
Hm-mm. The ad wars version of The Empire Strikes Back?
Reply With Quote
  #9 (permalink)  
Old 03-29-2009, 10:49 AM
kgun's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2005
Location: Norway
Posts: 5,678
kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9kgun RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Quote:
Originally Posted by deepsand View Post
Hm-mm. The ad wars version of The Empire Strikes Back?
One description of the Internet. "The world's biggest anarchy".

Now the ad model is "forced upon" us by big companies. May be there has to be an over national agency like WTO | Welcome to the WTO website setting ad standards in cyber space.

Timothy Geithner called for an new risk watchdog the day before yesterday. There is need for a new cyberspace business (more precisely digital advertising) watchdog, too.
Reply With Quote
  #10 (permalink)  
Old 03-29-2009, 06:49 PM
deepsand's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2004
Location: Philadelphia, PA
Posts: 3,217
deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Quote:
Originally Posted by kgun View Post
May be there has to be an over national agency ...
Even were there an international body with both jurisdiction and commensurate power, would you trust it?

Quote:
Originally Posted by kgun View Post
One description of the Internet. "The world's biggest anarchy".
True; but, I prefer anarchy to despotism.
Reply With Quote
  #11 (permalink)  
Old 03-30-2009, 10:49 AM
wige's Avatar
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,648
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Internet Explorer 8 Cross Site Scripting Filter

Quote:
Originally Posted by DaveSawers View Post
If it's at least as good at picking up Javascript problems as Firefox I'll be tempted.
To me, the Javascript checking seems flaky. IE always seems to report problems with vague error messages ("Method does not exist") followed by incorrect line numbers.

Quote:
Originally Posted by deepsand
Am I to understand that this behavior is wholly independent of any user controllable browser settings?
Correct. From what I can tell, it might be possible to somehow turn this feature off, but it is enabled by default and I don't see an easy way to disable it. The user is not prompted, and can not disable the filter when a page is filtered, the way they could enable a download when the download filter is triggered.

Quote:
Originally Posted by edhan View Post
I think I will wait before jumping into IE8 though the features seem to be good. I did tried the IE8 beta but it is displaying my sites with all the mis-alignment. Guess I will wait until more people are converting to IE8 and I will then be forced to use it. Or maybe I should be trying out with another system and slow make changes to be compatible?
There have been some changes between the Beta and the final release. Many issues (such as the one with Google results pages causing an infinite loop) appear to have been corrected. Microsoft has released a VM image that can be used to test IE8 without installing it on your system, as one option.

Quote:
Originally Posted by deepsand View Post
Hm-mm. The ad wars version of The Empire Strikes Back?
I don't know about that. This seems like it should be more of an edge case, just a warning that webmasters need to be careful and test when working with cross-domain scripting.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Internet Security Discussion Forum

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSS: Cross site scripting. An update. kgun Internet Security Discussion Forum 3 09-21-2008 04:02 PM
Site Display on Internet Explorer vs. Mozilla Firefox fortune68 Graphics & Design Discussion Forum 32 02-25-2008 12:04 PM
XPS - Cross Printer Scripting Exploit wige Internet Security Discussion Forum 8 01-26-2008 01:21 PM
It's time to tear down your Internet filter dutter Internet Industry 0 08-23-2006 09:01 PM
Cross-Site Scripting and Spoofing Attacks in Windows ShareP WPW_Feedbot IT Discussion Forum 0 02-09-2005 07:31 PM


All times are GMT -4. The time now is 09:41 PM.



Search Engine Optimization by vBSEO 3.3.0