827
submitted 1 year ago* (last edited 1 year ago) by ruud@lemmy.world to c/lemmyworld@lemmy.world

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 5) 46 comments
sorted by: hot top controversial new old
[-] null@zerobytes.monster 0 points 1 year ago

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

[-] AlmightySnoo@lemmy.world 0 points 1 year ago

I would put a link to ๐Ÿ‹๐ŸŽ‰ porn disguised as a "go to admin panel" link for them there

[-] null@zerobytes.monster -1 points 1 year ago

Updated it little bit, probably later add some "nice" links too ๐Ÿ˜‚

[-] gnarly@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

Had to clear my browser catch to log in, Jerboa still shows as not logged in even after logging out which you do by clicking the hamburger menu then click the top banner to change/log out of accounts. This post is a test to see if my account works again via browser lol.

Edit: clearing app data/cache for Jerboa fixed the login issue.

[-] RealFknNito@lemmy.world -2 points 1 year ago

Thanks for this comment, I had to wipe cache and cookies to login on desktop. Wasn't sure what was preventing me from logging in.

[-] dylanTheDeveloper@lemmy.world 0 points 1 year ago

Good thing we all use randomly generated passwords for every account and always remember to change them every few months.

[-] I_AnoN_I@lemmy.world -2 points 1 year ago

Brave has a really good random password generator logged in and a password manager that is protected by a 24 character seed phrase

load more comments (2 replies)
[-] AlmightySnoo@lemmy.world 0 points 1 year ago* (last edited 1 year ago)

Do we have any details on how Michelle's account was compromised? Right now in the GitHub issue about the vulnerability they're clueless about how the custom emoji exploit could be performed without first an already compromised admin account.

EDIT: yeah here's how: https://github.com/LemmyNet/lemmy-ui/issues/1895#issuecomment-1629326627

You do NOT need an admin account to do that. Any normal user could have done that.

load more comments (6 replies)
[-] gsdsam@lemmy.world 0 points 1 year ago

Could admins sign announcements with a PGP key to mitigate false admin posts and the consequences this might have? Or is this no longer necessary?

load more comments (4 replies)
[-] FartsWithAnAccent@lemmy.world 0 points 1 year ago

Damn, I go to bed early and I miss everything! Thanks for the quick resolution and transparent disclosure, this place is great!

[-] RealFknNito@lemmy.world -2 points 1 year ago

Don't worry, all you missed was a lemonparty redirect and some weird picture of some guy's face and a caption. It was just some basic disruption, glad the staff resolved it quickly though.

[-] iamsorry@lemmy.world 0 points 1 year ago* (last edited 1 year ago)
[-] binary45@lemmy.world -1 points 1 year ago

Is that why I got logged off?

load more comments (2 replies)
[-] favrion@lemmy.world -1 points 1 year ago

Is that why Liftoff wasn't loading?

[-] antik@lemmy.world 0 points 1 year ago

Most likely. Have you tried re-adding your account to Liftoff?

[-] favrion@lemmy.world -1 points 1 year ago

Would I have to delete the app and redownload it?

[-] antik@lemmy.world 0 points 1 year ago

Yes that would work. Or: Settings -> Accounts -> Hold down on account name -> Remove account

[-] favrion@lemmy.world -1 points 1 year ago

Would that compromise my account?

[-] 0x4E4F@sh.itjust.works 0 points 1 year ago

No, you just have to readd it again.

[-] favrion@lemmy.world 0 points 1 year ago

It worked for Liftoff, but now I can't log in on the desktop.

[-] favrion@lemmy.world 0 points 1 year ago

I also can't post in some communities in the app and have to go to the desktop for that.

[-] 0x4E4F@sh.itjust.works 0 points 1 year ago* (last edited 1 year ago)

That might be something introduced after the attack, might even be code changes. It should be fixed within a few days, I'm sure the admin team is working on bringing everything back to normal. If it's not fixed within a few days, clear cache and data in liftoff, readd your accounts.

load more comments (1 replies)
load more comments (2 replies)
[-] betterdeadthanreddit@lemmy.world -5 points 1 year ago

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
view more: โ€น prev next โ€บ
this post was submitted on 10 Jul 2023
827 points (99.4% liked)

Lemmy.World Announcements

28381 readers
1 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