Skip to content
Business logic Write-up Intermediate

The Basics

Chrome on Android allowed a server-controlled 302 redirect to an intent URL to launch an external app without user interaction, bypassing the requirement for user consent. An attacker could use this to transfer execution to another browser app, such as Samsung Browser, which could then be exploited with known Chrome vulnerabilities.

googleprojectzero.github.io

Published on googleprojectzero.github.io

class FakeRedirect(SimpleHTTPServer.SimpleHTTPRequestHandler): def doGET(self): self.sendresponse(302) newpath = '%s%s'%(' intent://google.com#Intent;scheme=https;package=com.mi.globalbrowser;S.browserfallbackurl=yahoo.com;end', self.path) self.sendheader('Location', newpath) self.endheaders()

Google Project Zero, on googleprojectzero.github.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

This could allow an attacker to transfer execution from Chrome to another browser app, which could then be exploited using known Chrome vulnerabilities, as part of an exploit chain.

What the attacker needed

Victim uses Chrome on Android; victim clicks a link; attacker controls a server

The fix

The vulnerability was fixed by showing a dialog whenever an intent tries to navigate to a different browser, and otherwise showing the fallback URL in Chrome.

How it was found

  1. User clicks a link.
  2. The server returns a 302 redirect to an intent URL.
  3. The intent URL opens a new URL in the external application specified by the server.

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 write-up has not been written yet. The Original tab links to the source.

Android apps can ask other apps to open links or perform actions using 'intents'. Chrome normally asks you before opening a link in another app, but a bug meant a website could redirect you to an intent link and Chrome would open the other app without asking. This let attackers send victims to an outdated browser that could then be hacked.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.