this post was submitted on 10 Jul 2023
391 points (100.0% liked)

sh.itjust.works Main Community

7688 readers
6 users here now

Home of the sh.itjust.works instance.

Matrix

founded 1 year ago
MODERATORS
 

If you are a lemmy.world user, log out and log back in to clear cookies!

Last night, lemmy.world was compromised via an XSS vulnerability with custom emoji. Using this vulnerability, attackers took control of an admin account. The site redirected to mp4 files when logged in, and porn sites when not logged in. The issue was resolved by lemmy.world admins soon after it started, but the attacker regained control of the compromised admin account around ten minutes after resolution, redirecting users to the same mp4 files and sites. Soon after that, the site became inaccessable. The issue is currently resolved, and lemmy dev team has been notified of this vulnerability. sh.itjust.works will not be affected, as we do not have any custom emojis. If you own an instance with custom emojis, it is advised to remove these emojis and clear your cookies.

The following is the original post:

PSA: DO NOT ATTEMPT TO ACCESS LEMMY.WORLD, THERE MIGHT BE MALWARE

Lemmy.world member here. I created this account after .world started redirecting me to porn sites and odd mp4 files. We might want to defederate to limit the potential impact. Also, SJW might be affected by the same vulnerabilities as .world, so maybe the admins here should look at that.

Edit: ~~Situation seems to have stabilized. Some site icons aren't loading, but otherwise everything seems stable.~~ Read Edit2

Edit2: ~~HOLY SHIT ITS BACK~~ Read Edit3

Edit3: ~~lemmy.world is now down as of 10:56 PM CST (USA)~~ Read Edit4

Edit4: lemmy.world is now up, but serving an error as of 11:03 CST (USA) See a screenshot of this error. I also got logged out, hopefully it doesn't mean they just wiped the databases lol.

Edit5: Edit4 still applies, but I can now access lemmy.world via Memmy on my phone. Wefwef (Voyager now) does not work, however. Timestamp: 11:34 PM CST (USA)

Edit6: lemmy.world restored. Compromised admin account said something in a weird post. I'm going to bed now, my brain is play-dough rn. Will update you guys tomorrow morning.

you are viewing a single comment's thread
view the rest of the comments
[–] Givesomefucks@reddthat.com 59 points 1 year ago (8 children)

What impact?

As long as you dont go on lemmy.world, it's not going to redirect you to all the stupid websites.

And I doubt whatever they're posting (if they're posting anything) is getting upvoted, so you won't see it anywhere else.

And where are you getting "malware" from?

People are acting like it's some crazy hack, and not the 4chan rejects from exploding heads finally guessing an admins password a week after they got defederated. And after all that time chasing the mailman, they had no idea what to do when they guessed it

But this does highlight an issue with instances. I doubt the handful of admins know each other. Like, maybe an email, but for the most part if shit like this happens during "off hours" it might be a while before the top admin even knows there's an issue

[–] SimplePhysics@sh.itjust.works 22 points 1 year ago (1 children)

Did you read my post? -I said there might be malware. -I said not to visit lemmy.world -The entire site may be fucking compromised. If you have control the servers, you can change database values to make your post any amount of upvotes you want.

[–] hemmes@lemmy.one 2 points 1 year ago (1 children)

Now let’s see if this goes the way VLemmy did this weekend.

[–] ProvokedGamer@lemmy.ca 2 points 1 year ago (1 children)

Sorry I’m out of the loop. What happened to VLemmy?

[–] hemmes@lemmy.one 5 points 1 year ago (2 children)

Out of nowhere the instance went down. I believe it was late Saturday morning or so? It was my main instance and nobody has heard from the admin. He was always very enthusiastic and transparent, actively looking for more admins.

A day or so before it went down, he made a post about having to defederate with another instance due to current violation laws in his server’s country of origin. VLemmy is known for not banning many (if any) instances in favor of moderation, so they take defederation very seriously.

It looks like he got caught up with some bad content and had to shutdown. Not sure how long but all his tip and donation links have been closed including I believe his GitHub.

[–] PixelPassport@kbin.social 3 points 1 year ago

The donation links closing and silence from the admin definitely makes me think some kind of government shutdown.

[–] ProvokedGamer@lemmy.ca 1 points 1 year ago (1 children)

Oh ok. Dang it’s been a helluva few days, huh?

[–] hemmes@lemmy.one 1 points 1 year ago

That would be a fair statement

[–] Mic_Check_One_Two@reddthat.com 18 points 1 year ago

Seems like there’s an active cookie-scraping attack going on. Lots of compromised accounts are going around different instances posting links with drive-by JavaScript. The JS tries to grab your current login token, which would give hackers access to your current login session.

They don’t need your password because they’re just grabbing that cookie that your browser gets when you check the “Keep me logged in” checkbox on login. That’s what allows you to verify your account across multiple sessions, and it allows them to do the exact same thing. They can simply send that authorized token, and “log in” as you. This would (likely) work across instances, because if they grab your cookie then it will give them access to whatever instance your account is logged in on.

So Lemmy.world will likely need to be completely defederated (to stop any compromised accounts from posting on other instances) and your specific instance will likely need to deauthorize all current login tokens (which will forcibly log everyone on your instance out) to stop any local accounts that got hit.

[–] steakmeoutt@sh.itjust.works 10 points 1 year ago (1 children)

That's exactly what happened. And anyone complaining about vote rigging is probably from exploding-heads too.

[–] carbon_based@sh.itjust.works 4 points 1 year ago

Possible but on what evidence would one make such a claim?

https://sh.itjust.works/post/923025 The comments in this post explain it better than I can, but this seems like a much bigger issue than an admin account being compromised.

[–] wetnoodle@sh.itjust.works 7 points 1 year ago

It's taking out multiple instances, lemmy.blahaj.zone just went down too

[–] can@sh.itjust.works 6 points 1 year ago (1 children)
[–] Givesomefucks@reddthat.com 13 points 1 year ago (1 children)

And how many people answer that on Sunday night?

What I'm getting at is a major website has at least a skeleton staff that can do something, even if that's just pulling the plug.

I don't even reply to most work texts after hours unless it's someone saying they have to use sick leave. I don't expect people hosting Lemmy as a hobby to be on call 24/7.

But I hope afterwards they're transparent about what happened and how they're going to stop it from happening again. If not, it's easy to hop instances

[–] can@sh.itjust.works 12 points 1 year ago* (last edited 1 year ago) (1 children)

There's other admins working on it now. It's 5am where the owner is.

[–] hemmes@lemmy.one 2 points 1 year ago

Instance name checks out

[–] bestdude@kbin.social 4 points 1 year ago* (last edited 1 year ago)

Could I get hacked or compromised or something just by lurking the website? I didn't notice the Israel stuff until a bit late
Password was randomly generated like 5f.4_0@3j&j so no common passwords

[–] Jacksachatter@lemmy.sdf.org 1 points 1 year ago

Lemmy world is down as of now