[Клевер/Android] Небезопасный BroadcastReceiver позволяет создавать окно диалога в приложении посредством другого неавторизованного приложения
- 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
Когда приложение видно пользователю в MainActivity регистрируются два ресивера:
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"
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.