Skip to content
DoS Disclosed report Beginner

Persistent Denial of Service via External URI Schemes

Firefox for iOS does not show a confirmation dialog for certain URI schemes like photos-redirect:, music:, videos:, shareddocuments:, ftp:, and feed:. An attacker can use a redirection loop to repeatedly open an external app, making Firefox and possibly the entire iOS system unusable.

Ahmed Elsobky Follow

Originally disclosed on Mozilla

  • Fixed in 2 months
  • Paid in 2 months
  • Disclosed after 2 months
Text
Created attachment 9117183
qrcode.png

While Firefox for iOS shows a confirmation dialog for some URI schemes (e.g., sms: and mailto:), it fails to do so with iOS-specific URI schemes such as photos-redirect:, music:, videos:, shareddocuments:, as well as other standard URI schemes (e.g., ftp: and feed:).

A malicious attacker could abuse these URI schemes to make Firefox (and probably the entire iOS system) completely unusable through a simple redirection loop. The following is a proof of concept:
\=\=\=
Shortened PoC URL: http://bit.ly/iosdos

Full PoC URL: https://chpoc.herokuapp.com/index.php?url=data:text/html,<script>setInterval(%27location="ftp://example.com"%27)</script>
\=\=\=

Visiting the link above will cause Firefox to repeatedly open an external app (Safari) without giving the user a chance to close the current tab (which also persists after an app/system restart). Here is also a screen recording of what happens exactly: https://youtu.be/Fm2fFPQ6Otw.

For a quick repro, simply scan the attached QR code :-)

The original report as published on Mozilla's Bugzilla, by 0xsobky. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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, Firefox for iOS fails to prompt for confirmation on certain URI schemes, allowing automatic redirection to external apps.

Impact

The attack could make Firefox and possibly the entire iOS system completely unusable, and the issue persists after an app or system restart.

What the attacker needed

Victim visits a malicious link; Firefox for iOS

How it was found

  1. Visit the provided PoC URL or scan the QR code.
  2. Firefox repeatedly opens an external app (Safari) without allowing the user to close the tab.

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.

Some links can tell your phone to open another app. Firefox usually asks you first, but for certain special links it doesn't. A bad website can use this to keep opening another app over and over, so you can't use your phone normally.

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 Ahmed Elsobky

View all

1 more disclosed report, best first.

More from Mozilla

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.