Response Manipulation to enable Account recovery key with out current password
The server response for generating an account recovery key could be modified to bypass the current password requirement. An attacker with access to the victim's account could generate a recovery key without knowing the password, but they would not see the key itself.
Originally disclosed on HackerOne
- Disclosed after 4 months
Summary by the program
It is possible to modify the server response to bypass password requirement when generating an account recovery key, however, the attacker requires access to the victim's account and they wouldn't have access to the generated recovery key by manipulating the server response. Therefore, this report is considered informative.
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 server relies on a client-side response to decide whether the password check passed, instead of enforcing it on the server.
Impact
An attacker who already has access to the victim's account could generate a recovery key without the current password, but they would not obtain the key itself, so account takeover is not directly enabled.
What the attacker needed
Access to the victim's account
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 create an account recovery key, the website asks for your current password to confirm it's you. This report says that by changing what the server sends back, you can skip that password check. However, the attacker still needs to be logged in as the victim, and they don't get to see the new key, so the risk is limited.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.