You are here:Home > Best VPN > WebRTC vulnerability can leak VPN users' real IP addresses

WebRTC vulnerability can leak VPN users' real IP addresses

Summary:WebRTC (Web Real Time Communication) is an open-source standard that supports real-time voice or video conversations between web browsers. Using WebRT…
horizonVPN Official website sandVPN Official website VPNhood Official website hailianVPN Official website
GoduckVPN Official website Fast Wind VPN Official website Fast Orange VPN Official website(Recommend) NetShekanVPN Official website

This book is available as an e-book in EPUB format

PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email

Email: shuxueha@outlook.com

PayPal: https://paypal.me/zhipinglei

You can also scan the PayPal QR code below to sponsor

You can also purchase this book on Amazon: click to enter the Amazon official website

WebRTC (Web Real Time Communication) is an open-source standard that supports real-time voice or video conversations between web browsers. Using WebRTC, users can communicate instantly without installing other software or browser plugins. Recently, WebRTC has exposed security vulnerabilities that may leak users' real IP addresses, even if they are using VPN.

What is WebRTC?

WebRTC implements web-based video conferencing using the WHATWG protocol, with the aim of achieving Real Time Communications (RTC) capability through simple JavaScript provided by a browser.

At last year's Google I/O conference, Google stated that WebRTC will support over one billion different endpoints (desktop browser and mobile device), which means WebRTC will be applied to Chrome browser and Android mobile operating system.

Vulnerability description and impact

This vulnerability was discovered at the end of last month. Through this vulnerability, website administrators can easily see the user's real IP address through WebRTC, even if the user hides their IP using VPN.

This vulnerability affects browsers that support WebRTC, including Google Chrome and Firefox, but appears to only affect the Windows operating system.

Principle of vulnerability

WebRTC uses protocol stacks such as STUN (Session Traversal Utilities for NAT), TURN, and ICE to penetrate firewalls or NAT in VoIP networks. The user sends a request to the server, and the STUN server will return the IP address and LAN address of the system used by the user.

The returned request can be obtained through JavaScript, but since this process is performed outside of the normal XML/HTTP request process, it cannot be seen in the developer console. This means that the only requirement for this vulnerability is that the browser must support WebRTC and JavaScript.

Have you been hit?

Security researcher Daniel Roesler has released a demonstration on GitHub where everyone can check for their own vulnerabilities.

You can also detect it through the following methods:

1. Connect VPN

2. Visit http://ipleak.net

If your browser is secure, you will see the image above.

If your browser has this vulnerability, you can see your real IP address.

defensive measures

Chrome users:

Google Chrome and other Chromium based browser users can install plugins to block WebRTC or also install the ScriptSafe plugin.

Firefox users:

If you are using the Firefox browser, you can install plugins that block JavaScript, such as NoScript. Alternatively, you can fix it by following these steps:

1. Enter about: config in the browser address bar

2. Click the 'I promise to be careful' button in the prompt that appears later

3. Search for 'media. peerconnection. enabled'

4. Double click the media.peerconnection.enable preference to change its value to 'false'

This closes WebRTC in Firefox


High-speed VPN Fast VPN Preferred Accelerator VPN Reliable VPN
High quality VPN Old fashioned VPN Stable VPN(Recommend) Smooth VPN
Share with Friends: