Lurker News

Comments (206) 60 threads

MichaelGG6 replies#
Not sure why battery is exposed; I guess that's the result of making browsers more like OSes.

The only really annoying thing is the idiotic WebRTC settings. Their love for "data channels" with zero prompts, despite having no legitimate uses[1], ignores your proxy settings. This should be fixed.
1: I asked someone involved with WebRTC. They suggested "maybe a page wants to communicate with your fridge directly" as a serious use of WebRTC data channels.

daurnimator3 replies#
There are some really cool uses of webrtc data channels. e.g. https://webtorrent.io/
msravi2 replies#
Yeah, and that's also a great example of what should NOT be allowed without the user's EXPLICIT permission - simply visiting a link should not result in a torrent download!
SquareWheel4 replies#
Simply visiting a link downloads dozens, sometimes hundreds of files without your explicit permissions. It simply uses a different protocol.

Continue this thread — 4 replies

Too5 replies#
Simply visiting a YouTube link should result in the video to start streaming right away though?

How will you know that a download is desired or not?

Continue this thread — 5 replies

lohengramm#
To know that arbitrary netcode can run silently on the background of my browser is really surprising. And not in a good way.
lttlrck1 reply#
Is the wink because of the 502?

Continue this thread — 1 reply

noonat1 reply#
Multiplayer gaming is a legitimate use of data channels, but I don't see why it couldn't prompt for permission.
MichaelGG1 reply#
WebRTC folks insist prompts will confuse people and be bad. But ignoring explicit networking settings is good, somehow.
deepnet#
Acceptable default but one should be able to enable prompts as a less-confused user.
ozim4 replies#
I am not sure if this battery is not just FUD and some other sections as well. Because I currently have no battery in my laptop (no battery detected) and site is saying "Charging: charging", "Battery level: 100%", "Charging time: 0h"
notalaser#
More likely, battery detection is just a little broken, like most of the supercharged, application delivery platform, content-powered Web 2.0.
i336_#
My desktop system is saying the exact same thing.

The page also thinks my system is flat on a table. Close; the screens are, while the tower's on the floor :P

pmalynin1 reply#
Works quite well on my phone.
ozim1 reply#
Oh so it works on mobile phones then, not laptops.

Continue this thread — 1 reply

rndstr#
It was spot on for my phone at 85% and charging
throwaway415971 reply#
Just like with mobile apps, battery info can help websites decide whether they should run a complex operation now. It also helps detect regressions if a commit happens to suck power faster. Unfortunately, it's more bits available to deanonymize users across websites.

Data channels are useful for synchronizing your phone and your laptop. All native platforms support this. Most websites do it with a roundtrip to the server. So it would be mysterious to the user why a permission is prompted for something that should just work. Obviously it's bad for privacy though.
So painting it as having no legitimate uses is a bit one-sided. There is no easy fix.

Dylan168071 reply#
What websites do CPU-intensive work that can be delayed for hours?

In general I want a website to suck as much power as possible so it can be done sucking power as soon as possible, whether I'm on battery or not. If you want to find waste, track execution time and bandwidth use.

throwaway41597#
I'm not sure I understand your point. Many apps (would) benefit from delaying some tasks and waiting to be on charge and a wifi connection. Typically, synchronization for example requires the device to be awake for a long period because of network roundtrips, transfers, disk seeks and CPU work. Software updates are similarly impactful on the battery.

At least, it makes sense to measure battery usage to optimize your code. And in my opinion, it's also beneficial to react to battery events (delay when on low battery, process when on a wall socket) and network events (bad coverage vs. strong wifi).

haddr#
I'ts funny with WebRTC, because I rememeber when the same could be accomplish with Java applets (Java ignored any proxy settings, which allowed to deanonynimize people on the internet, e.g. it no longer mattered if you were behind TOR if you had Java enabled). I think it was considered security bug and was patched later. Seems that WebRTC people are not so security-wise I suppose...
stephenr1 reply#
So, literally all this said was:

- "MacIntel"
- some stuff from my User Agent string (changing it to IE11 made it think I'm on Windows 8)
- my public IP, network provider and approx. downstream speed.
I don't use Facebook or Google so I don't know if those things would have worked.
None of the network scanning worked, it didn't use the geolocation stuff, etc.
If Chrome/Firefox/IE do allow access to all/some of those things without prompting, jesus titty fucking christ.
All of you claiming "Safari is the new IE6" need to perhaps pay attention.
Google has a vested interest in pushing browser technologies regardless the cost to privacy or user security - their ChromeOS devices depend on a world where web apps can do everything.

mojuba1 reply#
Same here, it didn't detect some of the things it should have (theoretically?), e.g. AdBlock plug-in, Twitter & Co., and the EXIF data wasn't fully exposed. The geo location was wrong by some 70 miles, but that's a question of a proper geoip database I suppose.

All in all, not very spooky with Safari at least.

stephenr2 replies#
I think it's specifically not GeoIP location - that doesn't require a browser to leak anything as its using your public IP address.

I assume (because mine didn't show anything) that it's relying on the browser leaking it's device-detected location without prompting?

mojuba1 reply#
I don't think it's possible without user's permission, so no it's likely one of those public GeoIP databases which are usually a bit behind, inaccurate and incomplete.

Continue this thread — 1 reply

Capira#
Right it does not use the HTML5 Geolocation GPS. It uses Google's Geolocation API to locate the user without asking for permission.
MacAsm1 reply#
What is this useful for?
educar1 reply#
It helps you figure if a user is signed into a social network. One might think this is not possible because cross-origin restrictions but this trick shows you how to bypass it.
hm84 replies#
Could you explain how this works? Er, I mean why only the re-direct to the favicon works?

Continue this thread — 4 replies

flexd#
This is a perfect example of what an attacker could do with your browser. If you can get a user's browser to run code, as this site demonstrates there is a lot of information you can find. And coupled with a Cross-Site Request Forgery, you could get access to a bunch of things. If your home router has a vulnerability that bypasses authentication and allows you to execute commands on the router or similar (which is not uncommon, home router security is awful), you could get a foothold into the network just by sending someone a email with links that they are likely to click on.

Note to the author: I am not entirely sure how the WebRTC connection gets you a local IP, it seems to be connecting to stun:stun.services.mozilla.com. Anyway,that grabs the wrong local address for me, and gets the IP of my docker0 interface, perhaps it could grab more IPs, or is it just displaying the first one it finds?
Edit: Oh, the getIP function just calls the callback on the first candidate it finds.

Load more comments