Skip to content
Info disclosure Disclosed report Beginner

Дорк

The report shows that a Google search for the VK API domain combined with the term access_token returns URLs that contain live access tokens. An attacker could use these tokens to call API methods such as retrieving audio or friends lists.

linkks Follow

Originally disclosed on HackerOne

  • Triaged in 5 days
  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 9 months

Привет команда ВК

вводим в гугл site:api.vk.com

получаем список ссылок

сужаем запрос site:api.vk.com access_token

Получаем ссылки с access_token

https://api.vk.com/method/audio.getPopular.xml?access_token=73e0a5e18bb491249705e60ff352df91bd34a55ee634c9448b187feee9a8bcffde7eefb9000ea03d845a2&sort=&count=11&only_eng=0

Получаем список друзей

https://api.vk.com/method/friends.get.xml?&access_token=73e0a5e18bb491249705e60ff352df91bd34a55ee634c9448b187feee9a8bcffde7eefb9000ea03d845a2&sort=&count=11&only_eng=0

Дальше экспериментировать не стал.

Спасибо заранее

Attachments

12UYXj56U6HpEE2EXgcFA_1_.jpg
12UYXj56U6HpEE2EXgcFA_1_.jpg From the original on HackerOne
1S1BrEyskiTkwstLMBVw_1_.jpg
1S1BrEyskiTkwstLMBVw_1_.jpg
NEbi1G4SkexdRSjMhOMg_1_.jpg
NEbi1G4SkexdRSjMhOMg_1_.jpg

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely tokens were placed in URLs that were publicly accessible and indexed by search engines.

What the attacker needed

Tokens exposed in indexed URLs

How it was found

  1. Search Google for the VK API domain.
  2. Narrow the search to include the term access_token.
  3. Collect the resulting links that contain access tokens.
  4. Use a token to call an API method and retrieve data.

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 report has not been written yet. The Original tab links to the source.

An access token lets a program call the API. The report found some tokens in web addresses that search engines had indexed, and showed they could be used to call API methods.

What is Info disclosure?

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

More by linkks

View all

20 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.

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.