News for hackers. Stuff that matters.
Re:How I hacked chess.com with a rookie exploit by plugin-baby on Friday January 26, 2024 @10:21PM (#39152149)
Great write-up!

Why isn’t the PHPSESSID cookie HttpOnly?

And why if the XSS was already known had they not fixed it?!

Re:How I hacked chess.com with a rookie exploit by jpc0 on Saturday January 27, 2024 @04:17AM (#39153975)
I've had arguments with people storing session tokens in local storage and claiming it is perfectly safe.

Not marking the cookie httpOnly ironically doesn't surprise me.

TLDR: if you aren't going to look up the very basics of security just use a trusted library

Re:How I hacked chess.com with a rookie exploit by JakeSkii on Saturday January 27, 2024 @05:38AM (#39154415)
Just to clarify, the PHPSESSID cookie was HttpOnly - I could extract the new value because I had overwritten it. Most of the cookies were set correctly (thankfully) however there was a lot of SPII stored in JS variables which I was able to get.