Finding the Bug Was Easy… Proving the Impact Wasn’t
The application's disposable email restriction could be bypassed by URL-encoding the local part of the email address, because the validation logic did not decode or normalise the input before checking it. An attacker could register or change their email to a disposable provider, but the encoded value was stored and displayed as plain text, so no further impact was possible.
Published on medium.com
While assessing a target, I noticed that the application enforced a restriction against disposable email providers. My first attempt was to register using a temporary email address, but the request was immediately rejected.
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
Impact
The bypass only allowed users to evade the disposable-email policy; because the encoded value was stored and rendered as plain text and did not affect password reset or identity handling, it could not be escalated to a more serious issue.
What the attacker needed
A free account; ability to change email address
The fix
The application should decode and canonicalise the email address before validating it against the disposable-provider blocklist.
How it was found
- Register or log in with a legitimate email address.
- Attempt to change the email to a disposable address; the request is rejected.
- Send the same request but with the local part of the email URL-encoded.
- Observe that the request is accepted and the encoded email is stored.
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 tried to block sign-ups with throwaway email addresses. The check looked at the email exactly as typed, so writing part of it in a different but equivalent way (using percent-encoding, where letters are replaced by codes like %62 for 'b') slipped past the check. However, the app just stored that odd-looking address and never used it in a dangerous way, so the bug had little real impact.
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.