[LOW]
·
HackerOne
·
Unresolved
Duplicate
The affected asset is anonymised at the researcher's request.
Summary
The phone number change functionality requires OTP verification before allowing the phone number to be updated.
However, the OTP can be bypassed by submitting an invalid OTP verification and then replaying the underlying UsersUpdatePhoneNumber GraphQL mutation without completing a successful OTP verification.
The server accepts the mutation and changes the phone number without validating that a valid OTP was successfully verified.
Steps to Reproduce
- Log in to a valid account.
- Navigate to Account Settings and start changing the phone number.
- Enter a new phone number.
- The application requests an OTP verification code.
- Submit an incorrect OTP.
- Intercept the phone number update request using Burp Suite.
- The request responsible for changing the phone number is: