[FIXED] Flash SetVariable overwritten in trusted sites

Bug reports and enhancement requests
Post Reply
longsleep
Posts: 4
Joined: Tue Oct 15, 2013 12:20 pm

[FIXED] Flash SetVariable overwritten in trusted sites

Post by longsleep »

Hi,

i got reports from one of my customers that one of our existing flash based services has stopped working. After a while of debug i was able to nail this down to NoScript Firefox addon.

NoScript always seems to overwrite the GetVariable and GetVariable functions of flash object element, even when the site is a trusted site. When unchecking the Disable Adobe Flash checkbox in the additional embedded options section of the NoScript configuration things start working. All these parameters are listed below a section header that they are only used for untrusted sites. The option to apply these settings also for trusted sites is not checked.

I can reproduce this issue in NoScript 2.6.8.3 and the current development version (Windows 7 32bit, Firefox 24, Flash 11.9).

One can easily test with this form (use the Tto Flash SetVariable test):
http://www.bobbyvandersluis.com/swfobje ... c_com.html


Please let me know if this is a bug.


Thanks
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
User avatar
therube
Ambassador
Posts: 7972
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Flash SetVariable overwritten in trusted sites

Post by therube »

(Long URL get truncated on an edit or preview, unless they're in tags.)

Suppose one of these is it?
http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_com.html

http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic_com.html
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 5.1; rv:26.0) Gecko/20100101 SeaMonkey/2.23a2
longsleep
Posts: 4
Joined: Tue Oct 15, 2013 12:20 pm

Re: Flash SetVariable overwritten in trusted sites

Post by longsleep »

Oh sorry.

Its one of the Browser communication test page (we use dynamic embed)

http://www.bobbyvandersluis.com/swfobje ... c_com.html
Last edited by Thrawn on Tue Oct 15, 2013 11:28 pm, edited 1 time in total.
Reason: Language
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
longsleep
Posts: 4
Joined: Tue Oct 15, 2013 12:20 pm

Re: Flash SetVariable overwritten in trusted sites

Post by longsleep »

Btw - the corresponding functions are overwritten in

get _flashPatch() function

inside file components/noscriptService.js (line 5128 in current version).
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
User avatar
Giorgio Maone
Site Admin
Posts: 9530
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Flash SetVariable overwritten in trusted sites

Post by Giorgio Maone »

Fixed in latest development build 2.6.8.4rc1, thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
longsleep
Posts: 4
Joined: Tue Oct 15, 2013 12:20 pm

Re: Flash SetVariable overwritten in trusted sites

Post by longsleep »

I confirm that the fix works fine (2.6.8.4rc1). Thank you!
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36
Post Reply