Skip to content
Mobile Disclosed report Intermediate CVE-2021-36215

Webview address bar spoofing in LINE client for iOS

The in-app browser in LINE for iOS updated its address bar before a navigation was fully validated, and mishandled Unicode normalisation in domain names. An attacker could make the address bar show a legitimate-looking hostname while the page actually loaded was a phishing site.

reinforchu Follow

Originally disclosed on HackerOne

  • Fixed in 5 months
  • Disclosed after 8 months

Summary by the program

When navigation to an invalid hostname occurs, the address bar is updated even though the navigation is cancelled. Due to this incorrect timing of updating the address bar and applying URL normalization, it can be recognized as a different hostname from the actual hostname. As a result, attacker may deceive the user to be browsing a legitimate site when the in-app browser is actually on a phishing site.

Summary by the researcher

In the internal browser of the LINE iOS application, there was a flaw in the implementation of displaying the address bar of HTTP redirect processing. It was improperly normalized by inserting malicious Unicode character into the domain name. As a result, the domain name and the content of the displayed web page did not match, and Address Bar Spoofing was possible.

The original report as published on HackerOne, by reinforchu. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 the address bar was refreshed before the navigation result was confirmed, and the displayed hostname was normalised differently from the hostname actually used for the request.

Impact

An attacker could deceive a user into believing they were on a legitimate site while the in-app browser was actually showing a phishing page; the text does not say whether any platform defence limited this.

What the attacker needed

Victim uses LINE in-app browser on iOS; victim opens an attacker-crafted link

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.

When you open a link inside an app, a small bar at the top shows which website you are on. This app updated that bar too early and got confused by unusual characters in the domain name, so the bar could show one site while the page came from another. That lets a criminal trick you into typing passwords on a fake page that looks trustworthy.

What is Mobile?

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

More from LY Corporation

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

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