Skip to content
Business logic Write-up Beginner

[Low]Unintended Feature: Exploiting an “Invisible” Delete Function for Temporary Premium Access

The application had a hidden delete account function that could be triggered by changing a GET request to DELETE. An attacker could delete their account and then recreate it with the same email to regain premium services without paying.

r4v3n0r Follow

Published on r4v3n0r.medium.com

By leveraging an accessible hidden feature on the target application, the premium services of the company could be utilized after the free trial, albeit with a small catch. To maintain confidentiality, I will use the term “target” to refer to the actual company.

Fabian Cruz, on r4v3n0r.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

Root cause

Likely the server did not properly restrict who could delete accounts and allowed the DELETE method on a user profile endpoint without additional checks.

Impact

An attacker could temporarily access premium services without paying, but they would have to reconfigure services from scratch, which might be time-consuming and potentially unfeasible.

What the attacker needed

A free account; ability to intercept and modify requests

How it was found

  1. Click the 'edit profile' feature to send a GET request to retrieve profile details.
  2. Forward the request to Burp Repeater and change the method from GET to DELETE.
  3. Forward the request, which deletes the account.
  4. Create another account with the same email address to gain premium services.

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.

The app had a way to delete your account that wasn't shown in the normal interface. By changing the type of request sent to the server, you could delete your account. Then you could sign up again with the same email and get premium features for free.

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.