Skip to content
Business logic Write-up Beginner

How I Created a Private Project Without Paying — Subscripti

The server trusted a client-supplied visibility flag without checking the user's subscription, so a regular user could create private projects by changing the request body. This bypassed the paid feature restriction.

black Follow

Published on medium.com

Hello, I’m black — a security researcher and web penetration tester. In this article I present a practical subscription‑bypass vulnerability that allows regular users to create private projects without paid access.

black, on 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

Impact

Ordinary users could enable a paid feature, potentially exposing private resources and opening further avenues for unauthorised access.

What the attacker needed

A regular user account; a valid JWT

How it was found

  1. Log in as a regular user and obtain a JWT.
  2. Send a POST request to create a project with visibility set to public.
  3. Change the visibility parameter to private and resend the same request.
  4. Observe a 201 response confirming the private project was created.

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.

A website offered private projects only to paying users. The server checked the request but not whether the user had paid, so anyone could ask for a private project and get one. This is a business logic flaw: the rules are enforced in the wrong place.

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.

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.