In-depth lesson · WebView flaws
Year by year: 2021
What the disclosed WebView flaws reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2021
5 pointsKept working5
Hunters found that deep-link handlers passed URLs into WebViews without checking the host or scheme, so an external site could open inside the app with the session attached.
Enumerating exported activities in the manifest and starting each with an intent carrying an attacker URL revealed which ones passed it to an internal WebView.
Seen in 1 report
Using ADB to start an exported WebView activity with a URL extra pointing at a controlled site showed the app content being replaced with a phishing page.
Seen in 1 report
Comparing host validation across branches of a deep-link router exposed a branch, selected by a navigation-bar type parameter, that skipped the host check used elsewhere.
Seen in 1 report
Checking whether an in-app browser's address bar updated before navigation was fully validated, and whether Unicode-normalised domain names displayed differently from the host actually requested, surfaced display issues.
Seen in 1 report