For anybody wondering what the Mastodon security issue is - CVE-2023-36460, you can send a toot which makes a webshell on instances that process said toot. #CVE202336460 #TootRoot
@GossiTheDog Well that's less than ideal...
@GossiTheDog That is fantastic!
@robotfactory @GossiTheDog i take it that's sarcasm or you're impressed that such a bug is even possible
@tauon @GossiTheDog @robotfactory there is not a single impossible bug if whoever makes software does not know what they are doing. i've seen a TTS service that literally passed text you fed it into a bash shell, and someone could just ask it to say $(cat /etc/passwd) and that would spit actual passwd lines out

@gravitos @tauon @GossiTheDog @robotfactory

I was literally having a conversation with a junior about scenarios we are testing and for about 30 minutes the conversation revolves around ยซ this is not a realistic scenario, people cannot be possibly be doing this ยป.

@andrei_chiffa what scenarios are those? i will be glad to go and do some weird stuff in someone's software for science

p.s. no data leakages

@tauon @GossiTheDog @robotfactory

@gravitos @tauon @GossiTheDog @robotfactory people putting unsanitized SQL databases behind LLM chat front-ends.

@andrei_chiffa that's like the first thing that comes to some people's minds - like, i've even seen a joke... actually, one two xkcd comics directly referring to this. that means something!

@tauon @GossiTheDog @robotfactory

327: Exploits of a Mom - explain xkcd

explain xkcd is a wiki dedicated to explaining the webcomic xkcd. Go figure.

@GossiTheDog You are kidding, right? If that's true, that's absolutely bonkers. Wow.
@GossiTheDog well now I'm *real* glad I took a late lunch to patch within 15 mins of release
@GossiTheDog FYI we will publish the advisories in a few hours.
Those come from a pentest by Cure53, sponsored by Mozilla. We will most probably publish the full report at some point.
@renchap @GossiTheDog Are other AP implementations also going to get an audit?
@csepp @GossiTheDog No idea, this was funded by Mozilla, most probably because they are preparing to launch their instance.
@GossiTheDog So can we use the vulnerability to patch itself...
@GossiTheDog Thanks for the info. Definitely a critical upgrade. I will be updating here as soon as possible.
@GossiTheDog They've really cocked up the docker image build, the latest tag is currently pointing at 3.5.9, after briefly pointing at 4.0.5. Great fun!
@GossiTheDog Updated both my instances. Are there any checks out to verify it wasnโ€™t exploited?
@brian @GossiTheDog you should probably check for strange files and your logs
@GossiTheDog So you could send a toot to get root and steal some loot? But if you patch and reboot, itโ€™ll be moot?
@GossiTheDog I wonder if this means it's theoretically possible to send a toot that will hotfix affected instances. :)
@GossiTheDog Thanks for the info, just updated my instance to v4.1.3
Kevin Beaumont (@[email protected])

For anybody wondering what the Mastodon security issue is - CVE-2023-36460, you can send a toot which makes a webshell on instances that process said toot. #CVE202336460 #TootRoot

Cyberplace
@GossiTheDog welp I am very, VERY glad that I decided to patch immediately. This is worse than Drupalgeddon.

@GossiTheDog yIKES so it's an actual security fix, not a Facebook trojan horse or whatever shit? That's good to know, we can install it now.

(Yeah, we do /not/ trust Gargron anymore.)

@GossiTheDog pleromachads we canโ€™t stop winning
@GossiTheDog PPL need to be carefully running GRSEC on these things.
@dave_aitel
@GossiTheDog
Is there a way to run grsec at hobbyist scale?
@FritzAdalis @GossiTheDog I'm actually not sure... I would annoy the team but I am pretty annoying....
@GossiTheDog itโ€™s always input sanitizing. there are no new problems in CS itโ€™s all just input
@GossiTheDog thank you for sharing this. How does one check if the instance they are on is patched?
@GossiTheDog on the sending instance or receiving instance?

@GossiTheDog

I have never seen a 9.9/10 severity before. ๐Ÿ˜ฒ

@GossiTheDog Mozilla.social @social still has v4.1.2 ๐Ÿ˜ฎ
@GossiTheDog Is there any way to check if alternatives like Pleroma are affected ?