Skip to content
Business logic Write-up Beginner

Finding an easy p4 it can be worth 200$

The account deletion feature did not require the user to re-enter their password before permanently deleting the account. An attacker with access to a logged-in session could delete the account without knowing the password.

medium.com

Published on medium.com

loyalonlytoday love to share my knowledge to communitybuymeacoffee.com

loyalonlytoday, 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

An attacker with access to a logged-in session could permanently delete the account without knowing the password, causing data loss; the text does not show any defence blocking this.

What the attacker needed

A free account; attacker has access to a logged-in session

The fix

The deletion action should require the user to re-enter their password or confirm via a second factor before the account is removed.

How it was found

  1. Create an account with the required details.
  2. Go to the profile section.
  3. Click on delete profile.
  4. Click the delete button.
  5. Observe that the account is deleted without asking for a password.
  6. Try to log in with the old credentials to confirm the account is gone.

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.

When you delete an account, a safe website should ask you to type your password again. This site did not, so anyone who got into your account (for example, by using a shared computer) could delete it without knowing your password.

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.