Page 1 of 1

ABE Sandbox action and same-site (i)frames

Posted: Sun Dec 08, 2013 4:51 am
by Guest
Currently the ABE Sandbox action breaks many web pages because it indiscriminately blocks all frames and iframes, even those loading content from the same site as their parent.
Is there a security reason for this behaviour? Otherwise, a configuration option to allow same-site (i)frames would make ABE Sandbox rules much more useful.

Re: ABE Sandbox action and same-site (i)frames

Posted: Sun Dec 08, 2013 12:16 pm
by therube
Particular sites where this happens?
Particular rules that you are using?

Re: ABE Sandbox action and same-site (i)frames

Posted: Sun Dec 08, 2013 8:33 pm
by Guest
therube wrote:Particular sites where this happens?
http://krautchan.net/
therube wrote:Particular rules that you are using?
Site krautchan.net
Sandbox

krautchan.net ist just an example - any ABE sandboxed frameset page will appear empty, frame content source doesn't matter.

Re: ABE Sandbox action and same-site (i)frames

Posted: Sun Dec 08, 2013 11:36 pm
by Thrawn
I'm thinking that Sandbox was probably intended originally as an XSS defence. In which case, the site is potentially compromised and scripts coming from it shouldn't be automatically trusted.

Re: ABE Sandbox action and same-site (i)frames

Posted: Mon Dec 09, 2013 12:05 am
by Guest
Thrawn wrote:I'm thinking that Sandbox was probably intended originally as an XSS defence. In which case, the site is potentially compromised and scripts coming from it shouldn't be automatically trusted.
Sandbox filtering scripts and other active contents - including third-party (i)frames - is reasonable, but blocking content from the same site just because it would load in an (i)frame doesn't make sense to me.

Re: ABE Sandbox action and same-site (i)frames

Posted: Mon Dec 09, 2013 10:36 pm
by Thrawn
Do you understand the idea of cross-site scripting?

Re: ABE Sandbox action and same-site (i)frames

Posted: Tue Dec 10, 2013 6:29 am
by Guest
Thrawn wrote:Do you understand the idea of cross-site scripting?
So the best solution would be an about:config preference similar to noscript.forbidIFramesContext but for the ABE Sandbox.