Skip to content
Business logic Write-up Beginner

Hacking the System: How I Beat Subscription Restrictions in Admin Controls

A paid-plan restriction on an administration page for authentication domains was enforced only in the web interface, not in the GraphQL mutation behind it. An attacker with access to the admin area could rename the default authentication domain and switch its provisioning type to SCIM without subscribing to the pro plan.

0xmatrix Follow

Published on 0xmatrix.medium.com

بِسْ� اللَّه الرَّحْ� ن الرَّحِي� . . اللَّه� َّ صَلِّ وَسلَّ� وبارك على نَبِينَا � ُح� َّد

Mo2men Elmady, on 0xmatrix.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 GraphQL update mutation did not check the subscription tier, so the paid-plan restriction existed only in the user interface.

Impact

Users without a paid subscription could make unauthorised changes to authentication domain configuration, which the author suggests could be used to gain higher access or disrupt the system.

What the attacker needed

Access to the admin area; ability to intercept requests; no paid subscription needed

How it was found

  1. Open the user management area of the administration page.
  2. Open the user settings and change a value, intercepting the request.
  3. Note that the request is a GraphQL mutation that updates the authentication domain.
  4. Change the domain name value and the provisioning type value in the request.
  5. Send the request and return to the authentication domain interface to confirm the change.

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.

Some websites hide features behind a paid plan and only grey out the buttons in the browser. The server still accepts the same request if you send it yourself, so the paid limit is not really enforced. Here the researcher edited the request that the page sends and the server applied the change anyway.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by 0xmatrix

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.