Skip to content
Access control Write-up Beginner

Content Provider Exploitation: From Simple Misconfiguration to Ap

An exported Android Content Provider lacked authentication or permission checks, allowing any external app or ADB command to read and write data. An attacker could inject unlimited data into the app's internal storage, causing severe performance degradation and eventually preventing the app from launching.

Dg0x6 Follow

Published on medium.com

Hello everyone, I’m Dg0x6, a cybersecurity researcher and a vulnerability hunter on the HackerOne platform. Today, I’m sharing an interesting vulnerability I discovered in a mobile application that allows an attacker to completely disrupt its functionality by exploiting an unprotected Content Provider.

Dg0x6, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Impact

An attacker could inject unlimited data into the app's internal storage, causing severe performance degradation, high resource consumption, and eventually preventing the app from launching at all.

What the attacker needed

Android device with target app installed; Ability to run ADB commands or install a malicious app

How it was found

  1. Use Drozer to list exported Content Providers in the target app.
  2. Query the provider to confirm unauthenticated read access.
  3. Insert arbitrary data into the provider to confirm write access.
  4. Run a PoC that continuously injects large volumes of data into the provider.
  5. Observe the app's internal database growing exponentially and the app becoming unusable.

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 write-up has not been written yet. The Original tab links to the source.

A Content Provider is a component in Android apps that stores and shares data between apps. If it is exported without protection, any other app on the phone can read or write to it. Here, the researcher could flood the app's database with junk data until the app became unusable.

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 Dg0x6

View all

1 more disclosed report, best first.

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.