Skip to content
DoS Disclosed report Intermediate

Prevent Shop Admin From Seeing his Installed Apps / Install Persistent Unremovable App

A Shopify app with a malformed redirect URI could be installed, after which the shop's installed apps page returned a server error, preventing the admin from viewing or removing any apps. The malicious app could only be removed by its developer.

prakharprasad Follow

Originally disclosed on HackerOne

  • Triaged in 24 days
  • Fixed in 3 months
  • Disclosed after 3 months

Hi,

This is an interesting vulnerability, when a Shopify app whose redirect_uri points to a malformed URI handler like shit:google.com gets installed to a Shop then, it will effectively prevent the admins to see and remove installed apps to his/her shop.

Reproduction

  1. Create a Shopify App at https://app.shopify.com/services/partners/api_clients/new
  2. Enter any for the App and set its Application Callback URL to shit:google.com
  3. Save the App.
  4. Create an OAuth URL for the App, Like - https://vulnstore.myshopify.com/admin/oauth/authorize?scope=read_customers&client_id=cad94488c733b0f377a9a1d7952db802
  5. Now try to install the app by clicking "Install <AppName>" in the OAuth permission dialogue. It won't redirect after clicking.
  6. Go and visit https://vulnstore.myshopify.com/admin/apps The page will throw internal server 500 and usual error message.

This will not let admin remove any of his app till the malicious app is deleted by the app developer.

POC App: https://[store].myshopify.com/admin/oauth/authorize?scope=read_customers&client_id=cad94488c733b0f377a9a1d7952db802

If you have any doubt in reproduction, you can watch the following short screencast as well - https://www.dropbox.com/s/1h8gjg07r5h9gkj/Shopify%20DoS.mov?dl=0

Regards, Prakhar Prasad

The original report as published on HackerOne, by prakharprasad. 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 installed apps page did not handle a malformed redirect URI stored for an installed app, causing an unhandled error when rendering the list.

What the attacker needed

A Shopify partner account; victim installs the crafted app

How it was found

  1. Create a Shopify app in the partner dashboard.
  2. Set the app's callback URL to a malformed URI scheme.
  3. Build an OAuth authorisation link for the app and open it.
  4. Click install in the permission dialogue; the redirect does not happen.
  5. Visit the shop's installed apps page, which returns a server error.

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.

When you install an app on a Shopify shop, the app is told where to send you afterwards using a callback address. If that address is written in a broken format, the shop's app management page crashes. The shop owner then cannot see or uninstall any apps, including the bad one, until the app's creator removes 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 prakharprasad

View all

17 more disclosed reports, best first.

More from Shopify

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.