A set of URI schemes bugs that lead Safari to crash/freeze.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
file-2-attack.html
file-attack.html
mailto-2-iframe-attack.html
mailto-iframe-attack.html
sms-attack.html

README.md

iOS-URI-Schemes-Abuse-PoC

A set of URI schemes bugs that lead Safari to crash/freeze. This shows URI schemes have weakness and can be used for nasty things. Apple is aware of the issue.

I decided to start looking at URI schemes after the crashsafari.com massacre. I wanted to find other ways to break Safari so here it is:

file-attack.html (file://)

This bug will crash the user current tab without any specific requirement.

Fixed in Safari Technology Preview 5

Exploit

file-2-attack.html (file://)

This bug will crash the browser on iOS and crash the current tab on OS X. The user must type the URI in the address bar and press enter.

Fixed in Safari Technology Preview 5

Exploit

mailto-iframe-attack.html (mailto://)

This bug will freeze Safari and Safari/Firefox + Mail.app on OS X by sending a bunch of datas to mailto: URI scheme. Only work if the user have at least one mailbox setup.

Fixed in iOS 10.1 / macOS Sierra (CVE-2016-7580 / CVE-2016-7581)

Exploit

sms-attack.html (sms://)

This bug will freeze the SMS app by sending a lot of datas to sms: URI scheme. Require that the user either accept the popup or click on the link.

Fixed in iOS 10.1 / macOS Sierra

Exploit