Tricking system to delete any user account: from informative to 4
The account deletion process was fully automated and accepted deletion requests sent by email without verifying the sender. An attacker could send a spoofed email from a victim's address to the support inbox and have the victim's account deleted.
Abdullah Ahmed aka EntropyDrifter Follow
Published on entropydrifter.medium.com
This writeup details the discovery and exploitation of a critical vulnerability in an automated account deletion system that allowed arbitrary account deletion through email spoofing. Initially triaged as informational due to perceived social engineering elements, the vulnerability was later validated and rewarded as…
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 automated deletion system trusted the sender address of incoming emails without any additional verification of the requester's identity.
Impact
An attacker could delete any user's account by sending a spoofed email, causing loss of access and data.
What the attacker needed
Knowledge of victim's email address; access to an SMTP service
The fix
The deletion process should require additional confirmation of the requester's identity, such as sensitive information or a verified link.
How it was found
- Create several test accounts and submit deletion requests at the same time.
- Observe that all accounts are deleted in the same short timeframe with no follow-up verification.
- Send an email to the support address with the victim's address as the sender, using an SMTP service.
- Wait about ten minutes and confirm the victim's account is deleted.
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 ask a service to delete your account, it usually checks that the request really comes from you. Here, the service trusted the 'From' address on an email, which is easy to fake. So anyone could pretend to be you and ask for your account to be 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.