News for hackers. Stuff that matters.
Re:How to boost your popularity on OkCupid using CSRF and a ... by lazide on Monday August 02, 2021 @08:13PM (#28044343)
Why not make them 2 use tokens?

Not quite as secure, but way better than never expires?

Re:How to boost your popularity on OkCupid using CSRF and a ... by jsf01 on Tuesday August 03, 2021 @03:33AM (#28046588)
Or after initial token use, set to expire after n seconds rather than immediately
Re:How to boost your popularity on OkCupid using CSRF and a ... by AlchemistCamp on Tuesday August 03, 2021 @03:34AM (#28046596)
That's exactly the approach I'm leaning towards using.
Re:How to boost your popularity on OkCupid using CSRF and a ... by faeyanpiraat on Tuesday August 03, 2021 @04:05AM (#28046763)
Or you could trigger an ajax call on the page that actually checks the token validity then redirect the user to a new password or a sorryexpired form.

Gmail may fetch the page but wont run the js on it.

Edit: this works for situations when spam filters fetch the links as soon as the mail arrives.

Re:How to boost your popularity on OkCupid using CSRF and a ... by labawi on Tuesday August 03, 2021 @04:29AM (#28046898)
Yes, please ruin functionality without javascript for the sake of gmail's nosiness.

Comment about a form and PUT/POST is good - it will work by standards in any browser, even when gmail starts executing javascript. Add auto-submit on top javascript if preferred.