P4 Bugs and PoC | Part 4
The article describes two low-severity issues: an account deletion action that completes without asking for the password again, and domains that lack valid SPF or DMARC records. An attacker could delete a user's account without their consent, or send spoofed email that appears to come from the company's domain.
medium.com
Published on medium.com
How I Discovered SSTI Vulnerability in Just 5 Minutes 🚀| 💰$300 Bounty Hello, everyone! 👋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 delete-account endpoint does not re-check the user's password or a one-time code, and the email domain has no valid SPF or DMARC records published.
Impact
An attacker could delete user accounts without the owner's consent, and could send spoofed email from the company's domain to trick recipients into phishing.
What the attacker needed
A logged-in session on the target; victim's session or account access; domain lacks SPF/DMARC records
How it was found
- Log into the website with your own account.
- Go to the profile or settings section.
- Find the Delete Account button.
- Click it and note the account is removed without any password prompt.
- Look up the domain's SPF record with an online validator.
- Look up the domain's DMARC record with an online lookup tool.
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.
Some websites ask you to retype your password before doing something risky, such as deleting your account. If the site skips that check, anyone who gets into your session can delete the account without knowing the password. Separately, SPF and DMARC are email settings that tell receiving mail servers which servers may send mail for a domain; if they are missing, someone can send email that looks like it came from that company.
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.