Mastodon fixes critical “TootRoot” vulnerability allowing node hijacking

3 years ago by BrikoX to c/technology

Most critical of the bugs allowed attackers to root federated instances.
load all comments
npmstart_pray 7 points 3 years ago

Not a comment but a question- does this potentially affect Lemmy servers as well?

path: 0 910068, hotness: undefined, score: 7, children: 5
jjagaimo 7 points 3 years ago

Directly probably not. Its more likely an implementation issue than a federation issue.

“Using carefully crafted media files, attackers can cause Mastodon's media processing code to create arbitrary files at any location"

I doubt lemmy and mastodon share image parsing code

path: 0 910068 910160, hotness: undefined, score: 7, children: 2
npmstart_pray 0 points 3 years ago

I’d not be so confident given just how quickly the rollout happened. Remember, we’re talking only a matter of weeks. (I’m a little more comfortable with things especially with the frequency of updates this far - I’ve installed 2 today)

path: 0 910068 910160 910334, hotness: undefined, score: 0, children: 1
wagesj45 5 points 3 years ago

This bug was a result of the way that Mastodon handled file uploads. Because of the way that Mastodon attempted to figure out what kind of file that a user uploaded, it was possible to create a very specific type of multimedia file that would, when analyzed by the server, trick the server into executing its contents like code rather than an image or movie file. Unless Lemmy processes files the same way, Lemmy should be unaffected.

path: 0 910068 911301, hotness: undefined, score: 5, children: 0
rehendix 1 point 3 years ago

Nope, other than the use of the ActivityPub standard to communicate information, Mastodon and Lemmy are entirely separate pieces of software. Whether Lemmy, Kbin and similar also have vulnerabilities that would allow for a similar exploit are dependent on how they've been designed.

path: 0 910068 911256, hotness: undefined, score: 1, children: 0
technology
technology

@lemmy.world

login for more options
88794
22180
14530

This is a most excellent place for technology news and articles.

Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


go to feed...