Re:I Hacked into Facebook's Legal Department Admin Panel
by vasuki on Saturday December 12, 2020 @04:11PM
(#25401749)
> I sent random requests using intruder with a CSRF token and random emails with a new password to this endpoint /savepassword
So this endpoint simply allowed setting up a new password with a POST request for the specified email address and he was able to guess the email .. ¯\_(ツ)_/¯
Re:I Hacked into Facebook's Legal Department Admin Panel
by zaroth on Saturday December 12, 2020 @05:24PM
(#25402346)
That’s how I read it as well, almost too absurd to believe.
SetPassword and the parameters to the function are just username and newPassword.
I guess they assumed there was authentication happening before the request would even be served (pre-existing session).
Re:I Hacked into Facebook's Legal Department Admin Panel
by loa_in_ on Saturday December 12, 2020 @06:03PM
(#25402637)
A good example of how security by obscurity can fail. Just because there's no url to an endpoint exposed doesn't mean it shouldn't be hardened
Basically, he triggered the "Password Reset" process and then guessed the reset token?