Not if you have 2FA enabled.
Not that SMS-based crap either. I'm talking about the _real_ stuff, such as TOTP.
[Cue usual HN discussion about loss or unavailability of physical tokens]
SMS MITM is harder to pull off, as the normal UX flow assumes the origin knows the user's phone number, which is a weak measure of authenticity on the part of the origin. If a user is taken to a false origin to begin with, then it must somehow either prompt the user for a phone number (which is likely to signal to the user that something is amiss), or else have an actual communication conduit to the true origin so that it can trick it into initiating the SMS challenge.
By the way, we're misusing the term MITM here, but I went with it to keep the conversation going. I believe OP meant phishing.
Edit, since we're in a reply war that HN code is properly stifling: of course we're talking about the TOTP generated secret (what you're calling the six-digit PIN), not the shared secret that's transmitted from the origin once at setup time. SMS and TOTP are both atrociously susceptible to social engineering, and SMS has the additional feature that the engineering can happen without any involvement of the user. Your downvoting suggests there's a significant difference between the two, but phishing studies show that all of us, even those of us who consider ourselves experts, are vulnerable to phishing.
That's pretty far-fetched, never heard of a phishing attack that tricked the TOTP secret from users. I bet 99.99% of TOTP users don't even have access to the secret. You can only trick the six digit code out of them, valid for 30 seconds, which you then feed into the actual login form / API.
The SMS code phishing flow is the same. You trick the username and password out of the user, feed it into the actual login form, trigger the SMS challenge, and once again trick the six digit code from the user (which is usually valid for longer than 30 seconds, btw).
Except with SMS there are many ways to intercept.
Re edit: “Your downvoting suggests there's a significant difference between the two, but phishing studies show that all of us, even those of us who consider ourselves experts, are vulnerable to phishing.” With SMS you don’t even need phishing, you can combine leaked credentials (e.g. from other breaches) and SIM jacking to hijack accounts. Plenty of high profile cases posted here before. That’s the scary part: no phishing at all. And you never backed up the “TOTP is the one that is more trivially MITMed” claim.
Imagine if banks said the same thing. "Oh someone changed the password and email on your bank account, sorry you permanently lost access to all that money."
If you signed up with your real name, some combination of government id, proof of physical address etc should be enough for recovery. If it's good enough for banks, shouldn't it be good enough for email?
Source: happened to me.
I mean banks I have some dealings with try to match my signature (after checking my gov issued ID cards), but if it doesn't match they just let me look at the screen so I can try something similar.
So what would happen were someone walk in with fake ID cards? Probably they could just walk out with my money, and then it's up to the CCTV tapes to maybe "prove" that it wasn't me.
If there were truly properly secure and cost effective physical identity assurance services big Internet companies would probably use them.
It's extremely easy to have a bank account you cannot access. But at least you get to talk to a (useless) person about it.
There's no safe way to do these recovery processes.
Weak/lost/compromised password means that, the account is gone.
Sure it'd be nice to have a fallback that ties recovery to visiting an office, where you establish some shared secrets, biomarkers, etc. But big companies are not into that because probably too few people pay for this. (As they also don't want to depend on a 3rd party for identity management.)