The attack works like this: if you have visited a malicious website loaded with a hidden XSS exploit, the attacker can pick up the MAC address of your router using AJAX. It is then put through Google Location Services and gets "translated" into coordinates that can be visualized via Google Maps.
For this proof-of-concept attack, Kamkar used a XSS flaw in the Verizon FiOS router, but says that any router with a XSS vulnerability would do. As he stated for Dark Reading, this XSS vulnerability can be also used to configure oneself as a proxy and be able to monitor all traffic coming from the outside to the router, and vice versa - and, if one is so inclined, to use the opportunity for nefarious purposes.
By subscribing to our early morning news update, you will receive a daily digest of the latest security news published on Help Net Security.
With over 500 issues so far, reading our newsletter every Monday morning will keep you up-to-date with security risks out there.