visit
It’s one thing to share user geolocation data deliberately without consent, but what if you’re inadvertently giving it away?
The is proposing over $200m in fines for wireless carriers who knowingly shared, sold or otherwise mishandled their customers’ location data. Significant press investigations and reports have raised public awareness of the risks associated with this kind of breach. We’re now seeing calls from privacy advocates to strengthen legislation, add teeth to existing privacy regulations and even hold CEOs personally responsible for making promises they can’t keep on customer privacy.One big referred to “Twelve Million Phones, One Dataset, Zero Privacy,” but many businesses may be unaware that their websites are similarly hackable. Third-party JavaScript is a real problem on the web, and the uncontrolled growth in third-parties can lead to loss of sensitive customer data: credentials, credit card information, etc. Hundreds of websites have fallen victim to these hacks.The datasets are typically stolen using a "skimming" attack, where a malicious JavaScript captures a copy of user entry into a web form. But that’s not the whole story: there are many ways hackers can exploit JS to access sensitive data, including geolocation.There are two issues with the pop-up. First, this pop-up only shows up the first time the website is trying to access geolocation. If the user clicks ‘Allow Once,’ that preference is recorded, and the website can now access geolocation data any time in the future.
Secondly, if the user clicks ‘Allow’, it provides the entire website with permission to access the user’s geolocation. So in this case, if the user clicks on the ‘Allow’ button, scripts loaded from the primary domain (in this example it would be scripts loaded from w3cschools.com) as well as scripts loaded on the site from any other third-party domain, can access the user’s location information. In essence, malicious or adware scripts can now use a website’s permission levels to access sensitive user geolocation data.