• Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    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.

    • Kayn@dormi.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      But won’t custom emojis from remote instances still trigger the exploit?

      • ruk_n_rul@monyet.cc
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        Apparently the custom emojis are rendered as static images when federated to outside instances so it’s clean.

    • dsemy@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Just go to lemmy.world and see for yourself. (Or don’t actually, might give you a virus or something idk)

    • Max-P@lemmy.max-p.me
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Just go to https://lemmy.world and see for yourself, although be careful it’s nasty.

      As of now it looks like this:

      And then it randomly redirects to gore sites like lemonparty or chaturbate or some pedo shit. It’s pretty bad.