Nolan is a user on toot.cafe. You can follow them or interact with them if you have an account anywhere in the fediverse.
Nolan @nolan

Mastodon newbie protip: don't click the "remote follow" button. Just copy the user's URL and paste it into the search bar of your home instance, then click the follow button (the little icon of a person with a "+" on it).

Not only is "remote follow" slower and more awkward; it's a potential security risk, because a malicious instance could trick you into giving them your password (if you're not paying attention to the URL bar).

· Web · 56 · 53

I don't see any issues on the Mastodon repo mentioning that "remote follow" is a phishing opportunity, and that we're training users to do something that could get exploited one day. I'd file an issue, but there are so many infosec people on here, maybe someone else could articulate it better than me? Or maybe I'm overestimating the risk? /cc @munin @bcrypt

@nolan @bcrypt

No, you're right; it's a pretty nasty UI element that's just asking for trouble.

@munin @nolan @bcrypt what'd be neat, I think, is if your browser could pull out the account link and give you a one-click URL bar follow button, like RSS used to have. Just one man's opinion.

@nolan @munin @bcrypt what would be the modus operandi, exactly? how could some phish and what could they gain?

@rysiek @nolan @bcrypt

Rig the 'remote follow' button to direct to a page I control with the credentials dialogue; on the backend, collect credentials and relay 'em to the 'correct' location to complete the follow.

@munin @rysiek @bcrypt Yes also if you're an admin and you don't have 2FA set up then getting your password is especially valuable.

@nolan
True that if an admin enters his/her username and password in a page without checking where he/she is then he/she should be banned for being an admin of anything ;-)

Anyway it seems like if I'm already logged in my instance the remote site only asks for the username which is OK.

@munin @rysiek @bcrypt

@paolov @nolan @rysiek @bcrypt

"You should know better" is not a valid argument.

If you are logged in, then yes - but the option is available -to- log in if you're not, which opens this UI hole to exploitation.

@munin
Yes I do agree, I was just being a bit cheeky.

It is a UI (and UX) issue which is difficult to fix as there are many ways to trick a user.

I'm for the radical solution of requiring the user to log-in from his/her home instance before "remote following" or similar.

@nolan @rysiek @bcrypt

@munin @nolan @bcrypt ah, of course. Dang, should have thought about that. That's a very valid point!

@rysiek @nolan @bcrypt

Now, the -legitimate- one will redirect you back to your home instance...

...but every instance has the same livery by default; there's really no obvious 'tells' other'n if you're paranoid enough to watch the URL bar, and most people aren't.

@bcrypt @nolan @rysiek

A potential mitigation would be to load foreign threads in an iframe in your own instance, with the 'follow remote user' button clearly from your home instance.

But that'd be kinda hinky :-/

@munin @nolan @bcrypt one simple-ish solution would be to *require* users to set a "security picture", some bank websites use that.

@rysiek @munin @nolan @bcrypt another implication of entering your webfinger id on a remote !Ostatus instance is: that remote instance learns your current IP address AND your webfinger id together.

Even if you may have a dynamic IP this can be used for #geolocating your position or to scan your IP for open ports. Maybe not what privacy-minded people expect.

Now that there are #company-owned large Mastodon instances this could become an issue.

@nolan remote follow doesn't ask for my password, just my username?

@frankiesaxx Only if you're already logged in. Try in a private browser window.

@nolan sorry to be a complete dullard but where / what is the 'remote follow' button?

Is that the button that appears next to the profile of someone on a remote instance, when it's displayed in the fourth column?

@quirst It's a button that literally says "remote follow." 😉 You can check the profile of a remote user that you don't follow to see what I mean; if you're at example.com/@username then you'll see it.

@nolan Oh! That's a good tip. I didn't realize the security implications.

@nolan Bonjour, Newbie here. Thanks for the tip. Am I doing it right here? I clicked on the little man holding the cross (guess he's Jesus Christ) after pulling up your profile.
btw your profile shows only 1 follower: me. This cannot be right, huh? I got 20 followers with just 3 inane posts.

@neither Yes you have to click on the profile pic to see the full number. It's complicated and has to do with which users your instance is "aware" of. 🙂

@nolan @munin GNU social/postActiv's implementation is a little different and for just this reason, but ostatus connect to begin with is a bit clunky.

@nolan I had no idea those two actions did different things. Thanks!