Slashdot Mirror


Android Bug Allows Geolocation Tracking of Users (duo.com)

Trailrunner7 writes: Researchers have discovered a weakness in all version of Android except 9, the most recent release, that can allow an attacker to gather sensitive information such as the MAC address and BSSID name and pinpoint the location of an affected device. The vulnerability is a result of the way that Android broadcasts device information to apps installed on a device. The operating system uses a mechanism known as an intent to send out information between processes or applications, and some of the information about the device's WiFi network interface sent via a pair of intents can be used by an attacker to track a device closely.

A malicious app -- or just one that is listening for the right broadcasts from Android -- would be able to identify any individual Android device and geolocate it. An attacker could use this weaknesses to track a given device, presumably without the user's knowledge. Although Android has had MAC address randomization implemented since version 6, released in 2015, Yakov Shafranovich of Nightwatch Cybersecurity said his research showed that an attacker can get around this restriction.

26 of 46 comments (clear)

  1. Wow. That is pathetic by 110010001000 · · Score: 5, Interesting

    That is really pathetic implementation by Google. The idea is that your application should have to register for special permissions to access this information, but apparently the system broadcasts it to all listening applications on the device. The fact that this actually exists makes me wonder about the entire codebase. There should be single point in the code where intents are sent out and matched against access/permissions. It sounds like spaghetti.

    1. Re:Wow. That is pathetic by 110010001000 · · Score: 1

      Although now that I look at it more, it looks like you DO have to have wifi state access permissions. So it is debatable if this really is a bug or not.

    2. Re:Wow. That is pathetic by 110010001000 · · Score: 3, Funny

      Ooops take it back. Doesn't require any permissions at all. I'm back to pathetic again.

    3. Re:Wow. That is pathetic by 110010001000 · · Score: 1

      Mom says I am big boned.

    4. Re:Wow. That is pathetic by Xylantiel · · Score: 2

      Yeah, this is sad. I'm not sure what idiot at Google thought it was okay to broadcast wifi state info to apps that don't have permission to access the wifi state. I can see how it might be ambiguous whether the BSSID or the base station MAC are included in "wifi state" information, but obviously if I have denied an app permission to access wifi state I didn't just mean it can't request wifi state information, really I meant that it shouldn't be given it by the OS.

      Another question: What information to these broadcasts contain in LineageOS?

    5. Re:Wow. That is pathetic by Xylantiel · · Score: 2

      Also, the article say that the issue is being "fixed", but it is still unclear if an app with "network state" permission has access to the BSSID or base station mac, which in many cases effectively gives coarse location. I have often wondered whether requesting "network state" permission was a sneaky way to do geolocation, but never looked into it carefully. And, once again, my next question would be whether the information available to apps with network state permission is different for LineageOS.

    6. Re:Wow. That is pathetic by 110010001000 · · Score: 1

      I'm not sure they are really going to fix it. It says it is a "breaking API change". It is strange that they are broadcasting wifi state information to all apps, completely bypassing any access control. I guess it has been going on for 10 years or so. They also broadcast route information + DNS server IPs.

  2. Re:Packet by 110010001000 · · Score: 1

    You can download the "Internal Broadcasts Monitor" app from the store and see the data yourself.

  3. Nobody cares where I am by Lije+Baley · · Score: 1

    Yeah, when I was young, I used to fantasize about the government knowing what library books I had checked out. Now I know that I am nobody, just like 98% of everybody. My private information, aside from that necessary for financial transactions, is worthless. If you're not in the public eye, nobody gives a fsck.

    --
    Strange things are afoot at the Circle-K.
    1. Re:Nobody cares where I am by 110010001000 · · Score: 1

      That isn't true. The various data collecting corporations (credit, tech, etc) DO care about your individual data as it can be used to determine your risk for a loan, what ads you receive, insurance rates, etc. They care very deeply. That is why Windows 10 is essentially free now.

    2. Re:Nobody cares where I am by ArylAkamov · · Score: 1

      Hah yeah man, who cares about rights and privacy anyway. That stuffs for criminals!
      Now please talk louder, my phone can't hear you.

    3. Re:Nobody cares where I am by 110010001000 · · Score: 1

      Well in this case your location is 100% accurately tracked and attached to your profile so I guess you should care.

    4. Re:Nobody cares where I am by antdude · · Score: 1

      NBA, Comcast, Toyota, CBS, Obama, health, etc. care!

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    5. Re:Nobody cares where I am by Lije+Baley · · Score: 1

      Yeah, and I might get hit by a meteorite while taking a ride on my bicycle too.

      --
      Strange things are afoot at the Circle-K.
  4. Why assume it is a bug? by BobK65 · · Score: 2, Interesting

    Maybe it is just an undocumented feature installed for those in the know.

    1. Re: Why assume it is a bug? by astrofurter · · Score: 1

      Obviously a feature. Not only is Big Brother Google always watching... he likes to invite his friends to watch, too.

  5. You call it a bug by WillAffleckUW · · Score: 1

    We call it a feature.

    --
    -- Tigger warning: This post may contain tiggers! --
  6. Not going to be fixed by SuperKendall · · Score: 1

    When they try out removing the info and every ad network on the planet crashes every app because that data is unexpectedly null, what can Google realistically do???

    At some point the horses are not just out of the barn, the barn has caught fire and there is no barn to put them back into.

    I have serious reservations this should be counted as a bug though. I am nearly 100% sure this was by design. Even if you wanted to give Google the benefit of the doubt in regards to intent you could imagine some technical person simply thinking that information could be useful to an app so why shouldn't everyone be able to read it?

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  7. Re:Pls, technical users... by OrangeTide · · Score: 1

    TBH they are both pretty shitty platforms.

    --
    “Common sense is not so common.” — Voltaire
  8. Re:Pls, technical users... by OrangeTide · · Score: 2

    No spyware in AOSP. But when people say Android they are referring to about two dozen forks of it. And it's really tough to generalize about such a diverse set.

    All I know is that Android dev tools are free, and I can post my shitty apps on the Plat Store. Unlike Apple that enforces arbitrary and ever changing standards and keeps taking my stuff down. Maybe if I were a professional company instead of a hobbyist the App store would be more manageable but for hobbyist hackers, Android is the easier platform to target.

    P.S. I don't think you're sorry at all.

    --
    “Common sense is not so common.” — Voltaire
  9. Re:Pls, technical users... by OrangeTide · · Score: 1

    whoohoo someone is thinking of me!

    --
    “Common sense is not so common.” — Voltaire
  10. Re: Packet by astrofurter · · Score: 1

    +1 informative

  11. And it is really easy to access it. by haninaguib · · Score: 1

    Sample app with 'zero' permissions and still can access wifi mac (even when wifi is switched off) https://github.com/haninaguib/...

  12. Re:Pls, technical users... by TheFakeTimCook · · Score: 1

    No spyware in AOSP. But when people say Android they are referring to about two dozen forks of it. And it's really tough to generalize about such a diverse set.

    All I know is that Android dev tools are free, and I can post my shitty apps on the Plat Store. Unlike Apple that enforces arbitrary and ever changing standards and keeps taking my stuff down. Maybe if I were a professional company instead of a hobbyist the App store would be more manageable but for hobbyist hackers, Android is the easier platform to target.

    P.S. I don't think you're sorry at all.

    Perhaps your Apps keep getting taken down precisely because the ARE Shitty (Your words).

    And the Dev Tools ARE free for iOS, too, if you have a Mac.

  13. Bug? by thomn8r · · Score: 1

    I just assumed this behavior was in the original Android spec.

  14. technically correct. the best(?) kind of correct by OrangeTide · · Score: 1

    Tools are included free with a 99 USD per membership year fee...

    --
    “Common sense is not so common.” — Voltaire