Skip to content
Info disclosure Write-up Beginner

What the UI Hides, the API Tells: How I Found Mass Data Exposure in a Live Chat Feature

The live chat API returned each message with a nested user object containing the user's age and gender, which the chat UI never displayed. Because pagination was predictable and the chat API had no rate limiting, an attacker could automate harvesting of these demographic fields for many users.

A. M. Alogo Situmorang Follow

Published on medium.com

Bugbounty Writeup

A. M. Alogo Situmorang, on 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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

Vidio is a live streaming platform, and the feature under examination is its live chat. On a popular stream the chat moves quickly, and on screen each entry shows only a display name or username and a short message body. Reading the chat does not require an account: an unauthenticated guest can open a channel and watch the messages arrive.

The researcher had just landed a first bug bounty and deliberately moved away from static files towards real-time features used by many people at once. The guiding idea for the hunt is stated plainly: just because the user interface does not render a piece of data does not mean the backend is not sending it.

Setup

The only tooling described is Chrome DevTools, opened with F12 and switched to the Network tab while watching a live streaming channel. No account was needed to read the chat, so the precondition for the whole exercise is simply an unauthenticated browser session on a live channel. The proof of concept is a self-contained JavaScript snippet intended to be pasted into the browser console, with no external dependencies.

Finding it

Watching the Network tab showed two requests behind the chat. First, even as an unauthenticated guest, the browser automatically requested a token endpoint:

HTTP
GET https://www.vidio.com/tokens/chat

That endpoint handed out a valid guest JWT bearer token. Using that token, the frontend then fetched the latest batch of 100 chat messages from the live streaming API:

HTTP
GET https://live.vidio.com/conversations/[REDACTED]/messages/100

So far this is ordinary public live chat behaviour. The surprise came from opening the JSON response tab and expanding a single message object. The UI showed only two things per message: the display name or username, and the message body. The raw JSON, however, contained a nested user object for each message, and inside it the backend was serialising and sending private profile attributes that have no place in a public chat payload, specifically the user's age and gender.

In OWASP API Security Top 10 terms this is API3: Excessive Data Exposure, now categorised under Broken Object Property Level Authorization. The backend returned a fuller user object and trusted the frontend to ignore the fields it did not need.

Exploitation

Exposing the age and gender of one user is a minor privacy leak. To show why it mattered in the real world, the researcher tested whether the leak could be automated at scale. Two properties of the API made that possible.

  1. Predictable pagination: appending ?before_id=[LAST_MESSAGE_ID] to the URL walks backward through the entire chat history, 100 messages per request.
  2. No rate limiting: the server accepted rapid, back-to-back requests using the exact same anonymous guest token, without throttling or blocking the IP.

Step 1: Fetch a guest token

The PoC starts by requesting the token endpoint and reading the token out of the JSON response. The report shows the token being taken from a web property of the parsed response and prefixed with Bearer :

JavaScript
(async function() {    console.log("[*] Fetching guest chat token and messages...");    try {                const tResp = await fetch('https://www.vidio.com/tokens/chat');        const tJson = await tResp.json();        const token = 'Bearer ' + tJson.web;

This is the same request the browser makes on its own for any guest, so no account or credential is involved at any point.

Step 2: Walk the pagination loop

The second phase loops until it has collected the target sample, 200 messages, taking 100 per batch. Each iteration builds the messages URL, adding before_id once a last identifier is known, sends the bearer token in the Authorization header, and uses the id of the final message in each batch as the cursor for the next one:

JavaScript
        let allMessages = [];        let lastId = null;        const targetCount = 200; // Sample size for safe PoC demonstration        // Phase 2: Automated pagination loop (100 messages per batch)        while (allMessages.length < targetCount) {            const url = `https://live.vidio.com/conversations/[REDACTED]/messages/100${lastId ? `?before_id=${lastId}` : ''}`;            const resp = await fetch(url, { headers: { 'Authorization': token } });            const json = await resp.json();            if (!json || json.length === 0) break;            allMessages = allMessages.concat(json);            lastId = json[json.length - 1].id;            console.log(`[+] Collected: ${allMessages.length} user records...`);            if (json.length < 100) break;        }

The loop stops on an empty or missing response, or when a batch comes back with fewer than 100 messages, which marks the end of the history. The sample is deliberately capped at 200 messages for a safe demonstration.

Step 3: Extract and display the leaked fields

The third phase maps each message to a row containing the username, display name, age, gender and message body, falling back to Anonymous or N/A when a field is absent, and prints the result with console.table():

JavaScript
        // Phase 3: Parse and display leaked demographic fields        const result = allMessages.slice(0, targetCount).map((m, index) => ({            No: index + 1,            User: m.user?.username || "Anonymous",            DisplayName: m.user?.name || "N/A",            Age: m.user?.age || "N/A",       // <-- Unnecessary exposed attribute            Gender: m.user?.gender || "N/A", // <-- Unnecessary exposed attribute            Message: m.body        }));        console.table(result);        console.log("[!] Done! Demographic data extracted via automated pagination.");    } catch (e) {        console.error("[-] Error:", e);    }})();

Within seconds of pressing Enter, the script populated a neatly formatted table of hundreds of real users together with their exact age and gender.

Step 4: Account enumeration on password reset

While testing the surrounding authentication flows to see how the data could be chained, the researcher noticed that the password reset page at /users/password/new returned explicit status messages:

  • "Email sent!" if an email was registered.
  • "This email isn't registered yet" if it was not.

That difference lets anyone test whether a given address has an account.

All three issues, excessive attribute exposure, missing rate limiting on the chat APIs, and account enumeration, were bundled into one report and sent to [redacted] on March 15.

Root cause

The chat endpoint serialises a full user object into every message, including age and gender, and relies on the frontend to render only the name and body. The likely cause is passing a whole user record into the JSON serialiser instead of a stripped-down data transfer object containing only what the chat needs. Nothing on the server side restricted how much of that object left the API.

The scale problem has a separate cause: the guest token endpoint issues a valid bearer token to anyone, and the messages endpoint applies no throttling to repeated requests with the same anonymous token, so pagination can be walked as fast as the client can send requests. The enumeration issue is a design choice on the reset form, returning distinct messages for registered and unregistered addresses.

Impact

An unauthenticated attacker can harvest the age and gender of users active in a live chat, at 100 messages per request, walking backward through the full history with no throttling. The researcher demonstrated this on a 200-message sample and notes the script produced hundreds of real user records. The reset page additionally allows enumeration of registered email addresses.

The programme's assessment was that age and gender are not high-risk credentials and do not lead to account takeover, and that the leaked fields were limited to non-critical demographic data of users active in chat. The overall severity was therefore categorised as Low, and a monetary bounty was awarded. The report does not describe any further chaining beyond the enumeration observation.

Fix

The Vidio security team replied on April 6 with an assessment and three concrete areas they decided to fix immediately:

  1. Account enumeration on the authentication flow.
  2. Missing rate limiting on the Live Chat API.
  3. Exposure of unnecessary user attributes not required by the chat feature.

These were the three areas the team decided to fix immediately; the report does not describe the implementation details.

Variants to test

  1. Compare any public feed, comment section or live chat against its raw JSON in the Network tab. A positive result is a nested object carrying fields the UI never renders, such as demographics, email, internal identifiers or role flags.
  2. Look for cursor parameters such as before_id, after_id or page on message endpoints. A positive result is being able to walk arbitrarily far back through history with a single unauthenticated token.
  3. Replay the same guest or anonymous token in a tight loop. A positive result is sustained responses with no throttling, blocking or challenge.
  4. Submit a registered and an unregistered address to password reset and compare the responses. A positive result is any wording or status difference that reveals whether the account exists.
  5. Turn the finding into a console PoC using async/await and console.table(), capped at a small sample. A positive result is a triage engineer pasting it into F12 and seeing the impact immediately, without installing anything.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 21 min read.

What happened, in plain words

A security researcher was looking at Vidio, a live streaming website. On a live stream, there is a chat box where viewers type short messages. On the screen, each chat message shows only two things: a name and the text of the message. It looks completely harmless.

But the researcher opened a tool built into the browser that shows every conversation between the browser and the website. There, behind the scenes, the website was sending much more than the name and the message. For every single chat message, it was also quietly sending the person's age and gender. The screen never showed these, but the data was there, and anyone could read it.

The researcher then wrote a short script that collected this hidden data automatically, a few hundred messages at a time. They also found two smaller problems: the chat server did not stop someone from asking for data over and over very quickly, and the password reset page revealed whether an email address had an account.

They reported all three issues to Vidio. The security team said it would fix them and paid a reward. This is the story of how it was found, explained from the beginning.

The background: what Vidio is and what a live chat does

Vidio is a website for watching live television and streaming channels. When many people watch the same stream at once, they can talk to each other in a live chat: a panel next to the video where messages appear in real time, newest at the bottom, scrolling upward as people type.

On a busy stream the chat moves fast. On screen, each entry is just a username or display name and a short message. That is all you see.

You do not need an account to read this chat. Anyone who opens the channel can watch the messages arrive, even without logging in. The researcher calls such a visitor an "unauthenticated guest": someone the website does not know, with no username and no password.

The researcher had just earned their first bug bounty (a reward paid by a company to someone who reports a security problem in its product) and wanted to look at something different from the usual target of static files. Static files are things like images or documents that never change. Instead, they chose real-time features: parts of a website that update constantly and are used by thousands of people at the same time. Live chat is exactly that.

The idea guiding the whole hunt is simple and worth remembering: just because the screen does not show a piece of information does not mean the website's servers are not sending it. The screen is only one way of displaying data. The data itself travels separately, and it can be inspected.

The tools: the browser's Network tab and the console

No special software was used. The only tool described is Chrome DevTools, a set of developer tools built into the Chrome browser. You open it by pressing F12 on your keyboard. It appears as a panel, usually on the right side or the bottom of the window.

Inside DevTools there are several tabs. Two matter here:

  • The Network tab records every request the browser makes to the website's servers and every response that comes back. A request is a message the browser sends asking for something; a response is the answer. Think of it as a log of every conversation between your browser and the website, including the ones you never see on screen.
  • The Console tab is a place where you can type commands in JavaScript (the programming language that web pages use) and run them immediately in the page. It is like a direct line to the page, letting you make the browser do things without clicking anything.

The researcher also wrote a small JavaScript program, called a proof of concept (PoC). A PoC is a demonstration that proves a problem is real and shows how it can be exploited. This one was designed to be pasted straight into the browser console, with nothing to install and no external dependencies (no extra files or libraries needed).

The first look: watching the chat load

The researcher opened a live streaming channel on Vidio, pressed F12, switched to the Network tab, and watched what happened as the chat loaded.

Two requests stood out. The first one was made automatically, even though the researcher was not logged in:

HTTP
GET https://www.vidio.com/tokens/chat

Let us break this down. GET is the type of request that means "give me something". The address https://www.vidio.com/tokens/chat is the place being asked. The word tokens in the address hints at what comes back: a token.

A token, in this context, is a short string of characters that acts like a temporary pass. The website gives it to your browser, and your browser shows it on later requests to prove it is allowed to ask. It is similar to the wristband you get at an event: you do not need to show your ID again at every door, you just show the wristband. This particular token is a JWT, short for JSON Web Token, a common standard format for such passes. The researcher calls it a "guest JWT bearer token": guest because it is issued to anonymous visitors, and bearer because whoever holds it ("bears" it) can use it.

So the first request is the website handing out a temporary pass to anyone, even someone who has not logged in. That is normal for a public chat: if reading the chat required an account, anonymous visitors could not read it.

The second request used that pass to fetch messages:

HTTP
GET https://live.vidio.com/conversations/[REDACTED]/messages/100

Again, GET means "give me". The address points to a different server, live.vidio.com, which handles the live chat. The path contains conversations, then a part that has been hidden here as [REDACTED] (likely an identifier for the specific chat room), then messages/100. The 100 at the end is the number of messages requested: the latest batch of one hundred.

At this point, nothing unusual had happened. This is how public live chats work everywhere: the browser asks for a pass, then uses the pass to ask for messages.

The discovery: data on screen versus data in the response

The surprise came when the researcher clicked on the response of that second request and looked at the raw data. The response was in JSON, a text format for structured data. JSON looks like a set of labelled boxes inside other boxes, with names in quotes followed by values. It is the standard way websites send data to browsers.

On screen, each chat message showed only two things:

  1. The display name or username.
  2. The message body (the text the person typed).

But in the raw JSON, each message was not just a name and a text. It also contained a nested user object: a smaller box inside the message box, holding details about the person who wrote it. And inside that user box, the server was sending private profile information that had no reason to be in a public chat message. Specifically, it was sending the user's age and gender.

This is the heart of the finding. The website's servers were building a full user profile for every message and sending it to every visitor's browser, then trusting the screen to simply not display the extra fields. The screen did its job and hid them. The data, however, was still there for anyone who looked.

In the OWASP API Security Top 10, a well-known list of the most common security mistakes in APIs, this is a classic example of API3: Excessive Data Exposure. An API (Application Programming Interface) is the set of doors a website's servers offer for programs to ask for data. When you use a website, your browser is constantly talking to these doors. Excessive Data Exposure means the API sends back more data than the requester actually needs. The list now categorises this under a longer name, Broken Object Property Level Authorization, which means the server fails to control which individual fields of an object a requester is allowed to see.

A useful comparison: imagine ordering a coffee and the café hands you the cup plus a printout of the barista's notes about you, your age, and your preferences. You only asked for coffee. The extra paper was never needed, and you were not supposed to receive it.

Why one leak is not the whole story: scale

Leaking the age and gender of one person is a small privacy problem. On its own, it would probably not be worth much. To show the security team why it mattered in the real world, the researcher needed to test whether the leak could be automated at scale: could someone collect this data for many users, quickly, without an account?

Looking more closely at the API, the researcher noticed two properties that made this possible.

  1. Predictable pagination. Pagination is how websites split long lists into pages, like pages in a book. The chat API returned 100 messages per request, and it accepted a parameter called before_id. A parameter is an extra piece of information added to an address, after a ?, that changes what comes back. By appending ?before_id=[LAST_MESSAGE_ID] to the address, where [LAST_MESSAGE_ID] is the identifier of the oldest message you have so far, you ask for the 100 messages that came before it. Repeat that, and you walk backward through the entire chat history, 100 messages at a time.

  2. No rate limiting. Rate limiting is a rule that says "you may only make so many requests per minute". It is the digital equivalent of a bouncer who stops you from knocking on the door a thousand times a second. Here, the server accepted rapid, back-to-back requests using the exact same anonymous guest token, with no throttling (slowing down) and no blocking of the IP address. An IP address is the number that identifies a device on the internet; blocking it is a common way to stop abuse.

Together, these two properties turn a small leak into a harvesting machine: one anonymous pass, unlimited requests, and a way to page through everything.

The proof of concept, step by step

To demonstrate the risk clearly, the researcher wrote a self-contained JavaScript PoC that anyone on the triage team could paste directly into their browser console. Triage is the first stage of handling a bug report, where the receiving team checks whether the issue is real and how serious it is. The script automatically fetched a guest token, looped backward through pagination, extracted the hidden demographic data, and printed a clean table using console.table(), a console command that displays data as a neat table.

The script is shown in three parts. Here is the first.

Step 1: Fetch a guest token

JavaScript
(async function() {    console.log("[*] Fetching guest chat token and messages...");    try {                const tResp = await fetch('https://www.vidio.com/tokens/chat');        const tJson = await tResp.json();        const token = 'Bearer ' + tJson.web;

Line by line:

  • (async function() { starts a function that can wait for slow things (like network requests) without freezing the page. The word async means "this function is allowed to pause and wait".
  • console.log("[*] Fetching guest chat token and messages..."); prints a message in the console so the person running it can see what is happening. The [*] is just a visual marker.
  • try { begins a block where errors will be caught later instead of crashing everything.
  • const tResp = await fetch('https://www.vidio.com/tokens/chat'); sends the same request the browser makes on its own, asking for a guest token. fetch is the browser's built-in way to make a request. await means "wait here until the answer arrives". The answer is stored in tResp (short for token response).
  • const tJson = await tResp.json(); takes the answer and reads it as JSON, turning the text into a usable object. The result is stored in tJson.
  • const token = 'Bearer ' + tJson.web; takes the token out of the response. The report shows it being read from a property called web, and prefixes it with the word Bearer and a space. That prefix is the standard way to tell a server "here is the pass I was given". The final string is stored in token.

Why this step matters: this is the same request the browser makes on its own for any guest. No account, no password, no credential of any kind is involved at any point. The script is simply doing what any anonymous visitor's browser already does.

Step 2: Walk the pagination loop

JavaScript
        let allMessages = [];        let lastId = null;        const targetCount = 200; // Sample size for safe PoC demonstration        // Phase 2: Automated pagination loop (100 messages per batch)        while (allMessages.length < targetCount) {            const url = `https://live.vidio.com/conversations/[REDACTED]/messages/100${lastId ? `?before_id=${lastId}` : ''}`;            const resp = await fetch(url, { headers: { 'Authorization': token } });            const json = await resp.json();            if (!json || json.length === 0) break;            allMessages = allMessages.concat(json);            lastId = json[json.length - 1].id;            console.log(`[+] Collected: ${allMessages.length} user records...`);            if (json.length < 100) break;        }

Line by line:

  • let allMessages = []; creates an empty list to hold every message collected so far. The square brackets mean "a list".
  • let lastId = null; creates a placeholder for the identifier of the oldest message seen so far. It starts as null, meaning "nothing yet".
  • const targetCount = 200; sets the goal: collect 200 messages. The comment says this is a deliberately small sample for a safe demonstration, not a full harvest.
  • while (allMessages.length < targetCount) { starts a loop that keeps going as long as fewer than 200 messages have been collected.
  • const url = ... builds the address for the next request. The backticks make a template string, a way to insert values into text. Inside it, ${lastId ? ?before_id=${lastId} : ''} means: if lastId has a value, add ?before_id= followed by that value; otherwise add nothing. So the first request asks for the latest 100 messages, and every later request asks for the 100 messages before the oldest one already collected.
  • const resp = await fetch(url, { headers: { 'Authorization': token } }); sends the request, attaching the guest token in a header called Authorization. A header is extra information sent alongside a request, like the label on a parcel. This is where the pass is shown.
  • const json = await resp.json(); reads the answer as JSON, giving a list of up to 100 message objects.
  • if (!json || json.length === 0) break; stops the loop if the answer is missing or empty. break means "leave the loop now".
  • allMessages = allMessages.concat(json); adds the new batch to the growing list. concat joins lists together.
  • lastId = json[json.length - 1].id; takes the identifier of the last message in the batch (the oldest one, since messages come newest first) and remembers it as the starting point for the next request. This is the cursor: the bookmark that tells the server where to continue.
  • console.log(...) prints how many records have been collected so far.
  • if (json.length < 100) break; stops the loop when a batch comes back with fewer than 100 messages, which means the end of the history has been reached.

Why this step matters: it shows that the entire chat history can be walked backward, 100 messages per request, using a single anonymous token, with no throttling to slow it down. The sample is deliberately capped at 200 messages so the demonstration stays safe and does not collect more than necessary.

Step 3: Extract and display the leaked fields

JavaScript
        // Phase 3: Parse and display leaked demographic fields        const result = allMessages.slice(0, targetCount).map((m, index) => ({            No: index + 1,            User: m.user?.username || "Anonymous",            DisplayName: m.user?.name || "N/A",            Age: m.user?.age || "N/A",       // <-- Unnecessary exposed attribute            Gender: m.user?.gender || "N/A", // <-- Unnecessary exposed attribute            Message: m.body        }));        console.table(result);        console.log("[!] Done! Demographic data extracted via automated pagination.");    } catch (e) {        console.error("[-] Error:", e);    }})();

Line by line:

  • const result = allMessages.slice(0, targetCount).map((m, index) => ({ takes the first 200 messages (slice(0, targetCount)) and turns each one into a row of a table (map). For each message m, with its position index, it builds an object with several labelled fields.
  • No: index + 1, gives each row a number, starting at 1 instead of 0.
  • User: m.user?.username || "Anonymous", reads the username from the message's user object. The ?. means "if user exists, look inside it; otherwise stop here without an error". The || "Anonymous" means "if the value is missing or empty, use the word Anonymous instead".
  • DisplayName: m.user?.name || "N/A", does the same for the display name, falling back to N/A (not available).
  • Age: m.user?.age || "N/A", pulls out the age, with a comment marking it as an unnecessarily exposed attribute.
  • Gender: m.user?.gender || "N/A", pulls out the gender, with the same comment.
  • Message: m.body puts the message text in the row.
  • console.table(result); prints the whole list as a neatly formatted table in the console.
  • console.log("[!] Done! ..."); prints a final message saying the extraction is complete.
  • } catch (e) { console.error("[-] Error:", e); } catches any error that happened along the way and prints it, so the script does not fail silently.
  • })(); closes the function and runs it immediately.

Why this step matters: it turns the raw JSON into a human-readable table that makes the leak impossible to miss. Within seconds of pressing Enter in the console, the script populated a neatly formatted table of hundreds of real users together with their exact age and gender. The security team could see the impact with their own eyes, without installing anything.

A bonus finding: account enumeration on password reset

While testing the surrounding login and password flows to see how the leaked data could be chained (combined with other weaknesses for a bigger effect), the researcher noticed something on the password reset page. The page lives at /users/password/new, and it returned explicit status messages:

  • "Email sent!" if an email was registered.
  • "This email isn't registered yet" if it was not.

This is called account enumeration: a way to find out which email addresses have accounts on a website. Normally, a password reset page should give the same answer whether or not the address exists, so that nobody can use it as a checking machine. Here, the two different messages let anyone test whether a given address has an account. It is like a receptionist who says "yes, that person works here" for some names and "never heard of them" for others, when they should say "we'll pass on your message" to everyone.

Sending the report

The researcher bundled all three issues into one comprehensive report:

  1. Excessive attribute exposure (the age and gender leak).
  2. Missing rate limiting on the chat APIs.
  3. Account enumeration on the password reset page.

The report was sent to [redacted] on March 15. Bundling related findings into one report is a deliberate choice: it turns what could have been a minor note into a solid, multi-point improvement for the engineering team, and it gives them the full picture in one place.

The response and the reward

On April 6, the Vidio security team replied with a thorough and fair assessment. They noted that while age and gender are not high-risk credentials (they cannot be used to log in as someone) and do not lead to an account takeover (someone else gaining control of your account), the report highlighted three concrete areas they decided to fix immediately:

  1. Account enumeration on the authentication flow.
  2. Missing rate limiting on the Live Chat API.
  3. Exposure of unnecessary user attributes not required by the chat feature.

Because the leaked fields were limited to non-critical demographic data of users active in chat, the team categorised the overall severity as Low. They also awarded a monetary bug bounty as a token of appreciation for the actionable insights. Less than 24 hours after confirming the researcher's bank details, the payout landed in the account.

Why it happened: the root cause

The chat endpoint serialises a full user object into every message, including age and gender, and relies on the frontend (the part of the website that runs in your browser) to render only the name and body. The likely cause is passing a whole user record into the JSON serialiser instead of a stripped-down data transfer object (DTO) containing only what the chat needs. A DTO is a small, purpose-built package of data: instead of handing over the whole filing cabinet, you hand over a single sheet with just the needed fields. Nothing on the server side restricted how much of that object left the API.

The scale problem has a separate cause: the guest token endpoint issues a valid bearer token to anyone, and the messages endpoint applies no throttling to repeated requests with the same anonymous token, so pagination can be walked as fast as the client can send requests. The enumeration issue is a design choice on the reset form, returning distinct messages for registered and unregistered addresses.

What an attacker could have done

An unauthenticated attacker could harvest the age and gender of users active in a live chat, at 100 messages per request, walking backward through the full history with no throttling. The researcher demonstrated this on a 200-message sample, and the script produced hundreds of real user records. The reset page additionally allowed enumeration of registered email addresses.

The programme's assessment was that age and gender are not high-risk credentials and do not lead to account takeover, and that the leaked fields were limited to non-critical demographic data of users active in chat. The overall severity was therefore categorised as Low, and a monetary bounty was awarded. The report does not describe any further chaining beyond the enumeration observation.

How to look for the same thing yourself

These are the checks the researcher suggests, written so that a beginner can follow them.

  1. Compare the screen to the raw data. Whenever you see a public feed, comment section or live chat, open the Network tab and look at the JSON responses. A positive result is a nested object carrying fields the screen never shows, such as demographics, email, internal identifiers or role flags.
  2. Look for cursor parameters. Check message addresses for parameters such as before_id, after_id or page. A positive result is being able to walk arbitrarily far back through history with a single unauthenticated token.
  3. Replay the same guest token in a tight loop. A positive result is sustained responses with no throttling, blocking or challenge.
  4. Compare password reset responses. Submit a registered and an unregistered address to password reset and compare the answers. A positive result is any wording or status difference that reveals whether the account exists.
  5. Turn the finding into a console PoC. Use async/await and console.table(), capped at a small sample. A positive result is a triage engineer pasting it into F12 and seeing the impact immediately, without installing anything.

Three lessons for fellow bug hunters

  1. Always compare the UI to the raw JSON. Whenever you see a public feed, comment section or live chat, check the Network tab. Developers frequently pass an entire user database object into a JSON serialiser instead of creating a stripped-down data transfer object.
  2. Browser console PoCs are underrated. Writing a clean async/await script that runs directly in the browser console and outputs to console.table() makes triage effortless. The security team does not need to install external dependencies: they just press F12, paste, and see the impact immediately.
  3. Bundle related hygiene findings. Combining the data exposure with the missing rate limit and account enumeration turned what could have been a minor note into a solid, multi-point improvement for the engineering team.

Glossary

  • API: the set of doors a website's servers offer for programs to ask for data; the interface through which your browser and the website exchange information.
  • API3: Excessive Data Exposure: a common API security mistake where the server sends back more data than the requester needs, leaving the screen to hide the extra fields.
  • Account enumeration: a way to find out which email addresses have accounts on a website, usually by comparing different responses.
  • Account takeover: someone else gaining control of your account.
  • Async/await: JavaScript keywords that let a program wait for slow operations, such as network requests, without freezing.
  • Authentication flow: the set of pages and steps involved in logging in, resetting a password and similar actions.
  • Bearer token: a temporary pass that whoever holds it can use, without proving anything else.
  • Broken Object Property Level Authorization: the newer name for the class of problem where a server fails to control which individual fields of an object a requester may see.
  • Bug bounty: a reward paid by a company to someone who reports a security problem in its product.
  • Chaining: combining several weaknesses so that together they have a bigger effect than each alone.
  • Console: a tab in the browser's developer tools where you can type and run JavaScript directly in the page.
  • console.table(): a console command that displays data as a neatly formatted table.
  • Cursor: a bookmark that tells a server where to continue in a list, such as the identifier of the last message seen.
  • Data transfer object (DTO): a small, purpose-built package of data containing only the fields needed for a particular purpose.
  • Demographic data: information about people such as age and gender.
  • DevTools: the set of developer tools built into the Chrome browser, opened with F12.
  • Endpoint: a specific address on a server that accepts requests, such as the token address or the messages address.
  • Excessive Data Exposure: see API3.
  • Frontend: the part of a website that runs in your browser and displays things on screen.
  • GET: the type of request that means "give me something".
  • Header: extra information sent alongside a request, such as the label on a parcel.
  • IP address: the number that identifies a device on the internet.
  • JavaScript: the programming language that web pages use, and the language of the browser console.
  • JSON: a text format for structured data, made of labelled boxes inside other boxes, used to send data between servers and browsers.
  • JWT (JSON Web Token): a common standard format for a token, a temporary pass.
  • Nested object: a smaller data box inside another data box in JSON.
  • Network tab: the part of DevTools that records every request and response between the browser and the website.
  • OWASP API Security Top 10: a well-known list of the most common security mistakes in APIs.
  • Pagination: how websites split long lists into pages, like pages in a book.
  • Parameter: extra information added to an address, after a ?, that changes what comes back.
  • Password reset page: the page where you ask to reset a forgotten password.
  • Proof of concept (PoC): a small demonstration that proves a problem is real and shows how it can be exploited.
  • Rate limiting: a rule that limits how many requests can be made in a period of time.
  • Response: the answer a server sends back to a request.
  • Root cause: the underlying reason a problem exists, as opposed to its visible symptom.
  • Serialise: to turn a data object into a text format, such as JSON, for sending.
  • Severity: how serious a security problem is judged to be.
  • Static files: files such as images or documents that never change.
  • Throttling: deliberately slowing down or limiting repeated requests.
  • Token: a short string of characters acting as a temporary pass.
  • Triage: the first stage of handling a bug report, where the receiving team checks whether the issue is real and how serious it is.
  • Unauthenticated guest: a visitor the website does not know, with no username and no password.
  • UI (user interface): what you see and interact with on screen.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.