Skip to content
Access control Write-up Beginner

Auth Bypass in com.google.android.googlequicksearchbox

The Google Assistant app on Android allowed personal queries to be answered on a locked screen via normal Bluetooth headphones even when the user had disabled the 'On headphones' setting, because a separate default-enabled setting controlled this behaviour. An attacker with physical access to a phone and a paired Bluetooth headphone could ask personal questions without unlocking the device.

David Schütz Follow

Published on feed.bugs.xdavidhu.me

Bounty$1,337 View original

Disabling On headphones in the Google app’s Personalization settings page still allows normal Bluetooth headphones to make personal queries on the locked screen. Also, the toggle which controls this, Allow Bluetooth requests with device locked, is enabled by default on every Android device with a Google app, while…

David Schütz, on feed.bugs.xdavidhu.me

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 7 min read.

Context

This write-up is about the Google app on Android (com.google.android.googlequicksearchbox) and how its settings govern whether Google Assistant will answer personal queries while the phone is locked. The relevant feature is "personal results": answers that draw on the user's own data, such as calendar entries or contacts. Google's own position, quoted in the vendor response below, is that personal results on the lock screen are off by default and are only served when Assistant recognises the user's voice.

The report is generated from a comment the researcher left on b/167400928. The researcher is David Schütz, and the report was disclosed on 2022-02-06 with a reward of 1337.00 USD.

The settings involved are spread across two places in the app:

  • Google App -> More -> Settings -> Google Assistant -> Personalization, which holds Lock screen personal results, Personal suggestions on lock screen before you ask and On headphones.
  • Google App -> More -> Settings -> Voice, which holds Allow Bluetooth requests with device locked and Allow wired headset requests with device locked.

The Personalization page is presented as a central control page for all personal results settings. The researcher's point is that it is not central at all, and that a user who configures it carefully can still be exposed.

Setup

The report describes no accounts, tooling or versions. The preconditions it does describe are physical ones:

  1. A phone running Android with the Google app installed.
  2. A Bluetooth headphone or speaker that is already paired with that phone.
  3. The phone in a locked state, with the unlock credentials unknown to the person holding it.

The researcher tested on two different devices, reset the Google app on one of them, and later repeated the check on a newly acquired Pixel 5. The report does not give Android versions or Google app versions.

Finding it

The researcher started from the Personalization page and disabled everything lock screen related: Lock screen personal results, Personal suggestions on lock screen before you ask and On headphones. The natural reading of that page is that no personal results can now be obtained on the lock screen. That reading is wrong.

With those three toggles off, a normal Bluetooth headphone can still issue personal queries. The switch that actually governs this is Allow Bluetooth requests with device locked, which lives on the Voice page, not on Personalization. Turning off On headphones only affects wired headphones and some special Bluetooth headphones such as the Pixel Buds. Other ordinary Bluetooth headphones and speakers are unaffected by it and are controlled solely by the Voice page setting.

The second finding is about the default. After checking two devices and resetting the Google app on one, the researcher confirmed that Allow Bluetooth requests with device locked is enabled by default. The same was true on the Pixel 5 he had received the day before, where he had to turn it off manually. This is inconsistent with the other headphone types: for wired headphones and Pixel Buds the user has to opt in and approve personal results.

A third, smaller inconsistency sits on the Voice page itself. Allow wired headset requests with device locked is still present there even though it is now effectively useless. Sometimes toggling it redirects to the Personalization page, and sometimes it does not, in which case the switch can be flipped and simply adds to the confusion.

Exploitation

Step 1: Configure the lock screen settings as a cautious user would

On the phone, open Google App -> More -> Settings -> Google Assistant -> Personalization and turn off:

  • Lock screen personal results
  • Personal suggestions on lock screen before you ask
  • On headphones

At this point the user believes personal results on the lock screen are fully disabled.

Step 2: Leave the separate Bluetooth setting at its default

Allow Bluetooth requests with device locked is on the Voice page (Google App -> More -> Settings -> Voice) and is enabled by default. A user who only visits Personalization never sees it, so it stays on.

Step 3: With the phone locked, ask a personal query through the paired headphone

With physical access to the locked phone and the already paired Bluetooth headphone, which are usually stored together, the person holding them can ask personal queries through the headphone. The phone answers without the unlock credentials being known. The report does not include the exact query used in testing; the vendor response refers to "what restaurants have I visited" as an example of a query that should have been treated as verified.

Root cause

The design problem is that the personal results controls are split across two settings pages, and the page that looks authoritative does not cover every device type. On headphones on Personalization covers wired headphones and Pixel Buds, while ordinary Bluetooth headphones and speakers are governed by Allow Bluetooth requests with device locked on Voice. Disabling the visible toggle therefore gives a false sense of security.

The second part is the default. Allow Bluetooth requests with device locked ships enabled, whereas the other headphone paths require an explicit opt-in. The vendor's later statement that "by default, Assistant's settings do not allow personal results access to headphones" did not match what the researcher observed on multiple devices, including a fresh Pixel 5. The vendor subsequently explained that for some models Bluetooth headphones were not properly configured under Assistant's personal results settings and instead operated under a separate Bluetooth setting, which was not the intended behaviour. The vendor said Bluetooth headphones on some models operated under a separate Bluetooth setting, which was not the intended behaviour.

Impact

Because Allow Bluetooth requests with device locked is enabled by default, anyone with physical access to a phone and its already paired Bluetooth headphone can ask personal queries without knowing the unlock credentials, on most Android devices. A user who proactively disables On headphones on the Personalization page remains vulnerable, because that toggle does not control ordinary Bluetooth devices.

The vendor's response states that personal results on the Android lock screen are disabled by default and are only available when Assistant recognises the user's voice. and a subset of personal queries, including but not limited to payments, photos, the user's name and home address, always require the phone to be unlocked. The report does not quantify how many devices or models were affected.

Fix

According to the vendor, the source of the issue was a temporary misclassification of the query, and a fix for mobile devices was rolled out in October, with a fix for smart speakers rolled out more recently. Separately, the vendor said that for some models Bluetooth headphones were not properly configured under Assistant's personal results settings and operated under a separate Bluetooth setting instead, that this was not the intended behaviour, and that a fix would arrive in an upcoming Android Google app release.

The researcher asked whether the default-enabled Allow Bluetooth requests with device locked would be turned off for everyone so that users have to re-enable it, which he considered the best option from a privacy standpoint, or whether moving the setting into Personalization would also resolve it. The report does not record a direct answer to that question. In his final message the researcher states that, from his testing, all of the issues appear to be fixed.

From a design perspective, the report argues that On headphones should control every type of headphone and Bluetooth device, and that lock screen personal results is a sensitive setting that should be presented clearly enough for an average user to configure securely.

Variants to test

  1. Other assistant surfaces with their own toggles. Check whether a setting on a central page fails to cover a device class that is governed elsewhere. A positive result is a device class that still answers personal queries after the central page has been fully disabled.
  2. Default state of every personal results toggle. Reset the app and inspect each toggle before changing anything. A positive result is a privacy-sensitive toggle that is on by default while comparable paths require opt-in.
  3. Stale or contradictory toggles. Look for switches that no longer do anything, or that sometimes redirect and sometimes do not when toggled. A positive result is a control whose behaviour depends on how it is reached.
  4. Paired accessory paths. For each paired accessory type (wired, Bluetooth, branded earbuds, speakers, displays), test whether personal queries are answered while the device is locked. A positive result is any accessory that answers after the user has disabled the lock screen personal results settings.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

Imagine your phone is a house, and Google Assistant is a helpful person who lives inside it. Normally, when the house is locked, that person should not tell anyone about your private things: your calendar, your contacts, the restaurants you have visited. Google says this is how it works: private answers on a locked phone are off by default, and only come out when Assistant recognises your own voice.

This report is about a gap in that promise. The Google app on Android (its package name is com.google.android.googlequicksearchbox) has several settings pages that control whether Assistant will give "personal results" while the phone is locked. Personal results are answers built from your own data, such as calendar entries or contacts. The researcher, David Schütz, found that the settings are split across two different pages, and that the page which looks like the master control does not actually cover ordinary Bluetooth headphones. On top of that, the setting that does cover them is switched on by default.

The practical result: if someone has your locked phone and the Bluetooth headphones that are already paired with it (people usually keep the two together), they can ask Assistant personal questions through the headphones and get answers, without knowing your PIN, password or pattern. Even a careful user who turns off every lock screen option on the page that looks authoritative stays exposed.

The report was disclosed on 2022-02-06 and the reward was 1337.00 USD. It was generated from a comment the researcher left on b/167400928.

The two settings pages

To follow the report you only need to understand that the Google app has a menu tree, like folders inside folders. Two branches matter here.

  1. Google App -> More -> Settings -> Google Assistant -> Personalization. This page holds three switches: Lock screen personal results, Personal suggestions on lock screen before you ask and On headphones. It is presented as a central control page for all personal results settings.
  2. Google App -> More -> Settings -> Voice. This page holds Allow Bluetooth requests with device locked and Allow wired headset requests with device locked.

The researcher's point is that the first page is not central at all. A user who configures it carefully can still be exposed, because the switch that matters for ordinary Bluetooth headphones lives on the second page.

What you need before you can reproduce it

The report describes no accounts, tools or software versions. The preconditions it does describe are physical:

  1. A phone running Android with the Google app installed.
  2. A Bluetooth headphone or speaker that is already paired with that phone. "Paired" means the two devices have been introduced to each other once and now connect automatically, like two people who have exchanged numbers.
  3. The phone in a locked state, with the unlock credentials unknown to the person holding it.

The researcher tested on two different devices, reset the Google app on one of them, and later repeated the check on a newly acquired Pixel 5. The report does not give Android versions or Google app versions.

Finding it

The researcher started on the Personalization page and turned off everything lock screen related: Lock screen personal results, Personal suggestions on lock screen before you ask and On headphones. The natural reading of that page is that no personal results can now be obtained on the lock screen. That reading is wrong.

With those three switches off, a normal Bluetooth headphone can still issue personal queries. The switch that actually governs this is Allow Bluetooth requests with device locked, which lives on the Voice page, not on Personalization. Turning off On headphones only affects wired headphones and some special Bluetooth headphones such as the Pixel Buds. Other ordinary Bluetooth headphones and speakers are unaffected by it and are controlled solely by the Voice page setting.

The second finding is about the default. After checking two devices and resetting the Google app on one, the researcher confirmed that Allow Bluetooth requests with device locked is enabled by default. The same was true on the Pixel 5 he had received the day before, where he had to turn it off manually. This is inconsistent with the other headphone types: for wired headphones and Pixel Buds the user has to opt in and approve personal results.

A third, smaller inconsistency sits on the Voice page itself. Allow wired headset requests with device locked is still present there even though it is now effectively useless. Sometimes toggling it redirects to the Personalization page, and sometimes it does not, in which case the switch can be flipped and simply adds to the confusion.

Walking through the attack

Step 1: Configure the lock screen settings as a cautious user would

On the phone, open Google App -> More -> Settings -> Google Assistant -> Personalization and turn off:

  • Lock screen personal results
  • Personal suggestions on lock screen before you ask
  • On headphones

Why this step: this is what a privacy-conscious owner would do. The page is advertised as the central place for personal results, so turning everything off there feels like closing the door. At this point the user believes personal results on the lock screen are fully disabled.

Step 2: Leave the separate Bluetooth setting at its default

Allow Bluetooth requests with device locked is on the Voice page (Google App -> More -> Settings -> Voice) and is enabled by default. A user who only visits Personalization never sees it, so it stays on.

Why this step matters: a default is a choice made for you before you ever look. If a privacy-sensitive switch starts in the "on" position and is hidden on another page, most people will never touch it. The researcher checked this default on several devices, including a freshly reset app and a new Pixel 5, and it was on every time.

Step 3: With the phone locked, ask a personal query through the paired headphone

With physical access to the locked phone and the already paired Bluetooth headphone, which are usually stored together, the person holding them can ask personal queries through the headphone. The phone answers without the unlock credentials being known.

Why this works: the Voice page switch that governs ordinary Bluetooth headphones is on by default, and the Personalization switches the owner turned off do not apply to that path. The Personalization switches the owner turned off do not apply to that path. The report does not include the exact query used in testing; the vendor response refers to "what restaurants have I visited" as an example of a query that should have been treated as verified.

Why it happens

The design problem is that the personal results controls are split across two settings pages, and the page that looks authoritative does not cover every device type. On headphones on Personalization covers wired headphones and Pixel Buds, while ordinary Bluetooth headphones and speakers are governed by Allow Bluetooth requests with device locked on Voice. Disabling the visible switch therefore gives a false sense of security.

The second part is the default. Allow Bluetooth requests with device locked ships enabled, whereas the other headphone paths require an explicit opt-in. The vendor's later statement that "by default, Assistant's settings do not allow personal results access to headphones" did not match what the researcher observed on multiple devices, including a fresh Pixel 5. The vendor subsequently explained that for some models Bluetooth headphones were not properly configured under Assistant's personal results settings and instead operated under a separate Bluetooth setting, which was not the intended behaviour. The vendor said Bluetooth headphones on some models operated under a separate Bluetooth setting, which was not the intended behaviour.

What the impact is

Because Allow Bluetooth requests with device locked is enabled by default, anyone with physical access to a phone and its already paired Bluetooth headphone can ask personal queries without knowing the unlock credentials, on most Android devices. A user who proactively disables On headphones on the Personalization page remains vulnerable, because that switch does not control ordinary Bluetooth devices.

The vendor's response states that personal results on the Android lock screen are disabled by default and are only available when Assistant recognises the user's voice. and a subset of personal queries, including but not limited to payments, photos, the user's name and home address, always require the phone to be unlocked. The report does not quantify how many devices or models were affected.

How it was fixed

According to the vendor, the source of the issue was a temporary misclassification of the query, and a fix for mobile devices was rolled out in October, with a fix for smart speakers rolled out more recently. Separately, the vendor said that for some models Bluetooth headphones were not properly configured under Assistant's personal results settings and operated under a separate Bluetooth setting instead, that this was not the intended behaviour, and that a fix would arrive in an upcoming Android Google app release.

The researcher asked whether the default-enabled Allow Bluetooth requests with device locked would be turned off for everyone so that users have to re-enable it, which he considered the best option from a privacy standpoint, or whether moving the setting into Personalization would also resolve it. The report does not record a direct answer to that question. In his final message the researcher states that, from his testing, all of the issues appear to be fixed.

From a design perspective, the report argues that On headphones should control every type of headphone and Bluetooth device, and that lock screen personal results is a sensitive setting that should be presented clearly enough for an average user to configure securely.

Similar things worth checking

  1. Other assistant surfaces with their own switches. Check whether a setting on a central page fails to cover a device class that is governed elsewhere. A positive result is a device class that still answers personal queries after the central page has been fully disabled.
  2. Default state of every personal results switch. Reset the app and inspect each switch before changing anything. A positive result is a privacy-sensitive switch that is on by default while comparable paths require opt-in.
  3. Stale or contradictory switches. Look for switches that no longer do anything, or that sometimes redirect and sometimes do not when toggled. A positive result is a control whose behaviour depends on how it is reached.
  4. Paired accessory paths. For each paired accessory type (wired, Bluetooth, branded earbuds, speakers, displays), test whether personal queries are answered while the device is locked. A positive result is any accessory that answers after the user has disabled the lock screen personal results settings.

Glossary

  • Android: the operating system made by Google that runs on many phones; it is the environment where the Google app and its settings live.
  • Google app: the main Google application on Android, identified by the package name com.google.android.googlequicksearchbox; it contains Assistant and its settings.
  • Google Assistant: the voice helper inside the Google app that answers spoken questions.
  • Personal results: answers that use your own data, such as calendar entries or contacts, rather than general public information.
  • Lock screen: the screen you see before you unlock the phone, which normally protects your data from anyone holding the device.
  • Unlock credentials: the PIN, password, pattern or biometric check that proves the phone belongs to you.
  • Bluetooth: a short-range wireless connection used by headphones and speakers to talk to a phone.
  • Paired device: a Bluetooth device that has already been connected to the phone once and is remembered, so it reconnects without asking again.
  • Toggle / switch: an on-screen control with an on and off position.
  • Default: the position a setting is in before the user changes anything.
  • Opt-in: a choice the user has to make deliberately to turn something on, rather than it being on already.
  • False sense of security: the feeling that you are protected because you changed a setting, when in fact another setting still leaves you exposed.
  • Misclassification: when a system puts a request into the wrong category, so the wrong rules are applied to it.
  • Verified query: a request that the system treats as needing proof of identity, such as voice recognition or an unlocked phone, before it will answer with personal data.
  • Voice Match: Google's feature that recognises a particular person's voice so Assistant can tell who is speaking.
  • Pixel Buds: Google's own brand of wireless earbuds, which the report treats separately from ordinary Bluetooth headphones.
  • Smart speaker / smart display: a standalone Google Assistant device, such as a speaker or a screen, often shared by several people in a home.
  • Vendor: the company that makes the product and receives the bug report; here, Google.
  • Bug bounty / VRP: a programme where a company pays researchers for reporting security or privacy problems; VRP stands for Vulnerability Reward Program.
  • Disclosure: making a bug report public, usually after the vendor has had time to fix it.
  • Physical access: being able to hold and touch the device, as opposed to attacking it over the internet.

More by David Schütz

View all

13 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.