Re:Men's Wearhouse Perfect Fit App Vulnerability Exposing Cu...
by Dublum on Monday October 27, 2014 @04:41PM
(#8518051)
If they're going to insist on binding ID to account, it seems like the simplest way to do it would be just to submit the ID as an additional parameter in the login POST request and associate it as a single transaction, but again, using the ID at all is problematic.
Re:Men's Wearhouse Perfect Fit App Vulnerability Exposing Cu...
by rwestergren on Tuesday October 28, 2014 @07:45AM
(#8520437)
I think the best solution is to not trust the client in assigning the perfectFitId. The login POST should be able to determine the perfectFitId for the user after login and maintain a session through oauth or other session management process.
You'd have to know the email address associated with the account, but that of course means you are using the device ID as the username and the email address as the "password", which is still pretty bad in my opinion.