How I became a millionaire in 3h | Fintech Bug Bounty — Part 1
The questionnaire feature for earning coins exposed the correct answers in the API response and did not validate whether the tutorial ID existed, allowing the attacker to submit answers for any ID and receive coins. The attacker automated requests to brute-force tutorial IDs and accumulated around one million coins.
Lately, I’ve been doing some pentesting on a bank. It’s not like they hired me, but I felt curious about their infrastructure and asked them if I could search for security vulnerabilities.
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.
Context
This is the first part of a series on testing a fintech target. The target was a bank that had launched roughly a year before the write-up and had a small client base. The product was an attempt to combine a social network with a banking system: content creators inside the bank, tutorials, and educational material for users, in the spirit of the news tab in the Coinbase app but more personal and direct.
The feature under test was a rewards programme. Users who completed video tutorials and questionnaires earned special coins, which could later be exchanged for goods and services. The main website was a WordPress installation, which the researcher expected to be uninteresting because custom behaviour on WordPress usually comes from installed plugins. The reward feature, however, did not look like any known plugin, so the intent was not to find a CVE in a third-party component.
Setup
- The researcher was not hired. He asked the bank whether he could look for security vulnerabilities in their infrastructure, and they agreed.
- Testing was done against the main website and its requests, with Burp used to inspect and replay traffic.
- No specific accounts, roles, versions or plugin names are given in the report.
Finding it
While inspecting the requests behind the tutorial feature, the researcher noticed that every time a video was played, the client sent a request to the server indicating the percentage of the video that the user had seen.
That value is client-controlled. Changing the percentage to 100% caused the questionnaire to appear when the response came back, so there was no need to watch the video to unlock the form.
The next request in Burp was a fetch for the questionnaire questions and answers. That response included which answer was the correct one. The server was handing the client the answer key along with the questions.
Exploitation
Step 1: skip the video
Send the video-progress request with the percentage set to 100. The questionnaire is returned, so the video-watching requirement is bypassed without playing anything.
The report does not reproduce the raw request, only the change of the percentage value to 100%.
Step 2: read the answer key
Inspect the response to the questionnaire fetch. It contains the questions and, alongside them, which answer is the correct one. No guessing is required to pass the questionnaire.
Step 3: submit the correct answer
Send a request pretending the correct answer had been clicked. The server accepts it and coins appear in the wallet.
Step 4: automate it
The researcher did not know how many questionnaires existed, so he brute-forced all tutorial IDs from 1 to 10000. Every request awarded coins, including one for questionnaire n.99999999, which also worked. The researcher notes that this may not strictly be an IDOR because the items do not really exist, but the effect was the same: answering non-existent tutorials produced rewards.
Step 5: no throttling
There was no throttling at all. Around 1000 requests could be sent simultaneously and they all went through.
Root cause
The design trusted the client at every step:
- The video progress percentage was accepted from the client, so the backend could not tell whether the video had actually been watched.
- The questionnaire response disclosed the correct answer, so the check was decorative.
- The reward endpoint did not verify that the tutorial or questionnaire existed in the database, so any ID, including 99999999, was accepted.
- There was no rate limit, so the whole flow could be repeated at scale.
The report does not describe how the reward logic was implemented.
Impact
The researcher ended up with around 1,000,000 coins, which could have been exchanged for goods and services. He did not use them. Once the vulnerability was confirmed and fixed, the coins were removed from his account.
The report does not state the monetary value of a coin or any limits on redemption.
Fix
The vulnerability was confirmed and fixed, and the coins were removed. The recommendations given are:
- Stream videos server-side: the backend knows which part of the video was sent, so it can mark a section as seen once its duration has passed, and let the backend decide whether the user can move to the next page.
- Do not return whether an answer is right or wrong in the questionnaire response. Let the front end send the answer and the back end reply with whether it is correct.
- Add a rate limit so users cannot send unlimited requests in a short time.
- Make sure the item being received exists in the database.
Variants to test
- Client-side progress values. Intercept any progress, completion or watch-time parameter and set it to the maximum. A positive result is the next stage (quiz, reward, certificate) unlocking without the media being consumed.
- Answer keys in responses. Fetch a quiz or questionnaire and inspect the JSON for fields that mark the correct option. A positive result is a field identifying the right answer before submission.
- Reward endpoint without existence checks. Submit IDs outside the valid range, such as 99999999, and observe whether the reward is still granted. A positive result is coins, points or credit appearing for a non-existent item.
- Enumeration of sequential IDs. Brute-force a range of tutorial or quiz IDs and count how many award value. A positive result is a high success rate across IDs that should not exist or should already be completed.
- Concurrency. Fire around 1000 requests in parallel at the reward endpoint. A positive result is all of them succeeding, showing the absence of throttling.

What happened, in plain words
A security researcher asked a small bank if he could look for weaknesses in their website, and they said yes. The bank had built a product that mixes a social network with banking: users watch short educational videos and answer questionnaires, and for doing so they earn special coins that can later be swapped for goods and services.
The researcher found that the website trusted the user's own browser far too much. The browser was allowed to say "I watched 100% of the video", the server then handed back the questionnaire together with the correct answers, and the server accepted an answer for a questionnaire that did not even exist. There was also no limit on how many times the same request could be sent. By repeating the request automatically, the researcher collected around 1,000,000 coins. He did not spend them, and once the bank fixed the problem the coins were removed from his account.
This article walks through the same story for someone who has never done security testing. Every technical word is explained the first time it appears, and there is a glossary at the end.
A little bit of context
New fintech companies appear constantly. The one in this story had been created about a year before the write-up and did not have many clients. It was trying to build what the researcher describes as a social network tied to a banking system, which he calls a brilliant idea: having content creators inside your bank is a good way to teach users how to operate and take care of their earnings. He compares it to the news tab in the Coinbase app, but more personal and direct.
The main website was a WordPress installation. WordPress is a popular system for building websites: you install it, add plugins (small add-on programs) for the features you want, and publish. The researcher says he was not planning to spend much time on it, because custom behaviour on WordPress usually comes from plugins and he is not used to seeing much of interest there. He decided to give it a try anyway.
He was not hired for the job. He was curious about the bank's infrastructure, asked whether he could search for security vulnerabilities, and they agreed. A vulnerability is simply a mistake in how software is built that lets someone make it do something the designers did not intend.
Exploiting the vulnerability
The bank wanted to reward users every time they did a specific action, such as learning new terms or understanding the market. So they created video tutorials and questionnaires that awarded special coins to everyone who completed them. Those coins could later be used in exchange for goods and services.
On paper this is a very straightforward feature. It did not look that way when the researcher inspected the requests. A request is a message your browser sends to a server (a computer that stores the website and answers those messages) asking for something or telling it something. A useful comparison: an API is like a restaurant's menu and waiter. You do not walk into the kitchen yourself; you pick something from the menu, the waiter carries your order to the kitchen, and the kitchen sends back a plate. The menu is the list of things you are allowed to ask for, and the waiter is the channel that carries the request and the reply.
The researcher could not find any reference to plugins that implemented this reward feature in the way the bank was using it. That mattered because he was not intending to find a CVE in a known plugin. A CVE is a publicly catalogued, known bug in a piece of software that many organisations use; finding one is a different kind of work from finding a mistake in a company's own custom code.
The researcher inspected the requests in Burp. It lets you pause a request, read it, change it, and send it again. Think of it as being able to open the envelope your waiter carries, read the order, rewrite it, and hand it back before it reaches the kitchen.
Step 1: skip the video
The first thing he noticed was that every time a video was played, a request was sent to the server indicating the percentage of the video that the user had seen. In other words, the browser was reporting its own progress: "this person has watched 40% of the video".
He tried changing the percentage value to 100%. When the request came back, the questionnaire appeared. In his words: cool, he did not need to look at the videos to fulfil the form.
Why does this matter? Because the server had no independent way of knowing how much of the video had actually been watched. It simply believed the number the browser sent. If a shop assistant asks you "did you pay?" and you answer "yes", without checking the till, then anyone can walk out with the goods by saying yes. The percentage was the browser's word, and the browser belongs to the user, so the user controls it.
The report does not reproduce the raw request; it only records that the percentage value was changed to 100%.
Step 2: read the answer key
The next request in Burp was a fetch for the questionnaire questions and answers. A fetch is simply the browser asking the server for some data. What came back included which answer was the correct one.
This is the equivalent of a teacher handing out an exam paper with the correct answers already ticked in the margin. The server was sending the answer key to the browser along with the questions. The researcher describes this with a laughing emoji: the response included which one was the correct one.
Why is this a problem? Because anything sent to the browser can be read by the person using the browser. Even if the page hides the answer visually, the data is still there in the response, and tools like Burp show it plainly. The check that the questionnaire was supposed to perform was therefore decorative: it looked like a test, but the test had already been marked before the user answered.
Step 3: submit the correct answer
So he tried sending a request pretending he had clicked the correct answer. The server accepted it, and suddenly some coins appeared in his wallet. That was it.
Notice the pattern: the browser said "the user picked answer B", the server believed it, and the reward was paid. The right answer had already been disclosed in the questionnaire response.
Step 4: automate it
Now he needed to automate the process to get infinite coins. Automating means writing something that repeats the same request over and over, instead of clicking by hand. He did not know how many questionnaires existed, so he went for it and brute-forced all the tutorial IDs from 1 to 10000.
An ID is a number or label that identifies a specific item in a database, such as tutorial number 1, tutorial number 2, and so on. Brute-forcing means trying every possible value in a range, one after another, rather than guessing cleverly. It is like trying every key on a keyring on a door: slow and dumb, but effective if nobody stops you and one of the keys fits.
The big surprise was that every request he made awarded him coins. Just to double-check, he tried answering questionnaire number 99999999, and it also worked. That number is far outside any plausible range of real questionnaires, so the server was not checking whether the item existed at all.
He notes that he is not sure this can be considered an IDOR, since the items do not really exist, but he basically used it to answer non-existing tutorials. IDOR stands for Insecure Direct Object Reference: a bug where a website lets you reach an item by its identifier without checking that the item belongs to you or that you are allowed to see it. The classic example is changing the number in a URL from your own invoice to someone else's and being shown their invoice. Here the situation is slightly different, because the items did not exist, but the effect was the same: the server acted on identifiers it should have rejected.
Step 5: no throttling
He also noticed there was no throttling at all. Throttling, also called rate limiting, is a cap on how many requests a user or a connection may send in a given period. Without it, a script can hammer the server as fast as it likes. He could send around 1000 requests simultaneously, and they all went through.
Simultaneously means at the same moment, in parallel, rather than one after another. A useful comparison: a ticket office with no queue limit will sell a ticket to everyone who pushes to the front at once. If the office only served one person per minute, the same crowd would take hours. No throttle means the crowd gets served instantly.
Conclusions
He ended up with around 1,000,000 coins that he could have used for his own benefit. Obviously, he did not use them. Once the vulnerability was confirmed and fixed, the bank removed them from his account.
When it comes to development, he offers four lessons:
- Stream your videos. The backend knows which part of the video is sent to you, so it can assume you have looked at it as soon as the duration of the section has passed, and mark it as seen. Let the backend decide whether the user can move to the next page. The backend is the part of the system that runs on the server, out of the user's reach; the front end is what runs in the browser. The rule of thumb is that anything the user's browser can change must not be trusted for decisions that matter.
- Do not return information about which is the right or wrong answer in a questionnaire. Let the front end send the answer, and the back end will let you know whether it is correct or not. In other words, the answer key stays on the server, and the server only says yes or no after the user has committed to an answer.
- Add a rate limit to your requests. Users should not be able to send unlimited requests in a short time.
- And for goodness' sake, make sure the item you are receiving exists in your database. A reward should only be paid for a real tutorial that the user has genuinely completed.
Variants to test
The technical version lists five variations on the same theme, useful if you want to look for similar mistakes elsewhere:
- Client-side progress values. Intercept any progress, completion or watch-time parameter and set it to the maximum. A positive result is the next stage (quiz, reward, certificate) unlocking without the media being consumed.
- Answer keys in responses. Fetch a quiz or questionnaire and inspect the JSON for fields that mark the correct option. JSON is a common text format for data exchanged between a browser and a server; it looks like a list of labels and values in curly braces. A positive result is a field identifying the right answer before submission.
- Reward endpoint without existence checks. Submit IDs outside the valid range, such as 99999999, and observe whether the reward is still granted. A positive result is coins, points or credit appearing for a non-existent item.
- Enumeration of sequential IDs. Brute-force a range of tutorial or quiz IDs and count how many award value. A positive result is a high success rate across IDs that should not exist or should already be completed.
- Concurrency. Fire around 1000 requests in parallel at the reward endpoint. A positive result is all of them succeeding, showing the absence of throttling.

Glossary
- API: the set of addresses and rules a website uses to receive requests and send replies; think of it as the menu and waiter between your browser and the server.
- Backend: the part of a system that runs on the server, out of the user's reach, and makes the decisions that matter.
- Brute-force: trying every possible value in a range, one after another, instead of guessing cleverly.
- Burp: a tool that sits between the browser and the server so you can read, change and replay requests.
- CVE: a publicly catalogued, known bug in a widely used piece of software.
- Fetch: a request from the browser asking the server for some data.
- Fintech: a company that provides financial services through software.
- Front end: the part of a system that runs in the user's browser and can therefore be read and changed by the user.
- ID: a number or label that identifies a specific item in a database.
- IDOR: Insecure Direct Object Reference, a bug where a website lets you reach an item by its identifier without checking that you are allowed to.
- JSON: a common text format for data exchanged between a browser and a server, written as labels and values in curly braces.
- Plugin: a small add-on program that adds a feature to a larger system such as WordPress.
- Rate limit (throttling): a cap on how many requests a user may send in a given period.
- Request: a message your browser sends to a server asking for something or telling it something.
- Response: the server's reply to a request.
- Server: a computer that stores a website and answers requests from browsers.
- Simultaneously (in parallel): at the same moment, rather than one after another.
- Vulnerability: a mistake in how software is built that lets someone make it do something the designers did not intend.
- WordPress: a popular system for building websites, extended with plugins.