Skip to content
Account takeover Disclosed report Intermediate

Обходим 2FA и/или получаем access_token, если мы когда-либо были на аккаунте жертвы

A token issued by the login flow's grant_access endpoint had no expiry and was not tied to meaningful account state such as whether two-factor authentication was enabled or when sessions were last reset. An attacker who had once accessed the victim's account could reuse that token to bypass 2FA on later logins and obtain an access token.

povargek Follow

Originally disclosed on HackerOne

Bounty$300 Medium View original
  • Triaged in under an hour
  • Fixed in 48 days
  • Paid in 2 months
  • Disclosed after 17 months
## Summary by the program

Частичный об�
од 2FA в некоторы�
 случая�
, имея доступ к странице.

## Summary by the researcher

Была возможность всего один раз побывав на аккаунте в последующи�
 случая�
 об�
одить 2FA.

Хеши на  https://login.vk.com/?act=grant_access не имели срока действия и привязки к значимым параметрам аккаунта (включена ли 2фа, когда посл. раз сброшены сессии, etc)

The original report as published on HackerOne, by povargek. 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

What the attacker needed

Attacker previously had access to the account

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.

Two-factor authentication (2FA) is a second proof of identity, such as a code from your phone, asked for after your password. Here the login system handed out a kind of pass that never expired and was not checked against whether 2FA was on, so someone who had once been in the account could keep using that pass to skip the code later. The report is short and does not show the exact request, so the details are limited.

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.

More by povargek

View all

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

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.