• knightmare1147@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    9 seconds ago

    Tldr: Someone can guess reasonably where you are by sending you a glitched friend request notification on your phone that tells the hacker what data center you’re closest to.

    It is pretty clever but I wouldn’t call it full deanonymizing, should still get patched though.

    good find by the tester.

    Edit: used the term ‘glitch’ for simplicity of people reading, didn’t mean to upset people; I’m just an amateur.

    • CosmicTurtle0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      15 minutes ago

      It’s not a glitched friend request notification.

      It’s a native friend request that you make through discord. The vulnerability lies in the attacker making a unique pfp for each request, forcing the CDN to cache the pfp at the closest data center to the user.

      I would agree that it’s not fully deanonymizing but it could resurrect tracking Elon and other billionaires.

  • JRaccoon@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 hours ago

    Interesting read. One thing I don’t fully get is why does Cloudflare have the airport code in the response headers anyway? I cannot think of a single reason to have it in the response.

  • futatorius@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    3 hours ago

    I understand the need for CDNs, but they really do have some nasty side-effects. And those seem to get worse, the more transformation is allowed to happen in CloudFlare Workers and similar services.

  • infeeeee@lemm.ee
    link
    fedilink
    English
    arrow-up
    25
    ·
    5 hours ago

    Was posted yesterday to a lot of communities, it’s very clickbait:

    allows an attacker to grab the location of any target within a 250 mile radius

    So it’s a bit rough… In Europe it means basically which country the target is in. Also cloudflare servers are not evenly distributed in the world, so resolution can differ wildly worldwide.

    With a vulnerable app installed on a target’s phone

    So it’s not really zero click.

    Sounds interesting though, nice writeup, but not as scary as it sounds from the title.

    • Aatube@kbin.melroy.org
      link
      fedilink
      arrow-up
      1
      ·
      54 minutes ago

      Cloudflare has more servers in Europe than in North America. That does trace you to which country, which IMO is pretty significant. Especially with the GeoGuesser “average the circles” thing he coded.

    • .Donuts@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 hours ago

      so it’s not really zero click

      Did you keep reading after the intro?

      Excerpt:

      If the target has push notifications enabled (which it is by default), they don’t even have to open the Signal conversation for their device to download the attachment. Once the push notification is sent to their device, it automatically downloads the image from Signal’s CDN triggering the local datacenter to cache the response.

      An attacker can run this deanonymization attack any time and grab a user’s current location without a single interaction.

        • Aatube@kbin.melroy.org
          link
          fedilink
          arrow-up
          1
          ·
          52 minutes ago

          GeoGuesser, powered by the Google Maps API, generates a likely location of the user. It finds the midpoint between the 2 datacenters and draws 2 circles that signify his radius.

    • floofloof@lemmy.ca
      link
      fedilink
      English
      arrow-up
      22
      ·
      5 hours ago

      The vulnerable app can be anything that displays an attached image though. And a 250-mile radius compared to the whole world is still a very significant step for governments trying to track down dissidents, etc.

      The section on responses by Cloudflare, Signal and Discord is disappointing. They’re not taking it seriously enough.

    • just_another_person@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      5 hours ago

      Yeah, this sensational as a headline. It’s a clever idea that is not simple, requires an already compromised device and user, and won’t work except very specific conditions.

      • deadcade@lemmy.deadca.de
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 hours ago

        ““compromised device”” in this scenario is any device with a chat app installed, push notifications on, and the chat service uses Cloudflare CDN. This is a very common setup, Discord and Signal were mentioned as examples. Many others are vulnerable for the same thing. With read receipts on the chat platform (like Signal), no push notifications are required.

        The headline is sensationalist, but it isn’t something to be ignored. Especially for more privacy focused platforms like Signal, even leaking the country someone is in can be considered a risk. That’s effectively what this attack allows.

      • floofloof@lemmy.ca
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        1
        ·
        edit-2
        5 hours ago

        It doesn’t require them to have a compromised device. If they have Signal, or something similar, you just need to message them with an image attachment, then get to work checking where that image got cached.

        • just_another_person@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          23 minutes ago

          Not at all.

          • Phone needs to have network defaults enabled
          • Phone needs to have push notifications enabled
          • Phone needs to have background data enabled
          • No VPN
          • Attachment downloads by default in each app
          • No private DNS
          • No content blockers (lots have CDN bypass as a feature for this exact reason)

          Any of these being different would not make this possible for a number of reasons. The author is talking about journalists and security minded people being at risk, but it’s hard to imagine anyone going above the defaults to protect would be at much risk if they didn’t take one or two of these steps as protection.

          I assume from your comment you’re thinking “compromised device” to mean attacked, and those are synonymous. It’s just a phone with no protections.