Drawing attention on this instance so Admins are aware and can address the propagating exploit.

EDIT: Found more info about the patch.

A more thorough recap of the issue.

GitHub PR fixing the bug: https://github.com/LemmyNet/lemmy-ui/pull/1897/files

If your instance has custom emojis defined, this is exploitable everywhere Markdown is available. It is NOT restricted to admins, but can be used to steal an admin’s JWT, which then lets the attacker get into that admin’s account which can then spread the exploit further by putting it somewhere where it’s rendered on every single page and then deface the site.

If your instance doesn’t have any custom emojis, you are safe, the exploit requires custom emojis to trigger the bad code branch.

  • bioemerl@kbin.social
    link
    fedilink
    arrow-up
    2
    arrow-down
    17
    ·
    1 year ago

    The Lemmy devs are ideological fans of communist China.

    They’re likely to cooperate with them down the line and take actions that compromise their software, send data to others who are in their circle, and so on and so forth.

    A lot of people say since Lemmy is open source you can trust it, but open source isn’t a protection against malicious code. Here you can see an example of just how easy it is to sneak something by. Even though this wasn’t a malicious example it still allowed admin accounts to be compromised

    • philm@programming.dev
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      1 year ago

      You seem to be coming up with conspiracy theories, don’t you?

      And you don’t seem to know how (developing) software works, and that people aren’t infallible when it comes to avoiding bugs.

      Popularity just also increases the attack surface to a project, all these bugs can absolutely also occur in kbin. Unless software is mathematically proven (which is practically impossible in this context), it’s always possible that there is a bug lurking around the corner.

      • bioemerl@kbin.social
        link
        fedilink
        arrow-up
        2
        arrow-down
        9
        ·
        1 year ago

        And you don’t seem to know how (developing) software works, and that people aren’t infallible when it comes to avoiding bugs.

        I’m literally a professional software developer.

        I’m also telling you that people are fallible, bugs are easily missed, and you shouldn’t trust a project to be secure just because it’s open source.

        Popularity just also increases the attack surface to a project, all these bugs can absolutely also occur in kbin.

        Yes.

        And kbin doesn’t have developers that have reason to attempt to create and support malicious code. You can trust them to at least attempt to keep the code base clean in good faith. You can’t trust Lemmy to do the same.

        • philm@programming.dev
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          1 year ago

          Why shouldn’t I trust Lemmy?

          I mean the devs are now finally able to finance themselves via donations, after years of work on a project I’ve always aspired to make (but don’t have the necessary drive and time for it). There are also a lot more developers now with lemmy.

          Just because you obviously don’t share their political view, doesn’t mean that they don’t want this thing to be censorship-resistant and impossible to take down (no matter whether it’s a left or right authoritarian state/entity). They are closer to anarchism and marxism, than they’re to Chinas (authoritarian) version of “communism” (as the right wing media likes to simplify this rather complex topic…).

          Everyone is more or less political, but it’s far fetched to allege the conspiracy that the devs are working together with the chinese government or something weird like that.

          • bioemerl@kbin.social
            link
            fedilink
            arrow-up
            1
            arrow-down
            8
            ·
            1 year ago

            Why shouldn’t I trust Lemmy?

            They are literally ideologically aligned with a state that runs the largest mass censorship program in the world.

            I mean the devs are now finally able to finance themselves via donations

            Doesn’t help. They’re still potentially malicious actors.

            Just because you obviously don’t share their political view,

            It’s just a sliiiight bit more extreme than a small difference.

            I also love how you’re jumping goal posts here after your other point totally failed to land.

            They are closer to anarchism and Marxism

            They literally regularly praise and support China through their moderation and consider negative talk about China western propaganda.

            • philm@programming.dev
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              It’s just a sliiiight bit more extreme than a small difference.

              Like you’re on the other side of the spectrum (i.e. Nazi)?

              Doesn’t help. They’re still potentially malicious actors.

              Yeah in that sense everyone is a potential malicious actor, but it’s much less likely if all the code is publicly visible (open source), that this happens. Now especially as there are now a lot more people watching over the code and potentially future contributions (code review).

              I trust these guys a lot more than most politicians or big companies (whether they’re obviously authoritarian like in china, russia or “democratic” like in the USA). Transparency is a much more important factor than ideology/political views IMHO (e.g. they could publicly claim that they’re rightwing, while they’re tankies and vice versa).

              But to me all your comments feel like rootless conspiracy anyway…

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

                Like you’re on the other side of the spectrum (i.e. Nazi)?

                No, I would consider them being a bunch of Nazis just as bad. Any idealistically extreme group should never ever ever control platforms like these in any way.

                I trust these guys a lot more than most politicians or big companies

                Cheap ass copout reasoning there. You’re still trusting code you shouldn’t.

                • philm@programming.dev
                  link
                  fedilink
                  arrow-up
                  5
                  ·
                  1 year ago

                  You’re still trusting code you shouldn’t.

                  In case you haven’t understood my previous argument. I trust code I can actually read and reason about (compared to e.g. reddit, facebook etc.). And just to prove my point, I am already looking over the codebase of lemmy, because there are obviously a lot of things that can still be improved, but malicious intent I haven’t found yet. And if I have missed something, other people will certainly find such things, and if that’s the case (which I don’t believe) then shit will certainly hit the fan.

                  kbin is also open source, and I’m happy that there are other projects with a similar vision as lemmy (the choice for PHP is an absolute mystery for me, but whatever floats your boat I guess). More (non-malicious) implementations always improve the fediverse in many ways.

                  • bioemerl@kbin.social
                    link
                    fedilink
                    arrow-up
                    1
                    arrow-down
                    2
                    ·
                    1 year ago

                    I trust code I can actually read and reason about

                    Unless you’re auditing the code yourself you can’t. This is my point. The fact something is open source does not and will never protect you unless you go out of your way to do the herculean task of auditing it yourself.

                    And even if you audited it, guess what happens next week? Next year? The bigger the system gets the more valuable it is a target. I don’t expect anything malicious to happen now. I expect it to happen once the growth phase is over.

                    At the end of the day it all falls down to trust.

    • NotNotMike@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I know you’re getting it from all angles right now, but

      Do you have a source for their support of Communist China? I know they’re purported communist, but I didn’t notice any outright support of the Chinese form of communism.

      Not trying to argue, but genuinely trying to stay informed

        • NotNotMike@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Thank you for the link. It’s interesting to see a lot of these points. It’s a massive undertaking, and is illuminating to see the other side of the coin, as it were.

          Too much to go through in one sitting but a lot to swallow