NoScript crashing FireFox on banking site

Bug reports and enhancement requests
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

therube wrote:So maybe ? you'll be OK with blacklisting: -waf1x.anz.com ?
I'll try that later today and see if we can log in. Thanks for digging down into this problem.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

therube wrote: -waf1x.anz.com is definitely instrumental in the hang.
When I go to anz.com.au (with XSS disabled) NoScript only lists:
-qualtrics.com
-liveperson.net
-demdex.net
+anz.com.au

When I go to the logon page (with XSS disabled) NoScript lists:
-demdex.com
-omtrdc.net
+anz.com
but no sign of:
waf1x.anz.com
mstcl3.anz.com
ctmdx.anz.com
cdn.tt.omtrdc.net
tt.omtrdc.net
australianewzealandb.tt.omtrdc.net
anz.demdex.net

I guess maybe you get a different set of sites because of your location? Anyway, I think for the meantime we'll stick to Opera for our banking and I'll see if I can get my head around RegEx stuff. I wish there was a user-friendly way to deal with this and I also wish the banks didn't make it so hard for ordinary people to protect themselves. Thanks for your help, I appreciate it a lot.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript crashing FireFox on banking site

Post by Thrawn »

I still can't reproduce the hang here. Temp-allowed anz.com and demdex.net, but marked omtrdc.net as untrusted. Loads without any trouble.
======
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:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript crashing FireFox on banking site

Post by barbaz »

jaydear wrote:I guess maybe you get a different set of sites because of
... a difference in settings in NoScript Options > Appearance... perhaps therube has "Full Domains" checked & you don't?
*Always* check the changelogs BEFORE updating that important software!
-
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: NoScript crashing FireFox on banking site

Post by therube »

perhaps therube has "Full Domains" checked
Yes, I did do that, so I could find, see, ###.anz.com, & then not allow (or blacklist) it.
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:41.0) Gecko/20100101 SeaMonkey/2.38
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

Thrawn wrote:I still can't reproduce the hang here. Temp-allowed anz.com and demdex.net, but marked omtrdc.net as untrusted. Loads without any trouble.
It'll load, but the hang occurs when you attempt to enter a Customer Registration Number, or in my case, simply place the cursor over that window.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

therube wrote:
perhaps therube has "Full Domains" checked
Yes, I did do that, so I could find, see, ###.anz.com, & then not allow (or blacklist) it.
I've always just had Base 2nd level domains selected because I understood that it just shortened displayed addresses by leaving off the "http://www." or "www." bits. At least that's how it looks to me in the Options panel :? Anyway, I have persevered a bit further and found that if I wait for the hang to time out, it hangs again if I click in the logon window again, but after that hang times out an error window opens with a lot of indecipherable code snippets in it... http://postimg.org/image/j4ubrq149/
Last edited by jaydear on Wed Oct 14, 2015 8:43 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript crashing FireFox on banking site

Post by barbaz »

jaydear wrote:I'd send a jpg, but I can't see how - It's here on my desktop,
Upload it to an image hosting site like postimg or imgur, and then post the link here.
*Always* check the changelogs BEFORE updating that important software!
-
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

Done. Edited previous post.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript crashing FireFox on banking site

Post by barbaz »

That error is one symptom of the XSS filter complaining about window.name tampering by bank sites, and actually was not out of place in the other thread (seems it's all part of the same problem)

Try latest development build. If that doesn't work:
1) try this XSS exception

Code: Select all

^@https://waf1x\.anz\.com/
(allow https:\\waf1x.anz.com to XSS any site)
2) if that still doesn't work, try this instead

Code: Select all

^@https://(?:[^/:]+\.)?anz\.com(?:\.au)?/
(allow *all* of anz.com & anz.com.au to XSS any site)
*Always* check the changelogs BEFORE updating that important software!
-
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

Installed v2.6.9.39rc1 - no change
Added first RegEx - no change
Removed first RegEx and added second one - Success! :D

Many thanks, we can now log on without any hint of a hang!
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: NoScript crashing FireFox on banking site

Post by Thrawn »

jaydear wrote:
Thrawn wrote:I still can't reproduce the hang here. Temp-allowed anz.com and demdex.net, but marked omtrdc.net as untrusted. Loads without any trouble.
It'll load, but the hang occurs when you attempt to enter a Customer Registration Number, or in my case, simply place the cursor over that window.
Nope, no hang here.

Glad you got it fixed, though.
======
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:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript crashing FireFox on banking site

Post by barbaz »

yw, glad you got it working Image

While it's probably safe enough given the lack of console messages from the XSS filter in your case, note that that exception is just a work-around. The real fix is for the site to stop messing with window.name, instead use a safer means to pass data around (e.g. XmlHttpRequest/CORS over HTTPS - or, if same-origin will suffice, localStorage/sessionStorage, or perhaps IndexedDB).
*Always* check the changelogs BEFORE updating that important software!
-
jaydear
Posts: 15
Joined: Tue Oct 13, 2015 3:41 am

Re: NoScript crashing FireFox on banking site

Post by jaydear »

I'm assuming that ANZ is not alone in using this type of coding if the other NS users that have had similar problems are anything to judge by.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
barbaz
Senior Member
Posts: 11092
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript crashing FireFox on banking site

Post by barbaz »

yeah, it indeed seems like there's some one or two widely used scripts or script suites for banks & financial sites that's doing this unsafe behavior.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply