Feeds

Hacker pilfers browser GPS location via router attack

'Scary how accurate it is'

The Power of One eBook: Top reasons to choose HP BladeSystem

If you're surfing the web from a wireless router supplied by some of the biggest device makers, there's a chance Samy Kamkar can identify your geographic location.

That's because WiFi access points made by Westell and others are vulnerable to XSS, or cross-site scripting, attacks that can siphon a device's media access control address with one wayward click of the mouse. Once in possession of the unique identifier, Kamkar can plug it in to Google's Google Location Services and determine where you are.

"It's actually scary how accurate it is," said Kamkar, the author of the Samy Worm, a self-replicating XSS exploit that in 2005 added more than 1 million friends to his MySpace account and in the process knocked the site out of commission. "I've found that with a single MAC address, I've always been spot on with the tests I've done."

Kamkar, who tweeted about the vulnerability Tuesday, has posted a proof-of-concept attack here. For now, it works only on FiOS routers supplied by Verizon, and then only when users are logged in to the device's administrative panel. With a little more work, he said he can make it exploit similar XSS holes in routers made by other manufacturers.

With one very important difference, Kamkar's proof-of-concept is similar to a Firefox feature that allows users to get customized content by automatically sharing their location with websites they're visiting. Whereas the open-source browser is careful to ask permission before broadcasting geographic information, Kamkar's attack could happen completely unbeknownst to the user.

It complements a separate attack Kamkar devised for remotely accessing Westell UltraLine Series3 routers that Verizon provides to its FiOS customers. It gives the hacker administrative control over the devices of customers who click on the link while logged in to the administrative panel.

"We essentially piggyback off of the logged in user's cookies," Kamkar told The Register. An attacker could then force the router to use a DNS server that sends users to malicious sites, open vulnerable ports or make other changes that leave the user open to attack.

Verizon spokesman Jim Smith downplayed the significance of the attacks on the Westell routers.

"Our customers are advised to follow good practices and log out of any link or operation that is password protected whenever they are done using it," he wrote in an email. "Accounting for that is not a technology issue but a best practices issue that resides with the customer."

Kamkar is the co-founder of a VoIP company located in Los Angeles who does security research in his spare time. His findings add to growing awareness that routers made by a variety of providers - including Thomson, Netgear, Linksys and even open-source developers are susceptible to remote attacks. More often than not, the vulnerabilities lie in poorly written web interfaces, that can also put users of webcams, printers, VoIP phones and picture frames at risk. ®

Designing a Defense for Mobile Applications

More from The Register

next story
DARPA-derived secure microkernel goes open source tomorrow
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Researcher sat on critical IE bugs for THREE YEARS
VUPEN waited for Pwn2Own cash while IE's sandbox leaked
Four fake Google haxbots hit YOUR WEBSITE every day
Goog the perfect ruse to slip into SEO orfice
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.