News for hackers. Stuff that matters.
Re:Apple Jumps on the WebRTC Bandwagon by diafygi on Wednesday April 13, 2016 @09:58AM (#11488170)
Reminder: WebRTC data channels can silently leak your internal and (if behind a VPN) real IP address.

https://diafygi.github.io/webrtc-ips/

https://bugzilla.mozilla.org/show_bug.cgi?id=959893

Re:Apple Jumps on the WebRTC Bandwagon by Someone1234 on Wednesday April 13, 2016 @10:13AM (#11488289)
That's why site-based VPNing is considered the gold standard. Instead of using a VPN client on a PC, you use a network appliance, that way the PC never has a concept of what your "true" IP is. Thus cannot leak it.

Some people have been toying with doing the same but using Virtual Machines. The VM wouldn't have a concept of what the true IP is and since everything goes through the virtual router it acts like a site-to-site VPN connection hiding your true address.

Re:Apple Jumps on the WebRTC Bandwagon by SCHiM on Wednesday April 13, 2016 @11:11AM (#11488819)
Yes. This is very easy to install using PFsense inside a virtual machine.

Here's a guide that is recent and I can confirm that it works:

http://www.malwaretech.com/2015/08/creating-ultimate-tor-vir...

Re:Apple Jumps on the WebRTC Bandwagon by aaren on Wednesday April 13, 2016 @05:34PM (#11492427)
Is this basically the same as what Whonix does (routing through a dedicated gateway VM)?

http://whonix.org

Re:Apple Jumps on the WebRTC Bandwagon by SCHiM on Thursday April 14, 2016 @02:06PM (#11499063)
It looks like it, but with pfsense you get more control I think. I have several more segments (read: virtual adapters) that route through a VPN or just from my home ip.

So then I can go to mange>adapter settings>lan segments in my vmware settings and change my upstream gateway. This is all 100% transparent to the programs running inside the VM (only problem is that not all protocols support being routed in this sense).

But tcp works, as does DNS over tcp, so most programs you use will work.

Re:Apple Jumps on the WebRTC Bandwagon by athenot on Wednesday April 13, 2016 @11:14AM (#11488845)
Which is great on a desktop or a home office situation. That's what I have. But for mobile situation where it's just your phone and the telco, that is not an option (unless you're in the habit of carrying a suitcase with your appliance).
Re:Apple Jumps on the WebRTC Bandwagon by kobayashi on Wednesday April 13, 2016 @12:43PM (#11489824)
What's the setup for a site-based VPN? This is the first I'm ever hearing about it
Re:Apple Jumps on the WebRTC Bandwagon by Someone1234 on Wednesday April 13, 2016 @01:53PM (#11490503)
Consumer or business grade router that has a built in VPN client. On the consumer side you can often flash OpenWRT/DD WRT/PfSense to add a VPN client.

But for a more reliable setup you want a business-grade router which supports it natively.

Re:Apple Jumps on the WebRTC Bandwagon by athenot on Wednesday April 13, 2016 @01:23PM (#11490205)
Basically you have a router such as the Cisco [880] take care of the encryption and extends the corporate private network into the home office.

[880] http://www.cisco.com/c/en/us/support/routers/880-integrated-...

Re:Apple Jumps on the WebRTC Bandwagon by reitanqild on Thursday April 14, 2016 @02:49AM (#11494744)
Just FTR, you can (almost?) just as easily use VyOS. It is open source and supports IPSEC site-to-site.
Re:Apple Jumps on the WebRTC Bandwagon by vox_mollis on Wednesday April 13, 2016 @11:36AM (#11489078)
The problem with this is that the VAST majority of endpoint appliances don't support OpenVPN. You're limited to PPTP, L2TP, or IPSec with pretty much every single vendor.
Re:Apple Jumps on the WebRTC Bandwagon by upofadown on Wednesday April 13, 2016 @10:08AM (#11488257)
The important issue is that some WebRTC capable browsers can leak your internal address to a random page you are visiting even if you are not using WebRTC. If you are actually using WebRTC then you probably don't care if they know what your internal IP address is. ... that is of course if you ever care...
Re:Apple Jumps on the WebRTC Bandwagon by stcredzero on Wednesday April 13, 2016 @03:04PM (#11491193)
Reminder: WebRTC data channels can silently leak your internal and (if behind a VPN) real IP address.

I have been writing an MMO server, and I would be glad to use WebRTC datachannels, but only for client-server communications. I am far more interested in UDP-like semantics than peer to peer.

Re:Apple Jumps on the WebRTC Bandwagon by danjoc on Wednesday April 13, 2016 @12:12PM (#11489478)
>This demo secretly makes requests to STUN servers that can log your request. These requests do not show up in developer consoles and cannot be blocked by browser plugins (AdBlock, Ghostery, etc.).

That's a bit of an overstatement. Running NoScript. No scripts, no WebRTC.

Re:Apple Jumps on the WebRTC Bandwagon by JoeAltmaier on Wednesday April 13, 2016 @04:51PM (#11492096)
Isn't this a non-issue? Security by obscurity is weak. Not just a WebRTC issue: any p2p communication will do this. With IPV6 its a non-issue as well?
Re:Apple Jumps on the WebRTC Bandwagon by api on Wednesday April 13, 2016 @10:47AM (#11488621)
If internal IPS are critical security info, something is very wrong.
Re:Apple Jumps on the WebRTC Bandwagon by biggerfisch on Wednesday April 13, 2016 @11:08AM (#11488778)
Well, imagine you're in a controlled environment (eg, China) and having your non-vpn IP leaked could compromise your identity. Having an easy way for a site to reveal you is therefore a security issue.
Re:Apple Jumps on the WebRTC Bandwagon by cptskippy on Wednesday April 13, 2016 @11:14AM (#11488843)
Ah, that makes more sense. I assumed he was referring to the private address assigned to your machine on your LAN.
Re:Apple Jumps on the WebRTC Bandwagon by biggerfisch on Wednesday April 13, 2016 @11:21AM (#11488920)
Even if he is, it's still information that doesn't need to be revealed. It's not a security issue in and of itself, but if combined with another exploit, it could help an attacker. Good security is all about layers and protecting information.

LAN IPs are also useful for distinguishing computers from the same external IP which could help compromise your identity or privacy.

Re:Apple Jumps on the WebRTC Bandwagon by tezza on Wednesday April 13, 2016 @11:42AM (#11489133)
? I browse from work.

And I'm fairly sure my Sys Admin won't want random websites knowing my internal IP address.

Network shares etc. would likely be somewhere on the same range and they could launch subsequent attacks to try to sniff confidential documents and resources.

Re:Apple Jumps on the WebRTC Bandwagon by api on Wednesday April 13, 2016 @12:36PM (#11489738)
Again: that is a problem. If that is possible your internal network is insecure.

The castle and moat model is obsolete anyway. Most attacks today come through "pulled" vectors that bypass the firewall. If you rely on a physical network perimeter for security your security is an illusion.

Re:Apple Jumps on the WebRTC Bandwagon by pyvpx on Wednesday April 13, 2016 @12:26PM (#11489618)
your network shares have public, routable IP addresses? that, in my opinion, would be a far bigger issue than 'leaking' a hosts IP address.
Re:Apple Jumps on the WebRTC Bandwagon by diafygi on Wednesday April 13, 2016 @12:55PM (#11489952)
No, any website can detect your local IP address, then use ajax to scan a targeted IP subnet range fairly quickly (and completely hidden from the user) to find any shitty CORS-enabled web interface your company has (think some "modern" internal accounting webapp that enables CORS for its "API").

Prior to WebRTC you'd have to scan much larger IP ranges to try and find internal network webapps that are CORS enabled.

Re:Apple Jumps on the WebRTC Bandwagon by tezza on Wednesday April 13, 2016 @12:46PM (#11489856)
i'm more talking about being able to craft subsequent XSS requests. My browser will unwittingly be doing the attacking

My ip address is 192.168.99.105

Script tries XSS attacks on:

  http://192.168.99.1/ciscowebinterface/known_dodgy_admin?user=root&pass=NEVERCHANGED1
  http://192.168.99.1/juniper/also_leaky_admin?user=root&pass=NEVERCHANGED2
  http://192.168.99.2/... enumerated
Re:Apple Jumps on the WebRTC Bandwagon by cptskippy on Wednesday April 13, 2016 @11:12AM (#11488828)
Yeah, I'm struggling to understand why that's an issue.
Re:Apple Jumps on the WebRTC Bandwagon by cpeterso on Wednesday April 13, 2016 @12:59PM (#11490004)
Browser fingerprinting. If a site knows your Internet-facing IP address and your local IP address, then they can uniquely identify you, even if you delete your cookies or use private browsing mode.