cross-posted from: https://lemmy.ml/post/1895271
FYI!!! In case you start getting re-directed to porn sites.
Maybe the admin got hacked?
edit: lemmy.blahaj.zone has also been hacked. beehaw.org is also down, possibly intentionally by their admins until the issue is fixed.
Post discussing the point of vulnerability: https://lemmy.ml/post/1896249
Some information I have posted to Lemmy.World:
I have seen multiple posts by these people during the attack. It is most certainly related to JS.
If it’s
onload
then simply viewing the image runs that script. Yikes.That’s even worse, if Lemmy has a vulnerability like that it needs to get fixed ASAP… Also if that code actually works, I am going to have to secure my account.
I’d wager you’re likely fine if you’re using a mobile app when the affected image loads. Also, it appears they’re stealing auth tokens… not passwords or anything. At worst they could impersonate you until your token expires… but you’re not a high value target unless you’re an admin of an instance.
I used Firefox… So I definitely reset my password. Thing is I do not see an option for Lemmy where you can “sign out everywhere” which is the counter to Auth token stealing.
So I had to change it so that the Auth token would expire. Whilst I am not an admin I won’t take the chance. It could compromise other users and I do not want to take that risk.
Apparently the fix for the vulnerability signs everyone out.
the thing is right now lemmy by defaultNEVER expires the tokens… oops. Right now servers are manually expiring all their user’s tokens by changing the secret in the database because of this attack.
Oops indeed. Lemmy needs a security audit 😬
lmao I’m so stupid I pressed on that image and now my account is compromised. oh well it forced to create another and this is my first hack yayyyyy!
Clicking the image isn’t the issue, scrolling by it will nab your Auth tokens. Resetting your password will reset the Auth tokens protecting your account. A sign out everywhere button would fix it but that isn’t an option yet. It really needs to be.
There’s so many things wrong with this I don’t even know where to start
Wtf how is this even possible? Are the Lemmy devs smoking crack? If you’re going to run a reddit alternative, it may be wise to sanitize the fuck out of everything posted on there.
Please feel free to perform a full security audit.
You are free to open a PR
Not really helpful though is it? It’s like going to a friend’s house and asking why there is a sink hole in the middle of the floor that everyone is walking around, and they say “feel free get a hammer out”.
It’s more like when everyone is looking at the previously unknown hole and discussing how to patch it up and you start yelling how it is unacceptable as your friend’s house is a “bar alternative”
Honestly I think you’re all right. This is such a basic vulnerability it should never existed… AND I told you so’s and bitching don’t help.
Little Bobby Tables strikes again
Now seriously, people forget that Lemmy is alpha software, and Kbin is even younger
People have said the platform is years old, but it didn’t really get tested until June. I wouldn’t be surprised if more issues like this are found.
well Reddit was hacked so lemmy is still on track
the threadiverse wasn’t exactly popular until the reddit exodus
id probably flip it: are lemmy users smoking crack? if you’re going to run to a reddit alternative, it’d be wise not to choose alpha software!
¯_(ツ)_/¯ Lemmy.