this post was submitted on 10 Jul 2023
2929 points (99.3% liked)

Lemmy.World Announcements

29077 readers
74 users here now

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

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 2 years ago
MODERATORS
 

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.

(page 2) 50 comments
sorted by: hot top controversial new old
[โ€“] nonagonOrc@lemmy.world 21 points 1 year ago (2 children)

Thank you for the transparency and swift solution!

Vulnerability strikes. Open source's lightning response strikes back. Again.

load more comments (1 replies)
[โ€“] wee_butterfly@lemmy.world 21 points 1 year ago (1 children)

Any truth to what I've heard this may have been done by a group we defederated with?

load more comments (1 replies)
[โ€“] brittleback@lemmy.world 21 points 1 year ago

Well done all involved. Sounds like it was caught and mitigated quickly

[โ€“] Notsosupermario@lemmy.world 20 points 1 year ago

Thanks for fixing and being so open about it

[โ€“] dr_scientist@lemmy.world 17 points 1 year ago

Good job. I don't understand very much of that, so that makes me all the more grateful. Thank you.

[โ€“] null@zerobytes.monster 17 points 1 year ago (3 children)

I just disabled whole "/admin" section on my instance and added nice message ๐Ÿ˜†

load more comments (3 replies)
[โ€“] Alivrah@lemmy.world 16 points 1 year ago

The quick fix is much appreciated, thank you and everyone that helped for your hard work!

[โ€“] jennwiththesea@lemmy.world 16 points 1 year ago (8 children)

On Liftoff, I had to clear cache and storage in order to log back in. Still having issues with the website on Chrome, which keeps telling me I'm not logged in after clearing cache and logging back in.

load more comments (8 replies)
[โ€“] betterdeadthanreddit@lemmy.world 16 points 1 year ago (2 children)

At least now we can mark off the "disruptive website defacement attack" line on the checklist of (relatively) new website growing pains. Better to have them make lots of noise and get fixed quickly than quietly do sneaky things in the background.

load more comments (2 replies)
[โ€“] MeshPotato@lemmy.world 14 points 1 year ago

Thanks for your efforts. I know that Lemmy was put in place rather quickly as a Reddit alternative. But I'm genuinely hopeful that this will be a good alternative.

[โ€“] cantevencode@lemmy.world 13 points 1 year ago (2 children)

Does an admin account have any permissions to view email addresses or data of registered users?

Did MichelleG not have 2FA enabled?

Now that this has happened, it's be worth pushing this issue through as high priority. If HttpOnly was enabled, then an admin takeover would not have been possible.

https://github.com/LemmyNet/lemmy-ui/issues/1252

[โ€“] nosut@lemmy.world 18 points 1 year ago (3 children)

The JWT exploit bypasses 2FA requirements. It basically steals your active session and allows a third party to use it.

load more comments (3 replies)
load more comments (1 replies)
[โ€“] pascal@lemm.ee 13 points 1 year ago (1 children)

That doesn't surprise me. Especially the "homemade" instances. The documentation is severely lacking and I had to fix lots of stuff in the instructions with try&despair to make my instance run.

There's not a great focus in security if your application starts with "step 1: install docker"

load more comments (1 replies)
load more comments
view more: โ€น prev next โ€บ