Test custom URL schemes for callback injection

AuthenticationDiscovery

Written with a model's help from “One Tap Too Far: Using Shortcuts to Bypass Chrome for iOS Call Prompts” on Doyensec blog. Read the writeup before relying on it.

When testing custom URL schemes, try injecting callbacks to bypass user-interaction checks. For example, use x-callback-url parameters like x-success, x-cancel, or x-error to specify a URL to open after a shortcut runs. This can lead to unexpected behavior, such as opening a tel: URL without user confirmation. To test, try constructing a URL like shortcuts://run-shortcut?name=nonexistent&x-error=tel%3A%2F%2FPHONE_NUMBER and observe the browser's behavior. If the browser allows the callback URL to open without prompting the user, it may indicate a vulnerability.

Follow #chrome, #ios or #shortcuts for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.