Note: This post now archived and as such no longer works

An external image showing your user-agent and the total "hit count"

  • TriLinder@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    108
    ·
    1 year ago

    This is possible because Lemmy doesn’t proxy external images but instead loads them directly. While not all that bad, this could be used for Spy pixels by nefarious posters and commenters.

    Note, that the only thing that I willingly log is the “hit count” visible in the image, and I have no intention to misuse the data.

    • Shadow@lemmy.ca
      link
      fedilink
      English
      arrow-up
      89
      arrow-down
      1
      ·
      1 year ago

      The best part is it also works on DMs, so it’s trivial to get any persons IP address. Want an admins IP address? Just DM them a message with an embedded spy pixel.

      I emailed the lemmy developers about this a few weeks ago since IMHO it’s a pretty big security issue, no reply.

      • TheEntity@kbin.social
        link
        fedilink
        arrow-up
        42
        arrow-down
        6
        ·
        1 year ago

        I think you’re overestimating the value of someone’s IP address. Not much one can do with it unless someone really tries to expose themselves.

        • pivot_root@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          edit-2
          1 year ago

          1: DM all admins a spy pixel.

          2: Coordinate a mass effort to spam rule-breaking posts and comments at some day.

          3: Distributed denial of service attack on all admin IPs on that day.

          Profit?

          • TheEntity@kbin.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I’m on kbin, so tell me: do the images open on their own on Lemmy? If not, then it works like any link one might send, image or not image. The server always can see the IP address, as it was never meant to be secret. This also assumes the admins always use a single network with a single static IP address.

            • pivot_root@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Embeds are fetched and displayed without user interaction.

              This also assumes the admins always use a single network with a single static IP address.

              Not really. Send a DM to every single admin of an instance and wait until you get enough collected IP addresses. Pay someone running a botnet to flood those addresses for an hour or two.

              Even with a dynamic IP address, you’re still stuck with it for a while. If you’re lucky, power cycling will get a new one immediately. If you’re not you get to enjoy waiting for a day or sitting on hold with your ISP’s support number, running through their scripted support process until you finally get to someone capable of helping.

  • Porrny@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    1 year ago

    You are viewing this from Apple Mail on MacOSX…. Ummm, okay. If you say so…

  • TheGreatFox@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    It got my OS right, but browser wrong. Tested both Librewolf and Vivaldi, which it sees as Firefox and Chrome.

    • L_Acacia@lemmy.one
      link
      fedilink
      English
      arrow-up
      18
      ·
      1 year ago

      This is because librewolf reports itself as firefox for privacy, and vivaldi does the same thing with chrome. Their is no vivaldi string in their user agent.

    • narwhalperson@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      That makes sense. Vivaldi uses a chrome user agent most of the time, unless you use a Microsoft service, in which case it uses a Microsoft Edge user agent.

  • Steeve@lemmy.ca
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    You are viewing this from a (rand() % 2 == 0) ? "android" : "apple" phone.

  • Deez@lemm.ee
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    “You are viewing this from bile Safari”

  • _e____b@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    It did not get my setup right. I guess that newsboat+PostmarketOS+Pinephone is exotic enough.

  • Artair Geal@pawb.social
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Right client, wrong operating system. It knows I’m using Leomard, but it thinks I’m on iOS. I suspect it doesn’t handle architecture detection well on Apple Silicon machines.

  • Draconic NEO@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    Very interesting, I think I’ll probably be using Tor for my Lemmy usage from now on, or at least a VPN since this does have the potential to be used maliciously in personal DDoS attacks.

    • Mubelotix@jlai.lu
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      3
      ·
      1 year ago

      Your IP isn’t a secret. There plenty of ways to get it. And this one doesn’t even link it to your identity

      • Draconic NEO@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        It’s not about identification it’s about being disconnected in a DoS by someone with faster internet (until I can get a new one, dynamic IP rotates).

        • Mubelotix@jlai.lu
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          3
          ·
          edit-2
          1 year ago

          DoS is expensive. Who the hell would spend money just to get you disconnected? Nobody cares about your connection

      • Draconic NEO@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Are you sure about that because I can open and view lemmy.world just fine in Tor, I think what they mean is federation between hidden services i.e. lemmyinstanceoniondomain.onion is blocked or just not implemented.

          • Draconic NEO@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I haven’t gotten Cloudflare captchas on lemmy.world yet, Haven’t tried using an app with Tor, as a general rule it’s best to use Tor through the browser since it has features to reduce fingerprinting and MITMs

  • Mezzy@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    “You are viewing this from ome Mobile web View on Andr”… Uhhhh… Ok?