Skip to content
Account takeover Disclosed report Beginner

No permission set on Activities [Android App]

Several activities in the Android app were exported without a permission requirement, so any other app on the device could launch them. This could let a malicious app bypass security checks or access a user's private information.

Gaurang Bhatnagar Follow

Originally disclosed on HackerOne

  • Disclosed after 3 days

Android app version: 1.0.0

Issue Details:

The following activities are exported and it does not have a permission set.

  1. com.owncloud.android.ui.activity.FileDisplayActivity
  2. com.owncloud.android.ui.activity.ReceiveExternalFilesActivity
  3. com.owncloud.android.authentication.AuthenticatorActivity
  4. com.owncloud.android.ui.activity.ShareActivity

This could allow any malicious application to initiate the above mentioned activities thus bypassing security checks or getting private information of any user.

Recommendation:

Set the permission for the above mentioned activities or either set android:exported=false (which allows the activities to be launched by only components of the same app or the same uid)

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

The listed activities were declared as exported in the app manifest without an accompanying permission requirement.

What the attacker needed

Malicious app installed on device

The fix

The activities should be protected with a permission or declared as not exported so only the app itself can launch them.

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.

Android apps are made of pieces called activities, each a screen. An activity marked 'exported' can be started by other apps on the phone. If it has no permission protecting it, any app can open it, even one the user never meant to trust.

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 Gaurang Bhatnagar

View all

2 more disclosed reports, best first.

More from Nextcloud

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.