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.
Published on evowizz.dev
How I discovered the vulnerability in Huawei's AppGallery, the consequences and what happened
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
- Find an API that takes a package name and returns app details.
- Query the API with a free app's package name and notice a download URL field.
- Query the API with a paid app's package name and see a similar download URL.
- 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.