3 ms·
This is the first I had heard of GETs to login pages executing a redirect when the user is already logged in. I wasn't aware that so many did this. Virtually
by bhauer 10y ago
This is the first I had heard of GETs to login pages executing a redirect when the user is already logged in. I wasn't aware that so many did this.
Virtually every application I have built will render a simple response saying "You are already logged in" if you GET the login URL with an active session. As I understand the exploit, if a non-image is returned, the script assumes you are not logged in.
What value is there in redirecting a GET if you're already logged in? You redirect when the login form is submitted as a POST.
- detaro 10y ago2 tabs open. I log in in one of them, then follow a link in the other that points to the login page with a redirect to something that requires login. or 2 tabs open, I follow links to login page on both. Login in one, F5 the other.