by wimagguc · 10y ago · 0 comments
I'd be curious to know if anyone here can come up with a good enough reason for sending out the user's email & their password(-prefix) at every keystroke?
And then he included the email too, so the backend could look up the user and make a custom password blacklist for this specific case (eg: no personal details allowed).
I actually don't disagree with doing a POST of a password to check password strength server-side. It might be "cheaper" a bit in some cases.
But sending on every keypress and including the email - that's just silly.
Ebay is not a two bit software startup, it's an eCommerce powerhouse with extensive QA processes.
Yet, those kind of bad decisions are made every day, by people all around the world. I wouldn't give benefit of the doubt to anyone these days.
So it's a bit naive to assume devs at popular companies don't make bugs, they are superhumans, etc :)
eBay is sufficiently large, and old-enough, to have substantial tech debt.
Manager: "We need password strength validation." Tech: writes code to send each character of password to server as cleartext Tech: "Done"
I wonder if it ties into their fraud detection systems somehow.
Fraudsters are lazy - so lazy that, for a good long time, you'd see the exact same few recycled photos of counterfeit items being used in item descriptions. No idea if that's changed recently.
Anyway, going back to my main point: I wonder if something about password entry and email address choice serves as an early warning flag.
I'd kinda be surprised, but I could imagine it potentially being useful.
Which would explain why Ebay would be secretive. Because the detection is easily mitigated if attackers become aware of the detection.
But to what end? A valid password is a valid password whether it comes from user that takes 2 minutes to type it in, a password manager, or a bot.
Of course you can't trust anything from the client and both methods are subject to tampering, I'm not sure which is more tamper resistant.
Maybe they don't want to make it public by doing it it JavaScript.
Or they want to disallow reusing previous passwords, without leaking them to the client.
As an aside, I have always wondered how it is possible to disallow reusing previous passwords if the password is only saved on the server as a salted hash, which is recommended I believe.
Is it possible?
The timing information, despite possibly arriving with a bit of a delay will be just fine. Not only that, but if they really wanted they could just grab the TCP timestamps.