Skip to content
Business logic Write-up Beginner

Deactivating any User Account - HackerOne Private Program

An attacker could change their own account's email address to match a victim's email address, which caused both accounts to become unusable after logout. The text claims this deactivated the victim's account, but does not explain the underlying mechanism.

medium.com

Published on medium.com

Hello guys👋👋 In this article, I’m going to talk about a How to Deactivating any User Account bug I discovered in an HackerOne bug bounty program which i m going to represent as redacted that allowed me to get paid Reward 🫡� .

bugbounty_learners, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

The victim's account could be made unusable (the author says deactivated), and the attacker's own account was also affected; the text does not claim account takeover.

What the attacker needed

Two accounts on the same site; ability to change account email

How it was found

  1. Create two accounts, one as attacker and one as victim.
  2. Confirm both accounts via email.
  3. Log in as the attacker and open the profile update page.
  4. Change the attacker's email address to the victim's email address.
  5. Log out of both accounts and try to log in again with the same credentials.
  6. Observe that login fails for both accounts, which the author describes as deactivating the victim 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 write-up has not been written yet. The Original tab links to the source.

A user account is identified by an email address. The report says that if one user changes their email to another user's email, both accounts stop working after logging out. The author calls this 'deactivating' the victim's account, but does not explain why the system behaves this way.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.