Skip to content
DoS Disclosed report Intermediate

DOS via Mutation Aliasing in GraphQL Account Recovery Phone Number Verification API

The GraphQL API allows the same expensive account-recovery phone verification mutation to be repeated under multiple aliases in one request, and the server runs each one in turn. An attacker could send such a request to make the server do many costly operations, raising response times and potentially denying service to legitimate users.

hellokbit Follow

Originally disclosed on HackerOne

  • Disclosed after 8 months

Summary by the program

Important Guideline Update Regarding DoS Vulnerabilities

This report was submitted and resolved in accordance with our previous program guidelines. As of October 2025, HackerOne has updated its policy regarding Denial-of-Service (DoS) vulnerabilities to reflect more stringent safety and testing requirements.

We appreciate the researcher’s thorough documentation of the GraphQL mutation aliasing issue and awarded a bounty consistent with the guidelines in effect at the time of submission. Under our current guidelines, similar DoS reports will be handled in accordance with the updated guidelines, which can be reviewed here: [link].

Key Updates

  • DoS testing is now subject to stricter safeguards, including defined testing windows
  • Single-request, single-user, single-IP testing constraints are more rigorously enforced
  • The reward framework for DoS findings has been refined to align with these requirements

Researchers are encouraged to review the updated guidelines before conducting any DoS-related testing and to focus on vulnerability classes that align with current program priorities.

This disclosure recognizes the researcher’s contribution under our prior guidelines while transparently communicating our updated approach to DoS vulnerability assessment.

The report

Summary: The GraphQL API’s verifyAccountRecoveryPhoneNumber mutation can be aliased multiple times in a single request, causing the server to process each mutation sequentially. Each additional alias adds approximately 8 seconds to the server’s response time, enabling (DoS) attack by exhausting server resources and increasing latency.

Description: The verifyAccountRecoveryPhoneNumber mutation is designed to verify user phone numbers during account recovery phone change. However, the API does not limit the number of mutation aliases in a single GraphQL request. When the same mutation is repeated with different aliases, the server executes each one separately, performing expensive backend operations multiple times. This leads to a linear increase in response time based on the number of aliases included. The result is a resource exhaustion vulnerability that can degrade or deny service availability to legitimate users.

Steps To Reproduce

  1. Prepare a GraphQL mutation request with multiple aliases for verifyAccountRecoveryPhoneNumber,

In this case, the response time will exceed 20 seconds because each alias (verify1, verify2, verify3) adds approximately 8 seconds of processing time.

GraphQL
mutation VerifyAccountRecoveryPhoneNumberMutations($verification_code: String!, $otp_code: String) {
    verify1: verifyAccountRecoveryPhoneNumber(input: { verification_code: $verification_code, otp_code: $otp_code }) {
        __typename
        me {
            
        }
    }
    verify2: verifyAccountRecoveryPhoneNumber(input: { verification_code: $verification_code, otp_code: $otp_code }) {
        __typename
    }
    verify3: verifyAccountRecoveryPhoneNumber(input: { verification_code: $verification_code, otp_code: $otp_code }) {
        __typename
    }
}
}
  1. Send the request to the GraphQL endpoint with valid or dummy verification_code and otp_code variables.

  2. Observe the response time increases by 8 seconds for each additional mutation alias included.

Impact

An attacker can exploit this vulnerability to cause a Denial of Service (DoS) by sending a single GraphQL request with multiple aliases of the expensive mutation. This forces the server to perform repeated, resource-intensive operations sequentially, significantly increasing response times and consuming server resources. As a result, legitimate users may experience severe delays or be completely unable to access the affected service, leading to degraded availability and potential service disruption. This DoS attack can be triggered without high network traffic, making it easier to exploit stealthily.

The original report as published on HackerOne, by hellokbit. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the GraphQL server did not cap or deduplicate repeated aliases of an expensive mutation, so each alias triggered the full backend verification work.

Impact

An attacker could send one request with many aliases to make the server perform repeated expensive operations, causing severe delays or unavailability for legitimate users; the report does not show a defence that blocked this.

What the attacker needed

Access to the GraphQL endpoint; valid or dummy verification and OTP codes

How it was found

  1. Build a GraphQL mutation request that repeats the account-recovery phone verification mutation under several aliases.
  2. Send the request to the GraphQL endpoint with valid or dummy verification and OTP code variables.
  3. Observe that the response time grows by about eight seconds for each extra alias.

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 report has not been written yet. The Original tab links to the source.

GraphQL lets a client ask for several things in one request, and it can give each copy of the same operation a different name, called an alias. Here the server did not limit how many copies of a slow phone-verification step could be asked for at once, so one request could make it do that slow work many times. That can slow the service down for everyone else, which is a denial of service.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.