Skip to content
Access control Write-up Beginner

1200 $ Email verification Bypass from P4 TO P2

The email verification status could be changed from PENDING to VERIFIED in a GraphQL request, and the backend actually marked the email as verified. An attacker could bypass email verification and create spoofed accounts, potentially leading to fraud and disclosure of sensitive data.

akrachliy Follow

Published on medium.com

I hope you’re all doing well. My name is Yassine, and I’m a security researcher from Morocco.

Yassine Akrachli, on 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 backend trusted a client-supplied status field in a GraphQL mutation and used it to set the email verification state without checking that verification had actually occurred.

Impact

The backend actually set the email to verified, which could enable fraud and spoofed accounts and lead to disclosure of sensitive data in some configurations.

What the attacker needed

A user account; ability to intercept requests

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 sign up, many sites ask you to confirm your email address by clicking a link. This report shows that a user could skip that step by changing a value in a request sent to the server. The server trusted that value and marked the email as confirmed even though no link was clicked.

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.

More by akrachliy

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.