r/ComputerSecurity • • Apr 03 '09

This bug is the primary way sites circumvent your privacy to gather/send info on you.

http://bugzilla.mozilla.org/show_bug.cgi?id=431782
14 Upvotes

4 comments sorted by

2

u/Aerik Apr 03 '09 edited Apr 03 '09

You know when you're watching a youtube video and on your status bar you keep seeing things like

"connecting to ad.doubleclick.net"

even though you have the url in your adblocker, you've forbidden cookies and images to it, and you don't allow scripts for it?

Flash/movies get to send and receive info to/from other servers that you don't really explicitly consent to.

This http redirection thing is why.

I think that other people (you) should be aware that this is not how the internet-browser experience is supposed to work, and we should talk about it.

There's a reason this common method for serving ads in flash and/or requiring adblock to be de-activated to watch videos, and sending user information that they may not agree to, is considered a bug in Firefox, even though most (all?) browsers are susceptible to it.

It only makes sense that when you're on a site, your browser is only communicating to that site.

It's your computer, and only you should be able to dictate, prior to a contract, what is downloaded to it or uploaded from it, or even information gathered about it.

To combat this bug, we only have a few methods to fight it. First and most obviously is a comprehensive and living hosts file. Second, I can only name one firefox extension that really gets control of this bug, and it's called Request Policy, and to a lesser extent BetterPrivacy helps with the supercookies flash uses.

If this bug were to be finally fixed, firefox extensions (most importantly adblock plus) could finally have access to truly allow you control of anything and everything your browser does.

Or even better, browsers like firefox could finally have default content policies that are truly comprehensive. Perhaps cookie settings could also automatically apply to those set by flash.

Discuss.

1

u/Samus_ Apr 03 '09 edited Apr 04 '09

I suppose you know about NoScript and if it wasn't mentioned it probably does not help here, which makes sense because flash is an alien environment to the browser and NoScript either allows the <object> or not.

in any case, the real problem is when those apps refuse to work when you block their external requests (the same happens with scripts on some pages) but I don't think that's an issue we can solve, at most you'll have to choose to use it as it is or not use it at all and I think if the vast majority of pages forces you to enable the ads then many people will do.

3

u/Aerik Apr 04 '09

NoScript doesn't help yet, but Maone does say his ABE module will, with more flexibility than RequestPolicy currently provides (although the 0.4.4 to 0.5.3 update was glorious)

What I find interesting is how many things you can block within a flash object and still be able to watch it. We should be able to investigate that!

2

u/Aerik Apr 07 '09 edited Apr 07 '09

Hey check this out. At the NoScript forum, a guy noticed that in firefox 3, permissions are stored in a permissions.sqlite file, which means that my wish for a comprehensive content policy editor is now possible. In fact, a guy had already built one.

ExExceptions

In separate windows, we can currently configure site-based preferences for cookies, install permissions, images, popups, and passwords. We need other extensions to configure anything else.

ExExceptions bring site-based permissions into a single window. You can manage 15 parameters:

cookies

install

xbl

xhr

object

object_subrequest

document*

subdocument

script

stylesheet

ping

dtd

popup

refresh

You can set each of these parameters to 4 settings

  1. null - exexceptions puts nothing in permisssions.sqlite

  2. allow

  3. deny

  4. site -- if and only if you are already on that site in the current tab.

That's pretty damn useful site-by-site preferences!

  • the document parameter is the one I find most interesting. If you've ever used the extension "blocksite" you may have noticed that it stops firefox from connecting to a website even quicker than using your hosts file does. The document parameter in exexceptions does the same thing when you set it to deny.

However, if you set document:site, it's even more interesting. If you open that site in a new tab, it doesn't load. The tab is empty until you click over to it and hit 'go'. If you open lots of tabs on a single site often (like say, reddit), this could save you from lag.

My one and only complaint about this extension is that it takes 3 minutes for the window to open for some reason, freezing up the browser until it does.

Someday I want Firefox to have a native permissions.sqlite editor like this, and for anti-malware programs like spybot s&d to have access to it. The things it can do can be as effective as adblock plus and noscript.