Drawing attention on this instance so Admins are aware and can address the propagating exploit.
EDIT: Found more info about the patch.
A more thorough recap of the issue.
GitHub PR fixing the bug: https://github.com/LemmyNet/lemmy-ui/pull/1897/files
If your instance has custom emojis defined, this is exploitable everywhere Markdown is available. It is NOT restricted to admins, but can be used to steal an admin’s JWT, which then lets the attacker get into that admin’s account which can then spread the exploit further by putting it somewhere where it’s rendered on every single page and then deface the site.
If your instance doesn’t have any custom emojis, you are safe, the exploit requires custom emojis to trigger the bad code branch.
And this is why you don’t trust tankies. It’s very easy to compromise the software and put back doors into it.
Use kbin instead.
And this is not me saying that this is a case of that, this is me saying that this could be the case in the future
This is the dumbest possible take about the situation, my lord.
I realize that you’re using ‘my lord’ as a bit of an exclamation here, but I initially read it as you addressing the commenter as your lord. it just made me imagine you with a heavily British accent, going full medieval peasant style to mock the guy. I found that quite humorous.
I’m sure kbin.social blocks lemmygrad, but in case it doesn’t: you are such a dork, please learn to not be a dork in the future. Thank you.
What are you referring to here?
the lemmy devs are open communists. that’s it lol
Wow that is extremely irrelevant
yeah, kind of insane the grudge people hold about it, people like that user spread all these spooky posts about how the devs are communists coming to kill you or something and that’s why you should use kbin (I’m only slightly exaggerating, the way these people post about it makes it sound like the devs are directly involved with like human rights abuses or something lol)
The Lemmy devs are ideological fans of communist China.
They’re likely to cooperate with them down the line and take actions that compromise their software, send data to others who are in their circle, and so on and so forth.
A lot of people say since Lemmy is open source you can trust it, but open source isn’t a protection against malicious code. Here you can see an example of just how easy it is to sneak something by. Even though this wasn’t a malicious example it still allowed admin accounts to be compromised
I know you’re getting it from all angles right now, but
Do you have a source for their support of Communist China? I know they’re purported communist, but I didn’t notice any outright support of the Chinese form of communism.
Not trying to argue, but genuinely trying to stay informed
Check out lemmy.ml, which is the devs instance. You’ll see it very quickly.
You seem to be coming up with conspiracy theories, don’t you?
And you don’t seem to know how (developing) software works, and that people aren’t infallible when it comes to avoiding bugs.
Popularity just also increases the attack surface to a project, all these bugs can absolutely also occur in kbin. Unless software is mathematically proven (which is practically impossible in this context), it’s always possible that there is a bug lurking around the corner.
I’m literally a professional software developer.
I’m also telling you that people are fallible, bugs are easily missed, and you shouldn’t trust a project to be secure just because it’s open source.
Yes.
And kbin doesn’t have developers that have reason to attempt to create and support malicious code. You can trust them to at least attempt to keep the code base clean in good faith. You can’t trust Lemmy to do the same.
Why shouldn’t I trust Lemmy?
I mean the devs are now finally able to finance themselves via donations, after years of work on a project I’ve always aspired to make (but don’t have the necessary drive and time for it). There are also a lot more developers now with lemmy.
Just because you obviously don’t share their political view, doesn’t mean that they don’t want this thing to be censorship-resistant and impossible to take down (no matter whether it’s a left or right authoritarian state/entity). They are closer to anarchism and marxism, than they’re to Chinas (authoritarian) version of “communism” (as the right wing media likes to simplify this rather complex topic…).
Everyone is more or less political, but it’s far fetched to allege the conspiracy that the devs are working together with the chinese government or something weird like that.
They are literally ideologically aligned with a state that runs the largest mass censorship program in the world.
Doesn’t help. They’re still potentially malicious actors.
It’s just a sliiiight bit more extreme than a small difference.
I also love how you’re jumping goal posts here after your other point totally failed to land.
They literally regularly praise and support China through their moderation and consider negative talk about China western propaganda.
Like you’re on the other side of the spectrum (i.e. Nazi)?
Yeah in that sense everyone is a potential malicious actor, but it’s much less likely if all the code is publicly visible (open source), that this happens. Now especially as there are now a lot more people watching over the code and potentially future contributions (code review).
I trust these guys a lot more than most politicians or big companies (whether they’re obviously authoritarian like in china, russia or “democratic” like in the USA). Transparency is a much more important factor than ideology/political views IMHO (e.g. they could publicly claim that they’re rightwing, while they’re tankies and vice versa).
But to me all your comments feel like rootless conspiracy anyway…
No, I would consider them being a bunch of Nazis just as bad. Any idealistically extreme group should never ever ever control platforms like these in any way.
Cheap ass copout reasoning there. You’re still trusting code you shouldn’t.
This is hardly a back door. The lemmy devs just screwed up.
Kbin had a fix for an SQL injection exploit the other week. Both probably still have security holes that haven’t yet been identified.
There are more eyes on the software as the userbase grows, and people are going to find more flaws. That’s just the way things go.
I literally said it wasn’t in my comment, it’s evidence of how easy it is to put one in down the line despite the fact this is open source software.
You must not understand how open source works
This comment is so idiotic that its least stupid explanation is that it’s a false flag by a tankie to make their critics look like idiots.
Its open source and a lot of people are looking at it. The odds it has a back door intentionally put there are slim to none. It would get noticed.
Did they catch this?
Don’t know, I don’t have enough information. Though my point were if it were intentional. I am going to hazard a guess by how they are scrambling to send out patches that it probably wasn’t intended by the creators.
The kind of developers that would put a back door in their software probably are also working on things with far more value potential than an open source forum where they could easily be caught. Perhaps like banks or weapons depots.
No. They didn’t catch this. It compromised an administrator on a massive instance.
It wasn’t intentional. It proves that when it is intentional it’ll be easily done and it’s a mistake to trust the Lemmy code base.
And the problem was fixed right afterwards and is currently being pushed out for admins to update to. Look, like it or not, shit happens. Expecting it to be full proof is unrealistic. It is a young software.
Just because it happened unintentionally, doesn’t prove that we can’t trust the developers to not put back doors in. Even if they did, why would they? What is there to gain for the developers adding a backdoor to it? Versus the risk of doing so? Is it ever worth the trouble when it is very much possible to find out if they did?
Lemmy has no financial value. That is the point. We don’t use credit cards here, people rarely use their names, email verification isn’t mandatory on all instances, passwords are potentially useful but you still need to know who they belong to. It is just such a great risk to their reputation for such a small gain.
Which is expected. When it comes to security the fact it happened at all is the problem.
I don’t expect the software to be fool proof. All software has bugs and problems, but this software is specifically developed by bad actors who will eventually use the platform to fuck you over.
The developers aren’t trustworthy on the account of their extremist ideology, not on account of this bug happening. This bug is evidence that despite the fact that this project is open source you should not just brush off that extremist ideal as “no big deal”.
And immense social value.
What do you mean by that? Are they hell bent on using Rust Nightly and making overly-judicious use of
.unwrap()
?edit: I see that you mean they are Marxist-adjacent.
Why would they build the platform open source if they wanted to put a back door in it? Go touch grass you shut in.
We can argue non stop about politics, but that isn’t the point. Whether or not we agree with their politics is irrelevant to their ability to build a social platform. Until we start to see their beliefs affecting their software decision making in a negative way, we cannot complain about it. As they may or may not have popular opinions, that is a very good reason for them to have a great platform. So they can share them without fear of retaliation.
However, they have so far done nothing to show they can’t be trusted to not make unbiased or malicious software. It is incredibly rude to assume they will.
If you have evidence showing they cannot be trusted, please come forth with it. We need to know it.
You’ll be about a billion days too late and the entire network will have been compromised for ages. You don’t operate on a “oh let’s just trust the authoritarian communists until they do something bad” policy.
This is a ridiculous take and fairly toxic. Don’t ruin any communities with unnecessary hate. It’s unwanted.
Tbf, there are far more pressing reasons for distrusting Tankies… Instances getting hacked is for sure aggravating, but it isn’t the gulag-backed paranoid ultra-corrupt authoritarian hellhole they so admire and wish to expand globally.