News for hackers. Stuff that matters.
Re:Find anyone's address from their router MAC code by eli on Monday October 04, 2010 @11:35AM (#1755986)
If someone is able to determine the MAC address of your router by you simply visiting a page, you've got bigger problems.
Re:Find anyone's address from their router MAC code by tptacek on Monday October 04, 2010 @01:31PM (#1756480)
By default, my AT&T home router doesn't ask for credentials until I ask to change something. Our office router is completely authenticated with HTTP Basic. Different routers, different results, but there are an awful lot of routers that assume that if you can hit the router's internal address, it must be safe for you to get information about the router.
Re:Find anyone's address from their router MAC code by stanleydrew on Monday October 04, 2010 @11:54AM (#1756069)
What kind of bigger problems?
Re:Find anyone's address from their router MAC code by eli on Monday October 04, 2010 @12:00PM (#1756093)
Typically this means there's either a serious XSS flaw or a default password on your router. Someone could, for example, change your DNS settings and start intercepting your traffic.
Re:Find anyone's address from their router MAC code by 16s on Monday October 04, 2010 @03:45PM (#1757049)
One word... JavaScript
Re:Find anyone's address from their router MAC code by gstar on Monday October 04, 2010 @12:37PM (#1756285)
In Java, getHardwareAddress() returns your MAC.
Re:Find anyone's address from their router MAC code by jonknee on Monday October 04, 2010 @12:49PM (#1756340)
If your browser runs Java code without a warning you have a lot more problems than someone knowing your MAC... Also that would still not be your router's MAC.
Re:Find anyone's address from their router MAC code by cschneid on Monday October 04, 2010 @11:32AM (#1755971)
How does google know where MAC addresses are? I thought that they were non-routable, so they are limited to the extremely local connection. Presumably the range from your computer to the termination of the cable modem on the other end.
Re:Find anyone's address from their router MAC code by eli on Monday October 04, 2010 @11:34AM (#1755983)
It's the MAC or your wireless router. They collected them with their street view cars.

There was a big, overblown privacy scare some months ago because it was discovered that the cars also accidentally saved some stray unencrypted packets of traffic as they cruised around.

Re:Find anyone's address from their router MAC code by skybrian on Monday October 04, 2010 @12:04PM (#1756106)
Actually, there are third-party services that have made a business of collecting locations of Wi-Fi routers and I believe Google subscribes to them.
Re:Find anyone's address from their router MAC code by jonknee on Monday October 04, 2010 @12:51PM (#1756348)
They used to, but now do it themselves and then keep the database up to date with Android phones. This is why Skyhook is upset and suing:

http://gigaom.com/2010/09/15/skyhook-sues-google-in-a-locati...

Re:Find anyone's address from their router MAC code by borism on Monday October 04, 2010 @05:38PM (#1757574)
well, the same is true for Apple who are now collecting location/wireless footprint themselves with iOS devices without Skyhook.
Re:Find anyone's address from their router MAC code by pasbesoin on Monday October 04, 2010 @12:14PM (#1756156)
Yes, it's significant to note that Google (à la Street View scanning) is not the only party that's made a concerted effort to collect them. Whether Google's purchased (or absorbed) such data from others, I don't know.

I speculate that further routes for collection may be available. E.g. a user uses a wi-fi connection with a device that has geo-location turned on, and "Bob's your uncle".

Re:Find anyone's address from their router MAC code by tfh on Monday October 04, 2010 @12:13PM (#1756153)
I didn't know you could (legally) earn money for wardriving.
Re:Find anyone's address from their router MAC code by mseebach on Monday October 04, 2010 @02:41PM (#1756754)
It's just 21st century map-making. Instead of plotting the location of physical landmarks, you'd be plotting electromagnetic landmarks.

I'm sure pioneer map-makers got in trouble for plotting perfectly visible stuff that was located on private property.

Re:Find anyone's address from their router MAC code by yardie on Monday October 04, 2010 @11:37AM (#1755994)
It relies on the fact that the router web admin page is unsecured and someone hasn't changed the default password. I'm pretty certain this could also work on linksys:linksys or admin:password default login routers.

So if you don't want to be hacked, change your password.

Re:Find anyone's address from their router MAC code by nkassis on Monday October 04, 2010 @11:43AM (#1756024)
you don't even need the password. Some routers display it on the admin page before login in (dd-wrt does this).
Re:Find anyone's address from their router MAC code by tdupree on Monday October 04, 2010 @12:59PM (#1756372)
That behavior can easily be toggled on/off in the Administration->Management section for your DD-WRT router. Take a look at "Info Site Password Protection" and "Info Site MAC Masking" on that page.
Re:Find anyone's address from their router MAC code by ars on Monday October 04, 2010 @06:15PM (#1757729)
At least for me, dd-wrt only displays it for connections coming from "inside".

For connections coming from outside it forwards it to the DMZ computer, or blocks it.

Re:Find anyone's address from their router MAC code by Deadsunrise on Monday October 04, 2010 @11:36AM (#1755991)
I think that the google street view cars also log the wifi networks they find.
Re:Find anyone's address from their router MAC code by tibbon on Monday October 04, 2010 @01:01PM (#1756380)
Seems to think I'm on Santa Monica Blvd, but I'm in Boston and this computer has never been to California.
Re:Find anyone's address from their router MAC code by tropin on Monday October 04, 2010 @01:26PM (#1756462)
Looks like is the way it says "I have no clue of where are you". Santa Monica Boulevard is like... 10.000 kilometers from here.
Re:Find anyone's address from their router MAC code by hebejebelus on Monday October 04, 2010 @12:28PM (#1756235)
Hasn't picked up on any of the router MAC addresses I gave it. Guess it's not reached Ireland yet…
Re:Find anyone's address from their router MAC code by ck2 on Monday October 04, 2010 @02:03PM (#1756612)
Tomato firmware (and DD-WRT I think) allows you to randomize your MAC address, which I do weekly.
Re:Find anyone's address from their router MAC code by grandalf on Monday October 04, 2010 @08:51PM (#1758175)
Most of the comcast cable modems I've had in the past years let you see the mac address if you navigate to 192.168.100.1 without any password, so xss that loaded that page would work.
Re:Find anyone's address from their router MAC code by abraham on Monday October 04, 2010 @01:11PM (#1756403)
After a quick read of the page it sounds like it only works for browsers authenticated to a specific Verizon FIOS router.
Re:Find anyone's address from their router MAC code by tptacek on Monday October 04, 2010 @01:29PM (#1756474)
His particular demo only works with a specific Verizon router, but the notional attack works against any wireless router that has any XSS flaw --- ie, any wireless router.

There are really just two simple ideas here (taking a couple simple ideas and plugging them together in some totally unexpected way being a Samy Kamkar trademark):

* Any website can usually use reflected XSS to interact with a browser's upstream wireless router, because wireless routers suck, and because they assume that the "inside" network is safe.

* There are databases that translate wireless MAC into location (like Skyhook).

Re:Find anyone's address from their router MAC code by olalonde on Monday October 04, 2010 @05:05PM (#1757427)
Didn't find anything for my MAC address :(
Re:Find anyone's address from their router MAC code by konad on Monday October 04, 2010 @11:38AM (#1756005)
Where "anyone" == "anyone who didn't change the password of their touter"
Re:Find anyone's address from their router MAC code by jerf on Monday October 04, 2010 @03:09PM (#1756881)
My Belkin router spews both of its MAC addresses onto the screen to anybody who hits the admin website, before authentication.

Getting to my router with an attack is a little less trivial since it is no longer on 192.168.1.1. Also I'm not sure if there's an XSS attack that an unauthenticated user can fire, as any attempt to do anything is just giving me a login box which itself doesn't have an XSS. But this is my 90 second security analysis, if I tried harder I'm sure there's something nasty somewhere.

Re:Find anyone's address from their router MAC code by stanleydrew on Monday October 04, 2010 @11:58AM (#1756085)
Or anyone who is authenticated and cookied.
Re:Find anyone's address from their router MAC code by sorbus on Monday October 04, 2010 @01:52PM (#1756555)
Does anyone stay logged into their router when they're not using it? And don't most sessions expire fairly quickly, anyways?

Besides that, this appears to only work with wireless routers, based on how google is locating them.

Re:Find anyone's address from their router MAC code by anon-e-moose on Monday October 04, 2010 @02:22PM (#1756673)
No, he uses an example XSS exploit to view Verizon FIOS router pages, but there are lots of ways to get MAC addresses.