Hack and Pay Later: Bypassing Online Payment Method
A payment page encoded the total price in a Base64 parameter that the client could edit, so a buyer could change the amount owed. The author also found that a mobile verification code was returned in the server response, allowing anyone to bypass phone verification.
Welcome to my second post , if you have missed first one make sure to check it out https://medium.com/@tirqwork1/black-hat-seo-the-quiet-threat-on-indian-government-websites-ca74477abb07
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, merely encoded total price parameter instead of recalculating the amount server-side, and it also returned the verification code in the response.
Impact
A buyer could pay a token amount instead of the full fee; with over 24,000 attendees the financial loss could be large, though the author did not actually exploit it.
What the attacker needed
Access to the payment page; ability to edit requests in a browser
How it was found
- Open the payment page and inspect the request with browser developer tools.
- Notice the candidate details and amount are encoded in Base64, with a total price parameter.
- Decode the total price value, change it to a lower amount, and re-encode it.
- Submit the modified request and observe the reduced amount accepted.
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 pay online, the website should decide the price on its own server, not trust a number sent back by your browser. Here the price was hidden inside a scrambled-looking text string (Base64 is just an encoding, not encryption) that the buyer could rewrite. Separately, the one-time code used to confirm a phone number was sent back to the browser, so anyone could read it.
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.