Skip to content
Business logic Write-up Beginner

Vulnerability in Huawei's AppGallery can download paid apps for free

An API endpoint returned download links for paid apps without any purchase verification. An attacker could use these links to download paid apps for free.

Dylan Roussel Follow

Published on evowizz.dev

How I discovered the vulnerability in Huawei's AppGallery, the consequences and what happened

Dylan Roussel, on evowizz.dev

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

Root cause

Likely the API did not check whether the user had purchased the app before returning a download link.

Impact

Attackers could download paid apps for free, potentially causing revenue loss for developers and Huawei, and enabling piracy.

What the attacker needed

Knowledge of app package name; no purchase required

How it was found

  1. Find an API that takes a package name and returns app details.
  2. Query the API with a free app's package name and notice a download URL field.
  3. Query the API with a paid app's package name and see a similar download URL.
  4. Use the URL to download the paid app and verify it works.

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.

An app store API gave out direct download links for paid apps even if you hadn't bought them. This meant anyone could get paid apps without paying, which hurts developers and the store.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Huawei

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.