News for hackers. Stuff that matters.
Re:95% of Programming Isn’t Hard (and other random thoughts) by redmorphium on Sunday August 02, 2020 @01:02AM (#24026486)
It could be serious.

Let's say your company's code is open-source, and the attacker knows there is code somewhere like this:

    let state = getState(); // returns empty {} if user not authenticated

    if (!state.userIsAuthenticated) {
       respond(401);
    }

    showBankAccount();

If the hacker is able to set `Object.prototype.userIsAuthenticated` then the auth check is now bypassed.

So I think the break / DDOS is pretty serious here.

There are no comments on this comment yet.