The “Free” Professional: How I Broke the Payment Logic of a G
The membership upgrade endpoint accepted a client-supplied price, so an attacker could change the amount to a trivial sum and obtain a paid professional membership for almost nothing. The server never checked the real tier price before processing the payment.
Published on abdo0x.medium.com
It all started with a routine reconnaissance session. I was looking into the digital infrastructure of several academic platforms when I came across a server belonging to IFERP (Institute For Engineering Research and Publication).
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 a client-supplied 'amount' parameter instead of looking up the tier price in its own database.
Impact
An attacker could obtain a professional membership for a trivial amount, gaining free access to paid research papers and potentially conference access, and the text claims this could combine with weak admin credentials to put the financial integrity of the member database at risk.
What the attacker needed
A user account; ability to intercept HTTP requests
The fix
The server should look up the price for the requested tier internally and reject any client-supplied amount that differs, flagging it as fraud.
How it was found
- Go to the account upgrade page and choose the highest membership tier.
- Intercept the upgrade request in a proxy before it is sent.
- Change the amount parameter to a very small value.
- Forward the modified request to the server.
- Observe that the payment gateway asks for the small amount, confirming the server accepted it.
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 saying what you want and how much you are paying. Here the server trusted the amount sent by the browser instead of looking up the real price itself. So someone could edit that amount to a tiny value and still get the paid membership.
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.