Business Logic: Broken. Wallet: Hacked. OTP: Bypassed.
The platform used 4-digit OTPs without rate limiting, allowing brute-force account takeover. A wallet business logic flaw let attackers credit arbitrary amounts by tampering with the transaction type, and stored XSS was possible via PDF and SVG uploads.
medium.com
Published on medium.com
📌 Special thanks to Shah kaif — my dedicated learning partner — for collaborating on this research and finding.
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 missing server-side validation and rate limiting: OTPs were short and not rate-limited, wallet transactions trusted client-side input, and file uploads lacked content sanitisation.
Impact
Attackers could take over any user account via OTP brute-force, credit arbitrary wallet amounts leading to financial loss, and execute stored XSS in admins' browsers via uploaded files.
What the attacker needed
Victim's email address; ability to intercept HTTP requests; a free account
How it was found
- Request an OTP for login or password reset using a victim's email.
- Brute-force the 4-digit OTP because there is no rate limiting.
- Create a new account and initiate a wallet top-up request.
- Intercept the request and change the response status from 400 to 200 and remove the error body.
- Modify the transaction type from 'debited' to 'credited' and set an arbitrary amount.
- Upload a malicious PDF or SVG file to trigger stored XSS when viewed.
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.
This report describes several security holes in a job platform. One-time passwords (OTPs) used for login were only four digits and could be guessed repeatedly because there was no limit on attempts, letting attackers take over accounts. Also, the wallet system trusted the browser to decide whether to add or subtract money, so attackers could give themselves unlimited funds. Finally, uploading files like PDFs or SVGs could run malicious code in other users' browsers.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.