Skip to content
Info disclosure Write-up Beginner

Assalam o alaikum for muslim brothers and hello for non muslims, i hope all of you are doing well and learning new things day by day,

The organisation deletion endpoint sent a verification token by email, but changing the request method from POST to GET returned the token in the response. An attacker could use that token to delete an organisation without access to the email inbox.

insbat meg Follow

Published on medium.com

Assalam o alaikum for muslim brothers and hello for non muslims, i hope all of you are doing well and learning new things day by day,

insbat meg, 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

Root cause

Likely the endpoint returned the verification token in the response body when the HTTP method was changed from POST to GET, instead of only sending it by email.

Impact

An attacker could delete an organisation without access to the verification email, though the author notes this is not a high or critical finding.

What the attacker needed

Ability to send requests to the deletion endpoint; an organisation to delete

How it was found

  1. Click the delete organisation button and note that a verification email is sent.
  2. Intercept the deletion request and see it is a POST request.
  3. Send the request to Repeater and observe the response has no useful data.
  4. Change the request method from POST to GET and send it again.
  5. Observe the verification email token in the response.
  6. Use the leaked token to delete the organisation without email verification.

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 something important, a site often emails you a secret link to confirm it is really you. Here, the server also put that secret link in its reply if the request was sent a different way, so anyone who could make that request could read the secret and confirm the deletion themselves.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.