Live data from Hacker News

Chromium based browsers leak user local IP via WebRTC foundation attribute

niespodd.github.io

31–40 of 88 posts

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#31

How to disable WebRTC on Firefox Mobile? I have uBlock which prevents from leaking the local IP but I don't want WebRTC at all. Why did they take about:config from us?

Damned if you do, damned if you don’t. Disabling WebRTC would make your Firefox instance extremely unique and thus easily fingerprinted.

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#32

How to disable WebRTC on Firefox Mobile? I have uBlock which prevents from leaking the local IP but I don't want WebRTC at all. Why did they take about:config from us?

Yeah, that one was as annoying as what they did to extensions, but at least the Fennec build in F-Droid has it enabled.

https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#33

Earlier quoted context omitted.

I just tried a clean FF profile with resistFingerprinting enabled. No dice. Everything adds only very few bits of identifying information (unlike my main profile which is already almost unique thanks to the accept header (English, then German)) yet it still results in 17.75 bits which according to EFF is unique. I’m agreeing with you, though I wonder, is there any way to not be unique? What would you have to do? Use…

I believe the only feasible way without bending over backwards is to use the Tor Browser. But privacy and security always come at a price.

Actually, resistFingerprinting + switching to the user-agent string tor uses gets me 99% of the way there. All that’s missing is the weird window size (vertical taskbar), if I could get that to report a default size, I’d actually be better than Tor (they have a bunch of responses slightly more unique than FF with resistFingerprinting).

But it’s academic for me anyway, I have Accept-Language en-US,en;q=0.7,de-DE;q=0.3 which is close enough to unique that nothing else really matters.

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#34
post #28
post #2

What’s the issue there? How is knowing the local IP a security issue? And FWIW, the local IP does not get leaked when using a VPN. (edit: Or rather, the VPN local IP gets leaked. Same question, no idea if that’s security relevant in some way?) edit: Thanks everyone, I completely forgot about fingerprinting.

Have a look at this that scans your local network: http://samy.pl/webscan/ I think some browser changes might have hobbled it a bit, but it was startling when I first tried it.

A bit? The site claims it found a host on literally every single private IP that exists ;) And closing it nearly killed my FF (full freeze for ~10 seconds).

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#35

Earlier quoted context omitted.

I just tried a clean FF profile with resistFingerprinting enabled. No dice. Everything adds only very few bits of identifying information (unlike my main profile which is already almost unique thanks to the accept header (English, then German)) yet it still results in 17.75 bits which according to EFF is unique. I’m agreeing with you, though I wonder, is there any way to not be unique? What would you have to do? Use…

I think a HTML-only browser without support for CSS and JS might help.

Disabling JS is enough to almost perfectly fingerprint you.

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#36

Earlier quoted context omitted.

It's because if you don't leak the local IP, then webRTC calls will typically fail between people on the same LAN. And, if they don't fail, then they will usually have to go via a TURN server on the internet adding a lot of latency. It's a privacy/functionality tradeoff. But most people consider not being able to videocall or do online gaming with someone in the same building to not be acceptable.

I don't think that there are many people using WebRTC especially within the same LAN, but fingerprinting is used by almost every commercial site. So I can assume that this "feature" was used in 99.99% cases for fingerprinting. This shows how browser developers race to push new features without proper estimation of privacy concerns. Luckily this was somewhat fixed by using randomized Apple mDNS names instead of IPs. B…

> But as a result the browser has to support Apple DNS protocol which can potentially increase attack surface.

The "Apple" DNS protocol is standard DNS, over a multicast IP address, on port 5353. You can literally use plain old dig to perform mDNS lookups:

    $ dig @224.0.0.251 -p 5353 +short hello.local

    192.168.123.45
If DNS lookups considerably increase your attack surface, something is very, very wrong with your architecture.

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#38

How to disable WebRTC on Firefox Mobile? I have uBlock which prevents from leaking the local IP but I don't want WebRTC at all. Why did they take about:config from us?

> Why did they take about:config from us?

What do you mean? I'm running the latest firefox nightly from the play store and I can see the about:config...

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#39
post #38

How to disable WebRTC on Firefox Mobile? I have uBlock which prevents from leaking the local IP but I don't want WebRTC at all. Why did they take about:config from us?

> Why did they take about:config from us? What do you mean? I'm running the latest firefox nightly from the play store and I can see the about:config...

Yeah. It's only available in nightly. Which is fine so long as you're ok with things occasionally breaking or sudden vulnerabilities (I've dogfooded nightly on desktop and mobile for years and it definitely happens. Happened to me just last week) and you also have to be fine with downloading a huge package and writing it to your internal card basically every day which may be an issue with your plan, and after a few years, is also an extra thousand writes that you might have wanted to avoid (my last 3 phones have had replaceable batteries but not internal storage).

Re: Chromium based browsers leak user local IP via WebRTC foundation attribute

#40
post #38

How to disable WebRTC on Firefox Mobile? I have uBlock which prevents from leaking the local IP but I don't want WebRTC at all. Why did they take about:config from us?

> Why did they take about:config from us? What do you mean? I'm running the latest firefox nightly from the play store and I can see the about:config...

about:config is only available in Beta or Nightly on Android now, though forks like Fennec also have it enabled by default.

They took it away in Stable because changing some settings may disconnect GeckoView from the application containing it and they can't have that.

I run Beta for this reason. Nightly is too unstable for me so I had to give up custom addon lists to bypass Mozilla's outdated whitelist (they were only available in nightly for a while, I believe that's in Beta now).

Mozilla doesn't trust you to use their precious software right and they'll take away your toys if it considers you to be playing with them wrong. I still like Mozilla over Google, Microsoft, and Apple, but it's really hard to be a fan of Firefox when they pull shit like this.

Post reply on HN