Skip to content

Reading list

Learn Mobile from real reports

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

12 reports, easiest first.

  1. Instagram vulnerability : Turn off all type of message requests using deeplink (Android)

    Meta Beginner

    The Instagram Android app exposed a deeplink that silently turned off all message requests, so a malicious app could disable a user's ability to receive messages without permission.

    A deeplink is a special link that opens a specific screen or action in an app. Here, the Instagram app had a hidden link that changed a privacy setting without asking the user. Any other app on the phone could trigger that link, so a bad app could quietly stop the user from getting messages.

    The lesson. Likely the deeplink handler performed a sensitive setting change without requiring user confirmation or a permission check.

  2. GHSL-2023-142: Arbitrary URL loading in a WebView in Home Assistant Android Companion - CVE-2023-41898

    GitHub Security Lab Intermediate

    The Home Assistant Android app has an exported activity that loads an arbitrary URL into a JavaScript-enabled WebView. A malicious app on the same device could send an Intent to this activity, leading to JavaScript execution, limited native code execution, and theft of the user's authentication token.

    An exported activity in an Android app can be started by any other app on the phone. Here, that activity loaded whatever web address it was given into a browser view that runs JavaScript. A malicious app could use this to run its own code and steal the user's login token for Home Assistant.

    The lesson. Likely the exported activity accepted an arbitrary URL from an Intent and loaded it into a WebView without validation, and a second WebView activity also allowed JavaScript injection via the path parameter.

  3. Firefox for Android: LAN-Based Intent Triggering

    Mozilla Intermediate

    A malicious SSDP server on the local network could respond to Firefox for Android's discovery requests with an Android Intent URI in the LOCATION header, causing the browser to launch arbitrary activities without user interaction. An attacker could force the victim's device to open a web page, dial a number, or compose an email.

    When Firefox for Android looks for devices like Roku on your Wi-Fi, it sends out a broadcast message. A malicious device on the same network can reply with a special link that tells Android to open an app or perform an action, like dialing a number. Because Firefox trusted this reply, it would automatically trigger that action without asking you.

    The lesson. The SSDP discovery handler in Firefox for Android passed the LOCATION header value directly to Android's Intent system without validating that it was a safe HTTP URL.

  4. Hijacking Your VPN with one Deep Link

    Intermediate

    An exported deep-link callback in a mobile VPN client accepted an unvalidated fqdn parameter, allowing any app on the device to redirect the client's registration API calls to an attacker-controlled server. During the login window, this leaked the user's phone number, MAC address, device GUID, and other device details.

    A deep link is a special web address that opens a specific app. The VPN app had a deep link that let any other app on the phone tell it which server to talk to, without checking if that server was legitimate. So a malicious app could trick the VPN into sending the user's private information to the attacker's server.

  5. Making the Facebook app more secure - $8500 bounty

    Meta Intermediate $8,500

    The Facebook for Android app exposed deeplink endpoints that accepted a URL parameter without proper validation, allowing an attacker to load arbitrary URLs in a WebView. This enabled open redirect, JavaScript execution, and local file disclosure within the app.

    A deeplink is a special link that opens a specific screen inside a mobile app. The researcher found that some deeplinks passed a web address directly into an embedded browser (WebView) without checking it, so a malicious link could make the app show attacker-controlled content or run JavaScript.

    The lesson. Likely the WebView component did not validate or restrict the URL parameter in deeplinks, allowing arbitrary schemes such as javascript: and file: to be loaded.

  6. One Tap Too Far: Using Shortcuts to Bypass Chrome for iOS Call Prompts

    Intermediate

    Chrome for iOS did not show its usual app-launch confirmation when opening Shortcuts URLs, and Shortcuts supports callback parameters that can open a second URL such as tel:. A webpage could therefore make a single click open a phone call or FaceTime request without Chrome's user-interaction check on the final URL.

    When a web page tries to open another app on your phone, Chrome usually asks you to confirm first. The Shortcuts app was treated as trusted, so Chrome skipped that question. Shortcuts can also be told to open a second link afterwards, and that second link could be a phone call, so the confirmation was bypassed.

    The lesson. Chrome applied its app-launch and tel: user-interaction checks only to the first URL in the chain, while Shortcuts' x-callback-url parameters let the page supply a second URL that caused the sensitive action.

  7. The Interceptor That Fetched Anything: 1-Click Native Takeover in a Capacitor App

    Intermediate

    A Capacitor app's deep-link handler allowed verified links to navigate the WebView to an internal HTTP interceptor endpoint, which fetched an attacker-supplied URL and served it at the trusted localhost origin. This let an attacker run JavaScript with the full native bridge, enabling token theft, file access, clipboard reads, and authenticated requests.

    A hybrid app runs web code inside a native shell, and that web code can call native features like the camera or files. The app trusted its own local web address, but a special internal link let outside web pages load there. An attacker could send a link that made the app load their page as if it were the app's own, giving them access to the phone's features.

  8. One .contains() Away From a Full JavaScript Bridge Takeover

    Intermediate

    An exported Android activity loaded URLs into a WebView with a JavaScript bridge after checking only that the host contained a trusted substring. An attacker could host a page on a domain like trusted.app.attacker.com to run JavaScript in the WebView and call bridge methods to steal GPS coordinates, disable caller ID, wipe offline data, and repoint the app to a staging backend.

    A WebView is a component that lets an Android app show web pages inside itself. A JavaScript bridge lets those web pages call native app functions, which is powerful and dangerous if the page is not trusted. The app tried to allow only its own domain but used a check that just looks for a piece of text anywhere in the address, so an attacker could use a domain that contains that text and still be loaded.

    The lesson. The host validation used a substring check (`contains`) instead of an exact match or proper suffix check, allowing any host containing the trusted string to pass.

  9. Zero user-interaction triggering of intents over LAN

    Mozilla Intermediate

    Firefox for Android's SSDP discovery accepted a LOCATION value that was an Android intent URI, so a device on the same wireless LAN could make the phone launch other apps or open a browser without any user action. An attacker could use this for phishing, pushing malicious add-ons, or triggering intents in other apps.

    Firefox on Android quietly asks the local network whether any media devices are nearby, using a discovery protocol called SSDP. A malicious device on the same Wi-Fi can answer with a special Android 'intent' link instead of a normal device description, and Firefox opens that link itself. The phone then launches another app or a web page without the owner doing anything.

    The lesson. Likely the SSDP response handler did not validate that the LOCATION value was an HTTP or HTTPS URL pointing to XML, so it passed an intent URI to Android's intent resolution.

  10. How I Leak Other’s Access Token by Exploiting Evil Deeplink Flaw

    Intermediate

    An exported deep link activity in an Android app passed a URL parameter to a WebView without proper validation, allowing an attacker to load arbitrary URLs. When the victim opened a crafted deep link, their authentication token was sent to the attacker's server.

    A deep link is a special link that opens a specific screen inside a mobile app. The app had a screen that could load any web address given in the link, and it also attached the user's login token to that request. So an attacker could make a link that sends the user's token to the attacker's own website.

    The lesson. Likely the app failed to validate the URL parameter before loading it in a WebView, and it automatically attached the user's authentication token to requests made from that WebView.

  11. Vulnerability Details

    Google Intermediate

    The NFC Service system app on Android 8 and later was automatically allowed to install applications, so beaming an APK over Android Beam skipped the 'Install unknown apps' prompt. An attacker with a malicious phone or NFC terminal could get a victim to install malware after the victim tapped the completed transfer.

    Android normally asks you to allow each app before it can install other apps. The NFC Service, which handles short-range transfers like Android Beam, was already allowed to install apps without asking. So if someone beamed a malicious app to your phone, tapping the transfer notification could install it without the usual warning.

    The lesson. Likely the NFC Service, as a Google-signed system app, was automatically whitelisted for the 'Install unknown apps' permission, so it could install beamed APKs without the per-app user prompt.

  12. Hijacking iOS Deep Links in a Health App Using Custom URL Schemes

    Intermediate

    The iOS health app used custom URL schemes for deep linking without Universal Links, allowing any app on the same device to register the same scheme and intercept links. An attacker could capture sensitive parameters or force-navigate users to sensitive screens.

    Custom URL schemes are like unclaimed nicknames that any app can adopt. If a health app uses one without a verified alternative, a malicious app can claim the same nickname and receive links meant for the health app, potentially stealing data or tricking the user.

    The lesson. The app relied solely on custom URL schemes for deep linking without Universal Links or validation of incoming URLs.