Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All they had to do was sanitize the subdomain var to only allow values valid in host part of a URL. But also, one of the state parameter's primary uses is exactly to prevent XSRF attacks like this by using a random nonce value so that you can validate from the redirect that your system was the initiator of the auth request. The data in this state was not sensitive, so encryption is not really necessary.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: