What are the cybersecurity weaknesses of the Fediverse?

3 years ago by Scientician to c/asklemmy

Most of us are Reddit refugees, and probably clicking more random links than we ever did before on websites we've never seen before. This whole experience feels like the old internet, but also throws up insane red flags with a modern internet perspective. What are the cybersecurity weaknesses we should all be looking for, and what are the best practices?

Here's my reason for posting this. As I search for new communities across instances to follow, I sometimes end up clicking a link and I'm no longer logged in. In the corner, that could be a Sign In link or it could be phishing. It's likely due to me not understanding how to properly navigate this system, but there's nothing stopping someone from setting up a sight like this as far as I know.

Thoughts?

kaseijin 57 points 3 years ago

Third party apps present a username and password field to log into a Lemmy instance. They can easily just steal your credentials. There are standard auth flows to solve this problem. The fact that Lemmy devs have willfully ignored this issue for years, and that they aren't warning users not to trust third party apps, lead me to believe they don't really care about security, which is the biggest red flag. There's finally an open github issue that seems to be acknowledged, but it'll be some time before this feature (if ever) ever gets implemented.

-Posted from a third-party app; yea, i gave them my password blindly.

path: 0 797945, hotness: undefined, score: 57, children: 5
Ech 10 points 3 years ago

There’s finally an open github issue that seems to be acknowledged, but it’ll be some time before this feature (if ever) ever gets implemented.

Fwiw, the devs seem quite open to (even directly requesting) people coding features they want and having them added into the main code in future versions. So if anyone is able and willing to make a working version of that for Lemmy, it could be added quite soon, really.

path: 0 797945 822108, hotness: undefined, score: 10, children: 1
czarrie 1 point 3 years ago

I suspect what will happen with the Federated universe as a whole is what happened to Linux - companies will start using the products, contribute to them, and it becomes this weird corporate/open source hybrid as the main devs, however good, simply won't have the same level of resources as say FAANG to throw at these problems

path: 0 797945 822108 833072, hotness: undefined, score: 1, children: 0
98codes 8 points 3 years ago

All the more reason to not reuse passwords, use a password manager, and turn on 2FA.

path: 0 797945 821563, hotness: undefined, score: 8, children: 0
skullgiver 6 points 3 years ago
path: 0 797945 813406, hotness: undefined, score: 6, children: 1
Blunon 3 points 3 years ago

The way Reddit did this was by just giving out a token, that could be done in the same way here on lemmy, I think that would solve the issue.

Now it’s true that you will be redirected to the site (here lemmy) but that’s the same on all services, as a user one needs to check the host name and certificate of the site they’re directed to.

path: 0 797945 813406 814821, hotness: undefined, score: 3, children: 0
KoboldCoterie 56 points 3 years ago

If you're navigating to another community on their instance, you won't be logged in. When you're seeing that, check the URL. If you're on lemmy.ml, you're still on your instance; if not, you've navigated to that instance.

There's multiple ways to structure links, some of which will take you to that community via your instance, some not.

Could it be phishing? Sure. But far more likely, you're just on another instance where you don't have an account (or at least an active login).

path: 0 795998, hotness: undefined, score: 56, children: 24
Artemis 12 points 3 years ago

Do you mind giving a short explainer of proper link formatting? I was struggling with this just a little bit ago

path: 0 795998 796215, hotness: undefined, score: 12, children: 22
KoboldCoterie 21 points 3 years ago

If you link directly to the full URL (including the instance), you'll take anyone who clicks it to that instance, and they won't be logged in. This is usually not what you want. Example: https://pawb.social/c/tech - This link will take you to my instance.

If you remove the instance URL, and just leave /c/communityname@instance - for example, /c/tech@pawb.social - the link will still take you to the community, but you'll still be on your instance. This is usually desirable.

Basically, instance -> community = link to that instance. Community -> instance = link to the community in whatever instance the user clicks it in.

You can also use ! instead of /c/ - I think this might work better for Kbin users (since they use /m/ instead of /c/ - can't verify this). In that case, it'd be: !tech@pawb.social

path: 0 795998 796215 796688, hotness: undefined, score: 21, children: 18
Azzu 21 points 3 years ago

I won't get tired of posting this everywhere it applies :D

I made this userscript, which rewrites all links everywhere (not only on Lemmy) to always point to your home instance. So the link in your comment actually looks like this to me:

i.e. even though you tried to link to your instance, my script rewrote your link back to my instance so it's working fine :D

But of course I can still hover over the icon to see how your link originally looked:

path: 0 795998 796215 796688 796861, hotness: undefined, score: 21, children: 9
BlueEther 7 points 3 years ago

I Have to say that @Azzu@lemm.ee 's script is fantastic. I've been using for a few days now (I have another bug report for you@Azzu@lemm.ee )

path: 0 795998 796215 796688 796861 801378, hotness: undefined, score: 7, children: 0
Staden_ 5 points 3 years ago

Would be nice if third party apps implemented that functionality.

Or if there were bots that automatically identify those external links and reply to them with a link to the community/post in other popular instances.

path: 0 795998 796215 796688 796861 804884, hotness: undefined, score: 5, children: 0
Scientician 3 points 3 years ago

This is great, and would make for a super useful Firefox extension.

path: 0 795998 796215 796688 796861 816340, hotness: undefined, score: 3, children: 5
KoboldCoterie 1 point 3 years ago

That is very useful! Installed!

path: 0 795998 796215 796688 796861 797000, hotness: undefined, score: 1, children: 0
Artemis 6 points 3 years ago path: 0 795998 796215 796688 796773, hotness: undefined, score: 6, children: 2
Artemis 6 points 3 years ago

Okay I learned a few things, though they may be specific to Memmy.

  1. The /c/community@instance works, and opens the links in the app, rather than browser
  2. If you have text in front of your link, it doesn’t work. Might be a Memmy issue.
  3. I need to test, but I think #2 is responsible for the Null errors I’ve been getting when text is hyperlinked.

Text testing #3 - confirmed, this returns the Null error.

Now without prior text

test - this also didn’t work

test! - using a link beginning with ! Also didn’t work. Hmm.

Edit from browser: Hyperlinked text isn't working properly in Memmy

path: 0 795998 796215 796688 796773 797070, hotness: undefined, score: 6, children: 1
DeadlineX 1 point 3 years ago

So just out of curiosity, since you’re the first person I’ve seen actually point out optimal linking with the ! Symbol, I have to ask how you pronounce it. For me, ! will always be “bang”, so I’m just curious what the pronunciation is.

path: 0 795998 796215 796688 803594, hotness: undefined, score: 1, children: 2
KoboldCoterie 3 points 3 years ago

I use "Bang", too, if I'm trying to verbally say it, though... that very rarely comes up. If I'm reading it, I don't internally "pronounce" the symbol at all. If it was verbal, though, the above link would be bang tech at pawb dot social.

path: 0 795998 796215 796688 803594 803596, hotness: undefined, score: 3, children: 1
SurpriseWaterfall 1 point 3 years ago

Is there a similar way to handle linking to specific posts? I think all post urls are unique to that specific instance and I haven't seen any way to do a translation between instances.

path: 0 795998 796215 796688 824094, hotness: undefined, score: 1, children: 1
KoboldCoterie 1 point 3 years ago

I don't believe there is, because as you note, post IDs are instance specific. I'd be very interested in knowing how to do it, too, though, if there is in fact a solution.

path: 0 795998 796215 796688 824094 824095, hotness: undefined, score: 1, children: 0
Inductor 12 points 3 years ago path: 0 795998 796215 796590, hotness: undefined, score: 12, children: 1
Artemis 6 points 3 years ago path: 0 795998 796215 796590 796971, hotness: undefined, score: 6, children: 0
soupspoon 2 points 3 years ago

The formatting !community@instance should let a user click through but still be logged in on their own instance, so that you can still read posts, vote and comment. If that doesn't work, you can try entering that same thing into your instance search bar, or in your browser enter https://your instance/c/community@theirinstance

It should all get a lot smoother as this platform is developed!

I haven't tried linking to a specific post on another instance, so I'm not sure of that formatting hmm

path: 0 795998 796215 796867, hotness: undefined, score: 2, children: 0
Scientician 2 points 3 years ago

Like I said... Most likely legit, but these issues will arise. This whole Fediverse thing feels like the first big thing to happen for whatever comes next. Which is great, but it would be foolish to think scammers, with modern tools wont try to exploit it. We all have some internet hygiene to figure out.

path: 0 795998 796674, hotness: undefined, score: 2, children: 0
Ziggurat 17 points 3 years ago

A big one I see that if you join any instance it's someone else computer. Not different from Meta/Reddit. But the probability that among all the instance there is one imposter who wants to steal your credential is non zero.
As usual don't use the same password everywhere

path: 0 812182, hotness: undefined, score: 17, children: 5
stevedidWHAT 3 points 3 years ago

I don’t understand what the point of making more than one account really is if we can view and post to or from any community or instance

path: 0 812182 822558, hotness: undefined, score: 3, children: 3
anonymoose 3 points 3 years ago

It's not really required, but does have its uses. For instance, if your instance is down or heavy load, you could log in from another instance. Also, if your home instance has defederated other instances you are interested in, you can log into an alt to view content from it, etc.

path: 0 812182 822558 823819, hotness: undefined, score: 3, children: 1
Scientician 2 points 3 years ago

If you want to see Beehaw you need a separate account as far as I know since they defederated.

path: 0 812182 822558 823819 831307, hotness: undefined, score: 2, children: 0
Cethin 1 point 3 years ago

They don't mean don't use the same password for other accounts on Lemmy, they mean don't use the same password for other accounts period. Use a password manager or something, and generate a new password for each account. If you use the same one across different services, if one gets hacked they have access to all of them that used the same credentials.

path: 0 812182 822558 833239, hotness: undefined, score: 1, children: 0
czarrie 1 point 3 years ago

Yeah, having big companies run everything was terrible but at least you had like, a team of peeps whose job it was to make sure that the whole company didn't implode due to a breach (because they would at a minimum be out of work or worse never get a job in the field).

path: 0 812182 833016, hotness: undefined, score: 1, children: 0
gvasco 13 points 3 years ago
  • Use a mail forwarding service to generate disposable e-mails used to sign up, if you accidentally give it to someone else it doesn't expose any other accounts and can be easily replaced by a new one.
  • Use a password manager to ensure a strong and unique password.
  • Use a JavaScript blocker so you only allow the required JavaScript to make the website work and prevent automatic downloads.

I've been doing these in general recently and it's good privacy a security practice. Also slowly replacing my main e-mail address in different service accounts with disposable forwarding e-mail addresses.

Edit: Other than that read a bit more about Lemmy and fediverse workings, verify what instance you're viewing and navigate to the desired community via your instance as others have mentioned.

path: 0 796642, hotness: undefined, score: 13, children: 1
henfredemars 11 points 3 years ago

I would like to underline and insist on using unique passwords. Many users like myself are joining small instances to get better performance and reduce the strain on the main servers, but anyone can spin up an instance and then poof, your password is gone if they can get you to sign up!

This was always the case for normal websites on the internet however. I strongly recommend everyone use a good password manager to prevent one breach from cascading into a breach of all your accounts. It's good OPSEC.

Also, check which instance you're signing into before you give them your password. Accidentally trying to log into the wrong instance with an account for a different instance is the same as handing them your password. A community could easily be hosted on some tiny server somewhere by a guy named Joe and do you trust him with your password?

path: 0 796642 796845, hotness: undefined, score: 11, children: 0
deadsuperhero 10 points 3 years ago

Honestly, I think the #1 problem to be concerned about right now is that there a lot of people self-hosting for the very first time, that maybe don't really have much experience with hosting or moderation. It's tough! There can be a lot of drama, random software failures, lost data, and disappointments that can happen. An instance can go under at random, at any time.

It sounds bad. In practice, the day-to-day can be fairly smooth sailing. A lot of people just kind of need the experience, need to make sure they're not the one person moderating thousands of people on a serer. Making sure that moderation is a community effort, that the server has backups, and that there are channels for donations to support the instance - those things go a long way towards long-term stability.

path: 0 797819, hotness: undefined, score: 10, children: 0
em2 6 points 3 years ago

You're likely no longer logged in because you visited another instance. For example, if I'm browsing from lemmy.ml but click on a link to !baking@kbin.social, now I'm kbin and not Lemmy.

What you can do from your instance is go to your browser, paste the magazine or community url into the search bar, then subscribe from their sidebar.

path: 0 796086, hotness: undefined, score: 6, children: 1
TheHalc 4 points 3 years ago

I understand why this happens, but I consider this is a usability issue that the Lemmy devs should try to resolve. It's not an easy problem to solve, though.

Federation is great, but it does tend to make certain interactions more complex. If Lemmy wants to retain normal users and not just highly motivated and/or technically adept people, the UX issues federation introduces need some serious work.

path: 0 796086 796936, hotness: undefined, score: 4, children: 0
ShittyKopper 4 points 3 years ago

There seems to be a fair bit of admins who just run the Lemmy Ansible installer expecting to magically have an instance, and having no idea what they're getting themselves into.

I wonder how many small Lemmy instances exist right now that have SSH password auth (or god forbid root login of any kind) enabled.

path: 0 832651, hotness: undefined, score: 4, children: 1
Scientician 1 point 3 years ago

This is my fear. A huge wave of newbs (myself included) all out here trying to figure it out. I feels like a hacker playground.

Does DEFCON have a fediverse hacking competition this year?

path: 0 832651 878417, hotness: undefined, score: 1, children: 0
perviouslyiner 1 point 3 years ago

The email requirement seems like a cybersecurity problem - usernames aren't really associated with real people so this just leads to a lot of accounts having mailinator as the password reset email.

path: 0 818195, hotness: undefined, score: 1, children: 0
soupspoon 1 point 3 years ago

Just to add, lemmyverse.net was really useful to me in first subscribing to communities I searched, you can click on the house button at the top and select your particular instance, then any community that pops up in your search you can just click on and subscribe/interact with because you're doing it through your homebase

path: 0 796957, hotness: undefined, score: 1, children: 0
asklemmy
asklemmy

@lemmy.ml

login for more options
55819
8860
4343

A loosely moderated place to ask open-ended questions

Search asklemmy �*

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

Icon by @Double_A@discuss.tchncs.de

go to feed...