No Tools, No Problem — Another Fun Bug Hunting Story!
The website used a front-end overlay to block access to security settings until email verification, but the overlay could be hidden with CSS. An attacker could then change security settings, enable or disable 2FA, and update account details without verifying their email.
medium.com
Published on medium.com
I’m thrilled to bring you the third part of my series, where we explore the art offinding bugs — without relying on any fancy tools! This time, I was manually testing a website when I stumbled upon a surprising flaw in a system.
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 email verification check was only enforced by a client-side overlay, with no server-side validation before allowing security-sensitive actions.
Impact
Anyone could change security settings, enable or disable 2FA, and update account details without email verification.
What the attacker needed
A logged-in account; access to browser developer tools
The fix
The email verification should be enforced on the server before allowing security-sensitive actions, not just by a front-end overlay.
How it was found
- Go to a security feature such as enabling 2FA or changing password.
- A pop-up appears asking for an email verification code.
- Open the browser's developer tools and inspect the pop-up element.
- Add a CSS rule to hide the pop-up.
- Interact with the page behind the pop-up and perform the action, such as enabling 2FA.
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.
A website showed a pop-up asking for a code sent to your email before you could change security settings. The pop-up was only a visual layer, so hiding it with browser tools let you use the page underneath. This means the website did not actually check on its server whether you had verified your email.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.