Creative usernames and Spotify account hijacking
labs.spotify.com
Creative usernames and Spotify account hijacking
1–10 of 83 posts
Re: Creative usernames and Spotify account hijacking
#2When a new user is created, it then gets assigned a unique user ID. The email address is assigned to that user ID.
Then, if they do a password reset on user = "bigbird", it should do the exact same lookup to find the email address.
The security bug was not really about having an improper function to do unicode translation. It was more about having different functions for the same check, simply because they were in different parts of the code.
Modular code is just so much better on all fronts, including security.
Re: Creative usernames and Spotify account hijacking
#3You may not create as much havoc as in the original post, but some level of confusion at least.
Re: Creative usernames and Spotify account hijacking
#4Re: Creative usernames and Spotify account hijacking
#5Re: Creative usernames and Spotify account hijacking
#6Re: Creative usernames and Spotify account hijacking
#7I'm confused about why they even had the need for canonicalising the usernames for whatever purpose? Why couldn't they just have stored and used them just as they are?
Re: Creative usernames and Spotify account hijacking
#8This seems odd. I mean, if their code was properly modular , they would have just one place where they "fetchUserIdByName(userName)", which returns one user ID or null if it's not used yet. When a new user is created, it then gets assigned a unique user ID. The email address is assigned to that user ID. Then, if they do a password reset on user = "bigbird", it should do the exact same lookup to find the email address…
Re: Creative usernames and Spotify account hijacking
#9I'm confused about why they even had the need for canonicalising the usernames for whatever purpose? Why couldn't they just have stored and used them just as they are?
Re: Creative usernames and Spotify account hijacking
#10Why does Unicode threat Omega and Ohm like different characters?