lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 20 Apr 2019 12:20:51 -0700
From: Reed Black <>
To: Bhavesh Naik <>,
 Bhavesh Naik via Fulldisclosure <>
Subject: Re: [FD] Obtaining location using Google maps & JavaScript

Have you tested this?

The Google Maps page header includes "x-frame-options: SAMEORIGIN” which would prevent iframe embedding in every commonly used browser. But even if this control were not in place, browsers implement additional controls. Most significantly, if the page to be embedded in an iframe is on a remote domain, then the parent page is prevented from inspecting iframe content and metadata unless permissions are granted by the embedded page. Most modern browsers also block the embedded portion from html5 canvas reads. This means that even OCR of the rendered canvas should not work.

> On Apr 18, 2019, at 4:58 AM, Bhavesh Naik via Fulldisclosure <> wrote:
> HTML5's geolocation feature asks for permissions to obtain users current location & the current IP to location also fails to pinpoint exact location of the user.However, one can use google maps to obtain the location of the user (being said that he is currently logged in with his google account).
> Using the URL: in an I-frame content and making the visitor access the site would allow you to get the exact location.If the user is using a common account on laptop/desktop and his mobile phone, it is possible to get exact GPS co-ordinates using this technique.
> All that is required is that site should be able to capture the lat-longs generated by the map APIs using JavaScript.
> Has anyone worked on something similar before?

Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists