Skip to content
DoS Disclosed report Beginner

Отсутствие flood контроля в ИСТОРИЯХ вк

pisarenko Follow

Originally disclosed on HackerOne

Bounty$100 Low View original
  • Triaged in 9 hours
  • Fixed in 7 months
  • Paid in 7 months
  • Disclosed after 8 months
## Summary by the program

Отсутствие flood-контроля при отправке Истории в личные сообщения друзьям.

## Summary by the researcher

Юра предположил , что в История�
 нету флуд контроля . Пытался добыть запрос , но без успешно .
Обратившись ко мне я ему подтвердил наличие уязвимости во флуде историями , дальнейшем он дал идею проверить отправку в личные сообщения историй нескольким друзьям , проверка показала , что так же все работало. 
Мы раздили эту щедрую награду 50/50 по братски ! Попьем пивко вечером .

Я составил отчет и отправил со своего аккаунта @pisarenko с согласия Юрия  , так как отчет требовал POC , который работал на моем аккаунте , а со своего он не мог повторить в связи отсутствия запроса в свои�
 лога�
.

В вконтакте не было ограничений на отправку ИСТОРИЙ  в личные сообщения друзьям . 
Тем самым мы могли  зафлудить личные сообщения друзей (если у вас 9999 друзей одним запросом отправлялось сообщение всем 9999 друзьям в общей сложности 9999 сообщений) 

Если повторять запрос 1000 раз в сумме было бы 9999000 сообщений разослано за минуту с небольшим .

Спасибо Юра  за прекрасную работу и улучшение ВКОНТАКТЕ.

________________________________________________________________________________________________________

███████████████████████████
███████▀▀▀░░░░░░░▀▀▀███████
████▀░░░░░░░░░░░░░░░░░▀████ 
███│░░░░░░░░░░░░░░░░░░░│███ 
██▌│░░░░░░░░░░░░░░░░░░░│▐██ 
██░└┐░░░░░░░░░░░░░░░░░┌┘░██ 
██░░└┐░░░░░░░░░░░░░░░┌┘░░██ 
██░░┌┘▄▄▄▄▄░░░░░▄▄▄▄▄└┐░░██ 
██▌░│██████▌░░░▐██████│░▐██ 
███░│▐███▀▀░░▄░░▀▀███▌│░███ 
██▀─┘░░░░░░░▐█▌░░░░░░░└─▀██ 
██▄░░░▄▄▄▓░░▀█▀░░▓▄▄▄░░░▄██ 
████▄─┘██▌░░░░░░░▐██└─▄████
█████░░▐█─┬┬┬┬┬┬┬─█▌░░█████
████▌░░░▀┬┼┼┼┼┼┼┼┬▀░░░▐████ 
█████▄░░░└┴┴┴┴┴┴┴┘░░░▄█████
███████▄░░░░░░░░░░░▄███████ 
██████████▄▄▄▄▄▄▄██████████ 
███████████████████████████

The original report as published on HackerOne, by pisarenko. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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. 4 min read.

Context

VK.com (VKontakte) is a social network, and Stories are short-lived posts that a user publishes to their profile. The feature discussed here is the ability to send a Story directly into a friend's private messages, so that the recipient sees it as a direct message rather than only in the Stories feed. The report is about the absence of flood control on that sending action: the server accepted repeated Story sends to friends without rate limiting.

The program's own summary states the issue plainly: no flood control when sending a Story to friends in private messages. The weakness was classified as a heap overflow on the platform record, which does not match the described behaviour; the report itself describes a missing rate limit, not memory corruption.

Setup

Two people were involved. Yura first suspected that Stories had no flood control and tried to capture the request himself, but without success. He came to the author, who confirmed that the vulnerability existed for flooding with Stories. Yura then suggested checking whether sending Stories to several friends in private messages behaved the same way, and that check showed it worked too.

The author wrote the report and submitted it from his own account, @pisarenko, with Yura's agreement. The reason was that the report required a proof of concept that worked on the author's account: Yura could not reproduce it from his own account because the request was missing from his logs. The bounty of 100.00 USD was split 50/50 between the two.

No tooling, versions or specific account configuration beyond this are given.

Finding it

The starting observation was that Stories lacked flood control. The first attempt to obtain the request failed, so the initial evidence was behavioural rather than a captured HTTP exchange. Once the author confirmed the flooding behaviour, the next question was whether the same missing limit applied to the private-message delivery path, where a Story is sent to one or more friends. It did.

The report contains no captured request, no response, no endpoint, no parameter names and no headers. The proof of concept was a working request on the author's account, which is why the report had to be filed from that account.

Exploitation

Step 1: Confirm flooding with Stories

Yura's attempt to capture the request was unsuccessful, so this step is described only as a confirmed behaviour: Stories could be sent repeatedly without a flood control stopping it.

Step 2: Test delivery to friends in private messages

On Yura's suggestion, the author checked sending a Story into the private messages of several friends. The check showed the same result: the sends went through without a limit.

Step 3: Scale the send

The report describes the effect in terms of the friend list. With 9999 friends, a single request sent the message to all 9999 friends, for a total of 9999 messages. Repeating the request 1000 times would have produced 9,999,000 messages dispatched in a little over a minute.

No request is reproduced in the report, so there is nothing to show for the exact HTTP method, path, body or authentication used. The numbers above are the author's own arithmetic for the volume, not measured response data.

Root cause

The design mistake is that the Story-to-private-message action had no flood control, so the server did not throttle repeated sends. The report does not describe the server-side implementation, so whether the limit was missing entirely or applied only to some other Stories action cannot be determined from it. The report does not describe the server-side implementation.

Impact

The impact is message flooding of friends' private messages. Under the conditions in the report, an attacker with a large friend list can deliver a Story to every friend in one request and repeat that request many times, filling recipients' direct messages. The author frames it as being able to flood friends' private messages, with the 9999-friend and 1000-repeat figures as the scale. The report does not discuss other effects such as notification spam, blocking of legitimate messages, or impact on users who are not friends.

Fix

The evident fix is to apply flood control to the Story-to-private-message action so that repeated sends are throttled.

Variants to test

  1. Send a Story to a single friend repeatedly and watch for a limit appearing after a number of sends. A positive result is that every send succeeds with no throttling response.
  2. Send a Story to a large group of friends in one request, then repeat the request. A positive result is that the total delivered count grows linearly with the number of repeats.
  3. A positive result is the same absence of a limit on the alternate path.

Hunting notes

During recon, look for actions that fan out to many recipients in one request: friend lists, group members and broadcast-style sends are the obvious candidates. The signal is a feature that sends content to other users and has no visible cooldown or error after repeated use.

Capturing the request matters: in this case the first attempt to obtain it failed, and the report had to be filed from the account where the request actually worked. Demonstrating impact came down to arithmetic on the fan-out: one request to all friends, multiplied by repeats, producing millions of messages in about a minute.

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.

What happened, in plain words

VK.com (VKontakte) is a social network: a website where people create profiles, add friends and post content. Stories are short-lived posts that appear on a profile and disappear after a while. VK also lets you send a Story directly into a friend's private messages, so the friend receives it like a normal direct message.

The bug was that this sending action had no flood control. Flood control (also called rate limiting) is a rule that stops one account from doing the same action too many times in a short period. Without it, the server accepted repeated Story sends to friends with no cooldown and no error.

The program's own summary says it plainly: no flood control when sending a Story to friends in private messages. The platform record classified the weakness as a heap overflow, but that label does not match what the report describes. A heap overflow is a memory corruption bug where a program writes past the end of a reserved block of memory. What is described here is a missing rate limit, not memory corruption.

Setup

Two people were involved. Yura first suspected that Stories had no flood control and tried to capture the request himself, but without success. He came to the author, who confirmed that the vulnerability existed for flooding with Stories. Yura then suggested checking whether sending Stories to several friends in private messages behaved the same way, and that check showed it worked too.

The author wrote the report and submitted it from his own account, @pisarenko, with Yura's agreement. The reason was that the report required a proof of concept that worked on the author's account: Yura could not reproduce it from his own account because the request was missing from his logs. The bounty of 100.00 USD was split 50/50 between the two.

No tooling, versions or specific account configuration beyond this are given.

Finding it

The starting observation was that Stories lacked flood control. The first attempt to obtain the request failed, so the initial evidence was behavioural rather than a captured HTTP exchange. In other words, the team saw the effect (sends kept going through) before they had a recording of the exact network traffic.

Once the author confirmed the flooding behaviour, the next question was whether the same missing limit applied to the private-message delivery path, where a Story is sent to one or more friends. It did.

The report contains no captured request, no response, no endpoint, no parameter names and no headers. The proof of concept was a working request on the author's account, which is why the report had to be filed from that account.

Exploitation

Step 1: Confirm flooding with Stories

Yura's attempt to capture the request was unsuccessful, so this step is described only as a confirmed behaviour: Stories could be sent repeatedly without a flood control stopping it.

Why this step matters: before testing a specific delivery path, you first confirm the general behaviour. If the basic Story action already has no limit, it is worth checking whether the same is true when the Story is delivered through private messages.

Step 2: Test delivery to friends in private messages

On Yura's suggestion, the author checked sending a Story into the private messages of several friends. The check showed the same result: the sends went through without a limit.

Why this step matters: private messages are a different feature from the Stories feed. A limit might exist on one path and be missing on the other. Testing the private-message path tells you whether the missing limit follows the Story content into direct messages.

Step 3: Scale the send

The report describes the effect in terms of the friend list. With 9999 friends, a single request sent the message to all 9999 friends, for a total of 9999 messages. Repeating the request 1000 times would have produced 9,999,000 messages dispatched in a little over a minute.

No request is reproduced in the report, so there is nothing to show for the exact HTTP method, path, body or authentication used. The numbers above are the author's own arithmetic for the volume, not measured response data.

Why this step matters: a single send to one friend is annoying but small. The impact comes from fan-out, meaning one action that reaches many recipients at once, multiplied by repetition. The arithmetic turns a missing limit into a concrete volume of messages.

Root cause

The design mistake is that the Story-to-private-message action had no flood control, so the server did not throttle repeated sends. The report does not describe the server-side implementation, so whether the limit was missing entirely or applied only to some other Stories action cannot be determined from it. The report does not describe the server-side implementation.

Impact

The impact is message flooding of friends' private messages. Under the conditions in the report, an attacker with a large friend list can deliver a Story to every friend in one request and repeat that request many times, filling recipients' direct messages. The author frames it as being able to flood friends' private messages, with the 9999-friend and 1000-repeat figures as the scale. The report does not discuss other effects such as notification spam, blocking of legitimate messages, or impact on users who are not friends.

Fix

The evident fix is to apply flood control to the Story-to-private-message action so that repeated sends are throttled.

Variants to test

  1. Send a Story to a single friend repeatedly and watch for a limit appearing after a number of sends. A positive result is that every send succeeds with no throttling response.
  2. Send a Story to a large group of friends in one request, then repeat the request. A positive result is that the total delivered count grows linearly with the number of repeats.
  3. A positive result is the same absence of a limit on the alternate path.

Hunting notes

During recon, look for actions that fan out to many recipients in one request: friend lists, group members and broadcast-style sends are the obvious candidates. The signal is a feature that sends content to other users and has no visible cooldown or error after repeated use.

Capturing the request matters: in this case the first attempt to obtain it failed, and the report had to be filed from the account where the request actually worked. Demonstrating impact came down to arithmetic on the fan-out: one request to all friends, multiplied by repeats, producing millions of messages in about a minute.

Glossary

  • API: a set of rules that lets one piece of software talk to another, like a waiter taking your order to the kitchen and bringing back the food.
  • Bounty: a reward paid by a company to someone who reports a security problem to it.
  • Cookie: a small piece of data a website stores in your browser so it can recognise you on later requests, like a cloakroom ticket that proves which coat is yours.
  • Endpoint: the specific address (URL) that a request is sent to, for example the address of a particular action on a website.
  • Fan-out: one action that reaches many recipients at once, like one announcement over a loudspeaker heard by a whole crowd.
  • Flood control (rate limiting): a rule that limits how many times the same action can be done in a period, like a shop that lets each customer buy only two items.
  • Heap overflow: a memory corruption bug where a program writes past the end of a reserved block of memory; not what this report describes.
  • HTTP exchange: a request sent by a browser and the response sent back by the server.
  • HTTP method: the verb of a request, such as GET (fetch something) or POST (send something).
  • Parameter: a named value included in a request, such as a friend ID or a message text.
  • Proof of concept (POC): a working demonstration that the problem is real, not just a theory.
  • Request: the message your browser sends to a server asking it to do something.
  • Response: the message the server sends back after a request.
  • Stories: short-lived posts that appear on a profile and disappear after a while.
  • Throttle: to slow down or block repeated actions after a limit is reached.
  • Token: a piece of data that proves who you are, like a wristband at an event that lets you back in.
  • Vulnerability: a weakness in software that can be used to cause harm or unwanted behaviour.

More by pisarenko

View all

29 more disclosed reports, best first.

More from VK.com

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.