' Full Account Takeover ' at █████
The login endpoint trusted a client-side response and a cookie to decide whether authentication succeeded, so an attacker could intercept the login request, alter the response to show success, and set a cookie containing the victim's user ID. This allowed unauthorised access to any user account, resulting in full account takeover without knowing the victim's email or password.
- Disclosed after 2 months
Summary by the program
A severe vulnerability is identified in the login functionality of a website belonging to Mars. An unauthorized actor can manipulate the server's response from the █████████████ endpoint to gain unauthorized access to any user account on the platform, leading to a full account takeover. The attacker can achieve this by intercepting the login request, modifying the server's response to indicate a successful login, and setting a cookie with the target user's ID. This exploit does not require knowledge of the victim's email address or password.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application made an authentication decision based on a client-controlled response and a user-ID cookie rather than validating credentials and issuing a server-side session.
Impact
An unauthorised actor could gain access to any user account on the platform, leading to a full account takeover.
What the attacker needed
Ability to intercept and modify traffic; knowledge of the target user's ID
How it was found
- Intercept the login request.
- Modify the server's response to indicate a successful login.
- Set a cookie containing the target user's ID.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you log in, the site gives your browser a cookie. Here an attacker could alter the login response to show success and set a cookie naming any user, so they could pretend to be anyone without knowing their password.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.