cross-posted from: https://sh.itjust.works/post/923025

lemmy.world is a victim of an XSS attack right now and the hacker simply injected a JavaScript redirection into the sidebar.

It appears the Lemmy backend does not escape HTML in the main sidebar. Not sure if this is also true for community sidebars.

You are viewing a single thread.
View all comments
12 points

I wonder if there is something the Lemmy.ca admins can do to disable the sidebar or put a workaround in to prevent this.

permalink
report
reply
37 points

At this point I’m monitoring inter-instance communications channels non stop even though I should be in bed. I will be temporarily removing admins that have not responded to my inquiry to confirm if they have 2FA authentication turned on as initial access appears to have been gained due to lack of 2FA.

If there’s anything additinal we can do, we will.

permalink
report
parent
reply
6 points

Good luck, and thanks for all your hard work. I don’t know if you already saw this, but it looks like this might be the vector for the account compromise. If that’s the case, I don’t think 2FA is enough to protect, because it’s exfiltrating the session cookies of someone already logged in. Seems like the precaution is for admins to avoid clicking any suspicious links. I realize the irony of sharing a link about this, but at least it’s to a thread on this instance.

https://lemmy.ca/post/1311411

permalink
report
parent
reply
8 points

I’m copying all links into a brand new incognito mode window for now.

permalink
report
parent
reply
2 points

Introduce minimum password complexity if there’s a config option for it and force admins to reset passwords.

permalink
report
parent
reply
4 points

There’s no minimum complexity but I’ve enforced 2FA for all admins. One admin that did not respond has been temporarily removed precautionarily.

permalink
report
parent
reply

Lemmy.ca's Main Community

!main@lemmy.ca

Create post

Welcome to lemmy.ca’s c/main!

Since everyone on lemmy.ca gets subscribed here, this is the place to chat about the goings on at lemmy.ca, support-type items, suggestions, etc.

Announcements can be found at https://lemmy.ca/c/meta

For support related to this instance, use https://lemmy.ca/c/lemmy_ca_support

Community stats

  • 89

    Monthly active users

  • 188

    Posts

  • 2.2K

    Comments