While I was asleep, apparently the site was hacked. Luckily, (big) part of the lemmy.world team is in US, and some early birds in EU also helped mitigate this.

As I am told, this was the issue:

  • There is an vulnerability which was exploited
  • Several people had their JWT cookies leaked, including at least one admin
  • Attackers started changing site settings and posting fake announcements etc

Our mitigations:

  • We removed the vulnerability
  • Deleted all comments and private messages that contained the exploit
  • Rotated JWT secret which invalidated all existing cookies

The vulnerability will be fixed by the Lemmy devs.

Details of the vulnerability are here

Many thanks for all that helped, and sorry for any inconvenience caused!

Update While we believe the admins accounts were what they were after, it could be that other users accounts were compromised. Your cookie could have been ‘stolen’ and the hacker could have had access to your account, creating posts and comments under your name, and accessing/changing your settings (which shows your e-mail).

For this, you would have had to be using lemmy.world at that time, and load a page that had the vulnerability in it.

0 points

With the JWT secret rotation, shouldn’t everyone be forced to re-login? I’m posting with my existing session without any changes.

permalink
report
reply
0 points

It won’t even let me login, it gives me the green Logged on toast message but it doesn’t actually log in

permalink
report
parent
reply
1 point

Thanks Ruud for fixing it! Just a reminder guys that If you are using a third party app you need to login again.

permalink
report
reply
1 point

what steps are being taken to ensure it doesn’t happen again? was any personal data compromised for users?

permalink
report
reply
1 point

Good point, I’ll update the post.

permalink
report
parent
reply
0 points

Would it be a good idea to force a login if the users IP or device suddenly changes?

permalink
report
reply
0 points

My IP changes daily, which is quite usual in my country.

permalink
report
parent
reply
0 points

Pardon the ignorance, but how do I know if I was compromised? what do?

permalink
report
reply
0 points
*

If you opened an infected page they were able to use your session. That means acting as your account, including seeing and changing your settings. (Which could have allowed them to change your account email or password.)

Nothing beyond that.

permalink
report
parent
reply

Lemmy.World Announcements

!lemmyworld@lemmy.world

Create post

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Join the team

Community stats

  • 3.1K

    Monthly active users

  • 177

    Posts

  • 2.6K

    Comments