Skip to content
IDOR Write-up Beginner

IDOR : Payment Fraud on GYM Membership website

The payment request for a gym membership allowed the amount and package ID to be modified, so an attacker could buy a membership for any price. The author also mentions an OTP bypass but does not detail it here.

uzet Follow

Published on uzet.medium.com

Hi, Its me Timotius. So in this article i’ll try to make an english writeup for u guys,before we start im really sorry if my english is really bad,and the purpose of this article is how i express my disappointment with fellow IT people in my country.

Timotius Benhur, on uzet.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 server trusted client-supplied payment amount and package ID without server-side validation.

Impact

An attacker could purchase a membership for an arbitrary lower price, causing financial loss to the company.

What the attacker needed

A free account (with OTP bypass); ability to intercept HTTP requests

How it was found

  1. Pick a package offer on the website.
  2. Fill in fake personal data and register (using an OTP bypass).
  3. Go to the payment section.
  4. Intercept the payment request to see its contents.
  5. Change the amount of price in the request.
  6. Get redirected to the Xendit payment page with the modified amount.

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.

When you buy something online, your browser sends a request to the server with details like the price. If the server trusts the price sent by the browser without checking it, a user can change it to pay less. This is called an insecure direct object reference (IDOR) because the server uses an identifier (like package_id) without verifying it belongs to the user or matches the expected value.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by uzet

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.