From $500 to $1,500 Email Verification Bypass: Impact Chaining
The application issued a custom header containing a key that granted authenticated API access without email verification. An attacker could sign up with any email, bypass verification, and operate within a workspace via GraphQL, potentially inviting legitimate users and escalating privileges.
medium.com
Published on medium.com
Alright so I’m looking at this organization’s application: A management platform. The ecosystem consists of a main web interface at app.target.com for user onboarding and a GraphQL API endpoint hosted at app.target.com/api/v1/graphql.
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
An attacker could sign up with any organization's email, bypass verification, and take full control of the resulting workspace via the API, potentially inviting legitimate staff and assigning administrative privileges.
What the attacker needed
Ability to sign up with any email; access to the custom header key
The fix
The application should not issue authenticated API access before email verification is complete.
How it was found
- Create an account and reach the email verification page.
- Observe three GraphQL requests in Burp history that include a custom header with a key.
- Copy the invite mutation and use the workspace ID from one of those requests.
- Send the mutation with the custom header to invite a user, confirming API access without verification.
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 create an account, the app normally sends a verification email and blocks access until you click the link. Here, the app also gave a special key in a header that let you use the API without verifying. An attacker could use any email address to get into the system and act as if they were verified.
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.