News for hackers. Stuff that matters.
Re:Firefox 59 to strip path information from referrer values... by weinzierl on Thursday February 01, 2018 @05:07PM (#16286386)
> To help prevent third party data leakage while browsing privately, Firefox Private Browsing Mode will remove path information from referrers sent to third parties starting in Firefox 59.

Emphasis mine.

It only does it in private mode. I experimented with the referrer options mentioned in the article with mixed success. Not sending the referer header breaks some sites and often in a non-obvious way.

EDIT: referrer header -> referer header

Re:Firefox 59 to strip path information from referrer values... by JepZ on Thursday February 01, 2018 @05:43PM (#16286672)
Well, probably I would be fine if they would remove the referrer completely (if it has a different domain than the current site, otherwise they might notice the tampering).

After all the referrer is useful for the site owner, not for the browser user.

Re:Firefox 59 to strip path information from referrer values... by tzakrajs on Thursday February 01, 2018 @07:26PM (#16287260)
Some websites rely (at least in part for verification) on referrer for the authentication process, I can imagine that causing some headaches for people.
Re:Firefox 59 to strip path information from referrer values... by jacquesm on Thursday February 01, 2018 @09:06PM (#16287807)
Frankly: that's their problem. If your business model revolves around client side security then you have other problems.
Re:Firefox 59 to strip path information from referrer values... by Fnoord on Friday February 02, 2018 @04:14AM (#16289366)
I get what you're saying and I agree but it is a bit more nuanced. Say you want to read a certain news article, and if you get referred to it by Google you can read it, otherwise not. Now, lets say you've been finding news articles to read that way via Google the past years. Suddenly, with Firefox 59, this no longer works. Without even informing the user. That is not user-friendly.
Re:Firefox 59 to strip path information from referrer values... by jacquesm on Friday February 02, 2018 @05:32AM (#16289618)
Sites should be penalized for giving preference to one kind of link over another. Why should Google have even more of an upper hand than they already have?

To me this is a super good illustration of why we probably should get rid of the 'Referer' (sic) header altogether.

Re:Firefox 59 to strip path information from referrer values... by Fnoord on Friday February 02, 2018 @05:51AM (#16289676)
Agreed, but the short-term loser of this change is the non-technical customer who's workflow is suddenly broken, and only in Firefox, and only in version 59.

Apparently only in Private Mode though which makes my use case probably less common.

Thing is, do you remember the uproar about addons being broken in Firefox 57? It was for good (security) reasons but many non-technical users don't understand or respect the pros and cons. All they see is their workflow being broken.

Re:Firefox 59 to strip path information from referrer values... by jacquesm on Friday February 02, 2018 @07:14AM (#16289948)
Even I as a technical user saw my workflow broken and to this day it hasn't been resolved. So point taken. Also: I'm not convinced that the FF57 reasons were as good as stated, it seemed mostly a case of 'we can therefore we do and here are some reasons to make you feel good'. A backwards compatibility switch to override the change would have been the least.

Only Microsoft seems to really understand backwards compatibility.

Re:Firefox 59 to strip path information from referrer values... by Sylos on Friday February 02, 2018 @05:18PM (#16294660)
> A backwards compatibility switch to override the change would have been the least.

They changed so much in the code base which broke compatibility with the old system that they would have pretty much had to do a hard fork and include both Firefox versions into the download in order to provide this; pretty much doubling maintenance cost as well.

On the flip side, they do now actually have an actual extension API, abstracting away from that code base, making it much more unlikely that such a breakage will be necessary in the future, and it especially also prevents those frequent smaller breakages that were commonplace with every new Firefox release up until 57.

Re:Firefox 59 to strip path information from referrer values... by dhimes on Friday February 02, 2018 @09:51AM (#16290863)
Yep. They are going to fire up Chrome, find it works, and go from there.
Re:Firefox 59 to strip path information from referrer values... by CodeWriter23 on Friday February 02, 2018 @11:58AM (#16292060)
> Some websites rely (at least in part for verification) on referrer for the authentication process, I can imagine that causing some headaches for people.

You mean some websites that fail to employ the best practice of “don’t trust external input”. Yes that applies to easily-spoofed headers.

Re:Firefox 59 to strip path information from referrer values... by tzakrajs on Friday February 02, 2018 @12:17PM (#16292219)
They don't rely on it for authentication alone, usually it's a secondary or tertiary method that can block a login.
Re:Firefox 59 to strip path information from referrer values... by theossuary on Thursday February 01, 2018 @09:39PM (#16287957)
Even still it still passes along the domain, so that'd still be possible. I'd guess that nobody would need to validate past the domain (and/or subdomain) level.
Re:Firefox 59 to strip path information from referrer values... by Pxtl on Thursday February 01, 2018 @11:23PM (#16288398)
Any that we'd actually heard of?
Re:Firefox 59 to strip path information from referrer values... by wastedhours on Friday February 02, 2018 @05:13AM (#16289577)
For things like small-time affiliate systems maybe?
Re:Firefox 59 to strip path information from referrer values... by fulafel on Saturday February 03, 2018 @09:39AM (#16297770)
Referrer checking is a standard way to avoid CSRF vulnerabilities.

https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(...

Re:Firefox 59 to strip path information from referrer values... by hk__2 on Thursday February 01, 2018 @05:48PM (#16286705)
> It only does it in private mode

Yes, I think it should be in the HN title otherwise it feels like clickbait.

Re:Firefox 59 to strip path information from referrer values... by danso on Thursday February 01, 2018 @05:16PM (#16286443)
Maybe they could add it for an advanced setting, but having it opt-out for normal browsing might not be desirable for the average user (if not sending headers breaks popular sites).
Re:Firefox 59 to strip path information from referrer values... by franciscop on Thursday February 01, 2018 @05:30PM (#16286567)
Just curious, did it break any popular website?
Re:Firefox 59 to strip path information from referrer values... by DerDangDerDang on Thursday February 01, 2018 @05:56PM (#16286749)
They actually did a study before making the change. Pretty cool. https://blog.mozilla.org/data/2018/01/26/improving-privacy-w...
Re:Firefox 59 to strip path information from referrer values... by seba_dos1 on Thursday February 01, 2018 @06:23PM (#16286912)
Not exactly what you ask for, but just as a note: I had to add Polish online train ticket service to the whitelist in Smart Referer add-on, as it always fails with meaningless "invalid site call" error otherwise :P
Re:Firefox 59 to strip path information from referrer values... by djsumdog on Thursday February 01, 2018 @06:17PM (#16286879)
I breaks a lot of things that do hotlink checks.

Maybe only allow a referrer from the same site policy?

Re:Firefox 59 to strip path information from referrer values... by robocat on Thursday February 01, 2018 @06:41PM (#16287013)
> [It] breaks a lot of things that do hotlink checks.

The majority of hotlink checking is to disable cross-domain hotlinking, which is not affected by this change.

This change could only negatively affect hotlinking that is permitted.

A site that wishes to hotlink to another may need to set a Referrer-Policy sso that the referer is passed through for images at all times.

Re:Firefox 59 to strip path information from referrer values... by Feniks on Thursday February 01, 2018 @05:47PM (#16286697)
It will break forums and imageboards in my experience. Perhaps due to CAPTCHA.
Re:Firefox 59 to strip path information from referrer values... by Zancarius on Thursday February 01, 2018 @06:23PM (#16286914)
I think it's due to dubious "security" implementations, including at least one that was (?) present in a rather notorious PHP message board software package [1]. I'd be surprised if this survived all these years later, but then I've also seen some custom session handling code in my travels that did something similar even as recently as 2-3 years ago.

Some image boards do it to prevent casual hot-linking, as my sibling poster notes.

[1] https://tracker.phpbb.com/browse/PHPBB3-8396

Re:Firefox 59 to strip path information from referrer values... by beached_whale on Thursday February 01, 2018 @06:19PM (#16286889)
Lots of sites use it to prevent other sites from stealing bandwidth
Re:Firefox 59 to strip path information from referrer values... by arghwhat on Friday February 02, 2018 @04:22AM (#16289395)
Have you tried spoofing the Referer to the target URL? That's an option in Firefox too, in case a Referer is needed.

I have referer completely disabled. It's nice.