Skip to content
Access control Disclosed report Beginner

[Клевер/Android] Небезопасный BroadcastReceiver позволяет создавать окно диалога в приложении посредством другого неавторизованного приложения

norver Follow

Originally disclosed on HackerOne

  • Triaged in 21 hours
  • Fixed in 35 days
  • Paid in 43 days
  • Disclosed after 2 months

Summary by the program

Небезопасный BroadcastReceiver.

Summary by the researcher

more_thEn_vulnerability

Click to view screenshot

Когда приложение видно пользователю в MainActivity регистрируются два ресивера:

Java
registerReceiver(this.r, new IntentFilter("com.vk.quiz.action"));
registerReceiver(this.q, new IntentFilter("com.vk.quiz.action.coins"));

Особую опасность представляет первый, он позволяет создавать диалог с заголовком, описанием и картинкой, которую можно получить по url. Это позволяет другому приложению, не имеющего разрешения на доступ к Интернету, воспользоваться ресивером для передачи нужной ему информации. Таким образом уязвимость опасна для устройства пользователя.

Повторить можно примерно следующей командой (adb выступает в роли неавторизованного приложения):

adb shell am broadcast -a com.vk.quiz.action --es action "com.vk.quiz.action.message.modal" --es title "more_then_title" --es text "more_then_text" --es image "https://www.hackerone.com/assets/images/logo.png"

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

What is known

A low-severity access control bug in VK.com. HackerOne made it public on 26 October 2018.

About Access control

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by norver

View all

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

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.