Unsafe Request Handling in Account Deletion Flow Got me 91 $
The account deletion form used a GET request when a single-character password was submitted, instead of the POST used for longer passwords, and failed silently. An attacker could not take over accounts, but sensitive data could appear in URLs and users could be confused about whether deletion occurred.
During a recent security assessment of Target.com, I identified an inconsistent and insecure request handling bug in the account deletion flow. This flaw combined poor UX, silent failure scenarios, and improper HTTP method usage for a destructive action, making it a noteworthy issue to address.
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 form handling logic used different HTTP methods based on input length and did not consistently validate or reject unexpected GET submissions.
Impact
The bug does not directly allow account takeover, but it could expose sensitive data in URLs and confuse users about whether their account was deleted.
What the attacker needed
A Target.com account; victim enters a single-character password
The fix
The account deletion should always use POST or DELETE, reject unexpected GET submissions, and provide consistent server-side validation with clear error messages.
How it was found
- Log in to a Target.com account.
- Navigate to the account page.
- Click Delete Account.
- Enter a single-character password and submit the form.
- Observe a GET request and a silent page reload with no feedback.
- Try again with a password of two or more characters and observe a POST request with a validation error.
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 submit a form, the browser can send data in the URL (a GET request) or in the body (a POST request). Here, a short password caused the password to be placed in the URL, which is bad because URLs can be logged or shared. The page also gave no error, so users could not tell if their account was deleted.
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.