Skip to content
Account takeover Write-up Intermediate

$600 Simple MFA Bypass — Graphql

The application's GraphQL API did not enforce MFA checks, allowing an attacker with valid credentials to access and modify sensitive user data without completing the second factor. The author used GraphQL queries to view and edit data, including PII and payment information, bypassing the MFA prompt.

securitycipher Follow

Published on securitycipher.medium.com

Welcome to my blog! In this post, I’ll delve into my recent security testing adventure focusing on multi-factor authentication (MFA) implementation in an application.

Piyush Kumawat (securitycipher), on securitycipher.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 application issued session tokens for the GraphQL API that bypassed the usual MFA verification step.

Impact

An attacker with valid credentials could access sensitive user information (PII) and modify account details without completing MFA.

What the attacker needed

Valid user credentials; MFA enabled on the account; knowledge of GraphQL queries

How it was found

  1. Log into the app with MFA already set up and wait for the MFA prompt.
  2. Use the InQL scanner plugin to discover GraphQL queries.
  3. Execute one of the discovered GraphQL queries to view and edit data without completing MFA.

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.

Multi-factor authentication (MFA) adds a second step to login, like a code from your phone. This report shows that even after setting up MFA, some parts of the app (the GraphQL API) didn't ask for the code, so someone with just the password could get in. GraphQL is a way for apps to ask for data from a server.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.