unsafe reload only partially works

Ask for help about NoScript, no registration needed to post
zbowling
Posts: 1
Joined: Thu Aug 06, 2009 12:17 am

unsafe reload only partially works

Post by zbowling »

I get warned about possible XSS here.

http://www.buzzfeed.com/gustavoa/tools-using-tools-4bf

Using "Unsafe reload" doesn't entire fix the issue.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Grumpy Old Lady
Senior Member
Posts: 240
Joined: Fri Jul 03, 2009 7:20 am

Re: unsafe reload only partially works

Post by Grumpy Old Lady »

Oh, if a person's determined enough they can dig through that mess.
Using a clean profile with default NS 1.9.7.9, once the first reload unsafe was done, if I opened the frame on its own and reload unsafe, allow, then reload unsafe again and voila! a flash placeholder.

Without NS, those messy scripts take up enough processing real estate that the UI in this small portable is basically frozen.
Same in 3.5.1
Thank heavens for NS.

Apologies for being a little off topic.
There will be help here soon I'm sure :-)
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: unsafe reload only partially works

Post by Giorgio Maone »

@zbownling:
you shouldn't get those warnings in first place, because the request injecting embed elements is not cross-site.
That's likely an actual bug that I'm investigating (XSS checks should be only for cross-site requests, by default), but it's apparently unrelated to your report.

However the site is actually vulnerable to XSS "by design", and unsafe reload is working as expected for me (i.e. it reloads the offending frame without the XSS filters).
Then I need to allow the frame content, which is a Flash embed, but that's another story.

Could you define "partially", i.e. what you expected from unsafe reload and what you're getting instead.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: unsafe reload only partially works

Post by therube »

(Note that there are two domains, buzzfeed.com & buzzfed.com.)

With my current settings, I get all kinds of weirdness.
buzz* not Allowed, everything in Plugins checkmarked

buzzfeed comes up with Unsafe Reload
OK the Unsafe Reload
a buzzfed URL comes up with "http://www.buzzfed.com/embed/_script?tag=" displaying
if I Allow buzzfed, then another Unsafe Reload
with this displaying:

Code: Select all

object width 425 height 344 > param NAME movie value http://www.youtube.com/v/-Frk2H-g3CQ&color1 0xb1b1b1&color2 0xcfcfcf&hl en&feature player_embedded&fs 1 > /param> param NAME allowFullScreen value true > /param> param NAME allowScriptAccess value always > /param> embed src http://www.youtube.com/v/-Frk2H-g3CQ&color1 0xb1b1b1&color2 0xcfcfcf&hl en&feature player_embedded&fs 1 type application/x-shockwave-flash allowfullscreen true width 425 height 344 > /embed> /object>
OK the Unsafe Reload
& the Flash placeholder comes up (Youtube)
Allow that & the car is all wet

---

if I Allow buzzfeed & buzzfed, the Unsafe Reload goes away, but then so does the Flash placeholders (which do show if everythng is Not allowed

---

if I uncheck <I/FRAME> & also Apply these restrictions to trusted sites too
Allow buzz* ...

suffice to say, all kinds of craziness going on.

I'll get the "code" for the Flash rather then the place holders (in the "buzzfeed" web page - different from above)

Code: Select all

object width 425 height 344 > param NAME movie value http://www.youtube.com/v/-Frk2H-g3CQ&color1 0xb1b1b1&color2 0xcfcfcf&hl en&feature player_embedded&fs 1 > /param> param NAME allowFullScreen value true > /param> param NAME allowScriptAccess value always > /param> embed src http://www.youtube.com/v/-Frk2H-g3CQ&color1 0xb1b1b1&color2 0xcfcfcf&hl en&feature player_embedded&fs 1 type application/x-shockwave-flash allowfullscreen true width 425 height 344 > /embed> /object>
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; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Firefox/2.0 SeaMonkey/1.1.17
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: unsafe reload only partially works

Post by Giorgio Maone »

therube wrote:(Note that there are two domains, buzzfeed.com & buzzfed.com.)
Thanks, I utterly missed that.
It means there's no NoScript bug here 8-)
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
Post Reply