Skip to content
DoS Disclosed report Beginner CVE-2021-32694

Malicious apps can crash Nextcloud Android client by sending malformed intents

The Nextcloud Android app's login deeplink handler does not properly handle malformed login data, so parsing it throws an unhandled exception. A malicious app on the same device could send a crafted intent to crash the Nextcloud client, causing a denial of service.

bigbug Follow

Originally disclosed on HackerOne

  • Disclosed after 14 months

Not sure if this can be tracked as a security issue, but this definitely calls for a code change. This can be classified into Denial of Service category attack and can seriously hamper user experience.

Asset: Nexcloud Android Client (com.nextcloud.client) Version: 3.11.1 (latest)

###Details

The Nextcloud android app registers a deeplink nc://login that is handled by the com.owncloud.android.authentication.ModifiedAuthenticatorActivity class as seen in AndroidManifest file.

The above mentioned class implements AuthenticatorActivity class in order to handle incoming deeplinks.

It is seen that the method parseLoginDataUrl does not handle exception correctly crashing the Nextcloud app.

malicious apps can thus crash the nextcloud client by sending following data in intent : nc://login.

ADB payload:

adb shell am start -a "android.intent.action.VIEW" -c "android.intent.category.DEFAULT" -n "com.nextcloud.client/com.owncloud.android.authentication.ModifiedAuthenticatorActivity" -d "nc://login"

Attaching video PoC

nextcloud_intent_crash.mp4 From the original on HackerOne

Impact

  1. Malicious apps can crash the nextcloud android client to cause a denial of service attack.

The original report as published on HackerOne, by bigbug. 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 the deeplink handler parses login data without catching exceptions, so malformed input terminates the app.

Impact

A malicious app installed on the same device could crash the Nextcloud client, causing a denial of service.

What the attacker needed

Malicious app installed on the device

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.

The Nextcloud app accepts a login deeplink but does not handle bad data in it, so it crashes. A malicious app on the phone can send that link and crash it.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by bigbug

View all

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

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.