Weather site blocked even when NS is turned off

Bug reports and enhancement requests
Post Reply
Thurston S Howell
Posts: 2
Joined: Wed Sep 24, 2014 3:46 am

Weather site blocked even when NS is turned off

Post by Thurston S Howell »

This site's doppler radar (image, animated, etc) won't display even when NoScript is set to globally allow scripts:

http://baynews9.com/content/news/baynew ... radar.html

If I disable the Firefox plugin, it works fine. I don't know what to modify in the settings to allow this one site as whitelisting it did not correct the problem.

Thank you for listening.

T.H.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Weather site blocked even when NS is turned off

Post by therube »

Using a hammer, setting noscript.xss.checkInclusions (about:config) to false gets it working.

So I guess an exception is in order.
(I'll leave that to others.)

Adding s3.amazonaws.com/ to noscript.xss.checkInclusions.exceptions works, but (maybe) that is again too broad? (Ball-peen instead of a mallet.)

Code: Select all

Blocking reflected script inclusion origin XSS from http://baynews9.com/content/news/baynews9/weather/klystron-9-radar.html: https://s3.amazonaws.com/static.baron.web.apps/digitial_wx/widgets/dcms/be2ed1b3-58c4-4742-a921-fd8a5084afa6/live/init.js
embedded by
http://s3.amazonaws.com/static.baron.web.apps/digitial_wx/pages/n2.adaptive/map/index.html?initjson=https://s3.amazonaws.com/static.baron.web.apps/digitial_wx/widgets/dcms/be2ed1b3-58c4-4742-a921-fd8a5084afa6/live/init.js&initjsonvar=initdata
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29
Thurston S Howell
Posts: 2
Joined: Wed Sep 24, 2014 3:46 am

Re: Weather site blocked even when NS is turned off

Post by Thurston S Howell »

How did you perform that analysis to determine the source of the problem script?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Weather site blocked even when NS is turned off

Post by barbaz »

The message in the code block shows up in the Browser Console (Ctrl-Shift-J); from there you just have to know what the message means, and whether it's an actual threat or just a false positive / bad site design, and what to do in each case
In this case, since you didn't know what the message meant, probably it was best to ask for help here. That's what I would have done in your place after finding that any XSS exceptions added in the GUI had no effect on this.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:32.0) Gecko/20100101 SeaMonkey/2.29.1
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Weather site blocked even when NS is turned off

Post by Thrawn »

The number-one question in my mind is: does this poor site design mean that the site is actually vulnerable to XSS?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Post Reply