Skip to content
Access control Write-up Intermediate

Auth Bypass in https://nearbydevices-pa.googleapis.com

The API nearbydevices-pa.googleapis.com lacked access control, allowing any authenticated user to perform CRUD operations on any Fast Pair device by changing the project number. An attacker could steal the Anti-Spoofing Private Key and potentially spoof device identity or perform MITM attacks on Bluetooth connections.

David Schütz Follow

Published on feed.bugs.xdavidhu.me

Bounty$5,000 View original

I think this is pretty bad. Using this issue, a malicious attacker could have full CRUD (Create, Read Update, Delete) access to all Google Fast Pair devices.

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. 9 min read.

Context

Google Fast Pair is the pairing mechanism used by Android and nearby Google devices to connect Bluetooth accessories quickly. The Fast Pair specification describes, among other things, an Anti-Spoofing Private Key that a device uses to prove its identity during pairing, so that a nearby phone can tell a genuine device from an impersonator.

The researcher looked at the backend that powers the Fast Pair developer dashboard at https://developers.google.com/nearby/devices/, where manufacturers register their devices, upload images, manage firmware revisions and view analytics. That dashboard talks to an API at nearbydevices-pa.googleapis.com. The report's central claim is that this API does not seem to perform any kind of access control, so a normal authenticated user can read, modify and delete resources belonging to other users, including the Anti-Spoofing Private Key of any Fast Pair device.

Setup

The proof of concept needs two Google accounts and a proxy:

  1. Two users, called Attacker and Victim in the report.
  2. Both users visit https://developers.google.com/nearby/devices/, log in, and create one GCP project when prompted.
  3. Both users open https://console.cloud.google.com/ in new tabs and note the Project number of their new project.
  4. Burp Suite is used as the intercepting proxy for the attacker's traffic.

No special role or permission is needed beyond a normal authenticated account with a project.

Finding it

The researcher describes the core issue plainly: the API nearbydevices-pa.googleapis.com does not seem to perform any kind of access control. A normal authenticated user can access, modify or delete any resource, including resources the user does not own. The report shows that rewriting the attacker's project number to the victim's project number in request bodies makes the API act on the victim's resources.

Exploitation

Step 1: Create the two accounts and projects

Create the Attacker and Victim users. With both, visit https://developers.google.com/nearby/devices/, log in, and create one GCP project when prompted. Then, in new tabs, go to https://console.cloud.google.com/ and note both new projects' Project numbers.

Step 2: Create a device as the victim

As Victim, go to Add Device and create a new device. Choosing Fast Pair then Headphones gives the least required fields. The report notes that a 512x512 image must be uploaded.

Step 3: Configure Burp to rewrite the project number

As Attacker, start proxying traffic with Burp. In Burp, go to Proxy -> Options -> Match and Replace and click Add. Set the type to Request body, set Match to the attacker's Project number, set Replace to the victim's Project number from step 1, and click OK.

With this rule in place, request bodies containing the attacker's project number are rewritten to the victim's project number before they reach the API.

Step 4: Browse the victim's resources

As Attacker, click the Devices button. The dashboard lists the victim's devices. Click the device created in step 2 and the attacker can access its secret Anti-Spoofing Private Key, add a new firmware revision, edit the device, view analytics, delete the device, and more. In the researcher's words, the attacker now has full access to all of the victim's resources just by changing the project number.

A real-world attack against Pixel Buds

The proof of concept above requires knowing the target's project number. The report then describes a theoretical real-world MITM attack against all second generation Google Pixel Buds devices that removes that requirement:

  1. The attacker wants to MITM Bluetooth connections between Pixel Buds devices and victims, which requires the Pixel Buds's Anti-Spoofing Private Key. That key is, hopefully, stored in the secure enclave of every manufactured Pixel Buds device, so it is hidden from the attacker.
  2. The attacker buys a Pixel Buds and proxies her phone's traffic while pairing the device.
  3. From the proxy logs, the attacker finds the gRPC request her phone made to nearbydevices-pa.googleapis.com/location.nearby.v1.NearbyDevicesService/GetObservedDevice, and extracts the Pixel Buds's Model ID and Project Number from the response protobuf.
  4. The attacker now has all the information needed to access the Pixel Buds's Anti-Spoofing Private Key.
  5. The attacker sends this request, which returns the Anti-Spoofing Private Key:
HTTP
GET /v1/projects/[pixel's_project_number]/devices/[prixel's_model_id_in_decimal]?key=[redacted] HTTP/1.1
Host: nearbydevices-pa.googleapis.com
Authorization: Bearer [attacker's_nearby_dashboard_access_token]

The path carries the device's project number and model ID, the key query parameter carries a key, and the Authorization header carries the attacker's dashboard access token. The report says this request returns the Anti-Spoofing Private Key.

  1. The attacker can now MITM any new Fast Pair Bluetooth connection between any second generation Pixel Buds and any victim.

The researcher performed this attack up to step 4 to confirm that the gRPC response leaks the Project Number. By doing so, she found that the second generation Pixel Buds has a Model ID of 9616317 (0x92BBBD in hex) and a Project Number of 88849360756.

Less subtle abuse is also possible. An attacker who wants to be purely destructive could delete the Pixel Buds device, so Fast Pair Seekers no longer recognise it, or change the Pixel Buds's name or image to something inappropriate, or do anything else the API allows.

Because of this, the report warns that if previous malicious access to this API cannot be confidently refuted, all already-generated Anti-Spoofing Private Keys on the Fast Pair platform should be considered compromised.

Decoding the protobuf

The researcher wanted to confirm that the GetObservedDevice gRPC method returns the device's Project Number, so she tried to decode the binary protobuf. She spent basically a day trying without success. Every tool she tried (protoc, blackboxprotobuf, and others) failed to decode the response. She found out how gRPC prefixed the proto payload, but even after removing the prefix every tool failed, and programmatically cutting bytes from the beginning or end did not help either.

She was forced to use the protobuf response because the same REST endpoint, /v1/device/[device-id], for some reason only returned the ID given to it, without doing anything. After quite a few hours she added $outputDefaults=1 to the REST endpoint, and it returned every field, but all of them were empty. She knew that changing the Content-Type to application/json+protobuf makes the response include the field IDs of the protobuf, so she used that together with $outputDefaults=1 to correlate the id and projectNumber to protobuf field IDs 1 and 2, because the ordering of the fields looked the same in both cases. After checking where the strings were in the binary protobuf, she concluded that the order matched the REST responses exactly, so only the first two fields needed decoding.

With all tools failing, she hand-decoded the protobuf:

Text
0a -> 00001010 -> 00001 010 -> length-delimited:2 ID:1
lenght:
ca 07 -> 11001010 00000111
      -> 10010100000111
      -> len = 9479 ?! (I just noticed that this is incorrect. I din't swap the bytes)

08 -> 1000 -> varint:0 ID:1 ("id")
bd f7 ca 04 -> 10111101 11110111 11001010 00000100
            ->  0111101  1110111  1001010  0000100
            -> 0000100 1001010 1110111 0111101
            -> 0000100100101011101110111101
            -> device ID: 9616317 0x92BBBD (pixel buds) omg, this is correct!!

10 -> 10000 -> varint:0 ID:2 ("projectNumber" !!)
f4 ce d6 fe ca 02 -> 11110100 11001110 11010110 11111110 11001010 00000010
                  ->  1110100  1001110  1010110  1111110  1001010  0000010
                  -> 0000010 1001010 1111110 1010110 1001110 1110100
                  -> 000001010010101111110101011010011101110100
                  -> project ID: 88849360756

The first byte 0a is a length-delimited field with ID 1. The 08 field is a varint with ID 1, which decodes to the device ID 9616317. The 10 field is a varint with ID 2, which decodes to the project number 88849360756.

Root cause

The API does not seem to perform any kind of access control, so a normal authenticated user can access resources the user does not own. The dashboard's own requests carry the project number, and the server acts on whatever number arrives. Because the project number is not bound to the authenticated principal on the server side, rewriting it in transit is enough to operate on another tenant's resources. The report does not describe the server-side code, so the exact mechanism is likely a missing authorisation check rather than a flaw in the token itself.

Impact

An attacker with a normal authenticated account and knowledge of a target's project number gets full CRUD access to that target's Fast Pair devices: reading the Anti-Spoofing Private Key, adding firmware revisions, editing the device, viewing analytics and deleting the device. Stealing the key allows spoofing the device's identity and performing MITM attacks against any new Fast Pair Bluetooth connection established with that device. The report hedges the real-world attack as theoretical beyond step 4, which was the point actually confirmed. The destructive variants (deleting a device so Fast Pair Seekers no longer recognise it, or changing its name or image) need no key at all.

Google's response adds context on the limits: the keys are updatable through firmware updates, though some devices do not get firmware updates, and those that do probably store the key in the clear anyway. The keys live on devices customers buy, so in most cases they can be obtained by dumping the firmware. They may allow impersonation of an original device but otherwise should not have significant security consequences. Fast Pair does not allow most Bluetooth profiles, so besides being a music sink and a few other things it should not be too serious for users, and all devices require user confirmation. The researcher's conclusion is that users should not rely on any security protection this secret key provides, especially MITM protection, and should consider their Bluetooth traffic sniffable by a malicious party.

Fix

Google said the fix had two steps, the first almost done at the end of April 2021 and the second taking longer, with the last changes probably not landing until 16 June 2021. By 7 May 2021 Google said several changes had been made so the issue probably could not be exploited any more, while more changes were still in progress. The report does not describe the technical content of those changes.

Variants to test

  1. Rewrite other identifiers in request bodies, not just the project number: device IDs, model IDs, firmware revision IDs. A positive result is the API returning or modifying another tenant's object.
  2. Move the identifier from the body to the path or query string and swap it there. A positive result is the same cross-tenant access without any body rewrite.
  3. Try the same swap with a second account that has no project at all, or with a project the attacker was removed from. A positive result shows the check is on the number rather than on membership.
  4. Test the read-only endpoints separately from the write endpoints: list, get, analytics, firmware upload, edit and delete. A positive result is any one of them succeeding cross-tenant, since read access alone leaks the Anti-Spoofing Private Key.
  5. On other Google APIs that take a project number or project ID in the request, try substituting a project the caller does not own. A positive result is data from the other project appearing in the response.
  6. Where a gRPC method returns a protobuf, check whether it leaks identifiers such as project numbers or model IDs that can then be fed into the REST endpoints. A positive result is an identifier in the binary response that the REST API accepts.

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. 17 min read.

What happened, in plain words

Google Fast Pair is the feature that makes Bluetooth accessories pair with an Android phone quickly. You open the case of a pair of wireless earbuds near your phone and a popup appears offering to connect. Behind that convenience is a specification, a public document describing how devices and phones should talk to each other. Part of that specification is an Anti-Spoofing Private Key: a secret that a device uses to prove it really is itself during pairing, so a nearby phone can tell a genuine device from an impersonator.

Manufacturers register their Fast Pair devices on a developer dashboard at https://developers.google.com/nearby/devices/. There they add devices, upload images, manage firmware revisions and view analytics. That dashboard is a web page, and like most web pages it talks to a server behind the scenes through an API. An API is the set of addresses and rules a program uses to ask a server to do things, in the same way a restaurant menu is the list of dishes you are allowed to order and the kitchen is the server that makes them. The API in question lives at nearbydevices-pa.googleapis.com.

The researcher's central claim is that this API does not seem to perform any kind of access control. Access control is the part of a system that decides who is allowed to do what, like a bouncer checking that your name is on the guest list before letting you into a party. Without it, any logged-in user can read, change and delete things that belong to other users, including the Anti-Spoofing Private Key of any Fast Pair device.

This kind of flaw is called Broken Access Control. The user is properly logged in, so the system knows who they are, but it never checks whether that person is allowed to touch the specific thing they are asking for.

Setting up the experiment

The proof of concept needs two Google accounts and a proxy. A proxy is a program that sits between your browser and the internet, like a mail forwarding service that opens every letter, can read it, can change it, and then sends it on. Security researchers use proxies to see and edit the traffic their own browser sends.

  1. Two users, called Attacker and Victim in the report.
  2. Both users visit https://developers.google.com/nearby/devices/, log in, and create one GCP project when prompted. A GCP project is a container Google gives you to group your resources, a bit like a folder with your name on it. Every project gets a number, its Project number, which is how Google refers to it internally.
  3. Both users open https://console.cloud.google.com/ in new tabs and note the Project number of their new project.
  4. Burp Suite is used as the intercepting proxy for the attacker's traffic. Burp Suite is a popular tool for exactly this: watching and modifying web requests.

No special role or permission is needed beyond a normal authenticated account with a project. That matters: the attacker is not an administrator, just an ordinary user.

Finding it

The researcher describes the core issue plainly: the API nearbydevices-pa.googleapis.com does not seem to perform any kind of access control. A normal authenticated user can access, modify or delete any resource, including resources the user does not own. A resource here means any object the API manages, such as a device entry, its image, its firmware revisions or its analytics data.

The report shows that rewriting the attacker's project number to the victim's project number in request bodies makes the API act on the victim's resources. Think of a hotel receptionist who asks for your room number and hands over the key to whatever number you say, without checking that the room is actually booked in your name.

Exploitation

Step 1: Create the two accounts and projects

Create the Attacker and Victim users. With both, visit https://developers.google.com/nearby/devices/, log in, and create one GCP project when prompted. Then, in new tabs, go to https://console.cloud.google.com/ and note both new projects' Project numbers.

This step exists so the attacker has a legitimate project number of their own to send, and the victim has a project number the attacker will later substitute. Without two numbers there is nothing to swap.

Step 2: Create a device as the victim

As Victim, go to Add Device and create a new device. Choosing Fast Pair then Headphones gives the least required fields. The report notes that a 512x512 image must be uploaded.

The victim needs at least one real device registered, because the goal is to show the attacker can see and touch something that belongs to someone else. The 512x512 image is simply a requirement of the form.

Step 3: Configure Burp to rewrite the project number

As Attacker, start proxying traffic with Burp. In Burp, go to Proxy -> Options -> Match and Replace and click Add. Set the type to Request body, set Match to the attacker's Project number, set Replace to the victim's Project number from step 1, and click OK.

With this rule in place, request bodies containing the attacker's project number are rewritten to the victim's project number before they reach the API. A request body is the part of a web request that carries data, as opposed to the address line. Match and Replace is Burp's find-and-replace feature for traffic: it looks for one piece of text and swaps in another automatically, so the attacker does not have to edit each request by hand.

Step 4: Browse the victim's resources

As Attacker, click the Devices button. The dashboard lists the victim's devices. Click the device created in step 2 and the attacker can access its secret Anti-Spoofing Private Key, add a new firmware revision, edit the device, view analytics, delete the device, and more. In the researcher's words, the attacker now has full access to all of the victim's resources just by changing the project number.

Full access of this kind is often summarised as CRUD: Create, Read, Update and Delete. The attacker can create new things (a firmware revision), read things (the private key, the analytics), update things (edit the device) and delete things (remove the device).

A real-world attack against Pixel Buds

The proof of concept above requires knowing the target's project number. The report then describes a theoretical real-world MITM attack against all second generation Google Pixel Buds devices that removes that requirement. MITM stands for man in the middle: an attacker who positions themselves between two parties who think they are talking directly to each other, and can listen to or alter the conversation.

  1. The attacker wants to MITM Bluetooth connections between Pixel Buds devices and victims, which requires the Pixel Buds's Anti-Spoofing Private Key. That key is, hopefully, stored in the secure enclave of every manufactured Pixel Buds device, so it is hidden from the attacker. A secure enclave is a small, separate chip area designed to hold secrets so that even the main processor cannot easily read them, like a safe bolted inside a house.
  2. The attacker buys a Pixel Buds and proxies her phone's traffic while pairing the device. Pairing is the one-time setup where the phone and the accessory learn about each other.
  3. From the proxy logs, the attacker finds the gRPC request her phone made to nearbydevices-pa.googleapis.com/location.nearby.v1.NearbyDevicesService/GetObservedDevice, and extracts the Pixel Buds's Model ID and Project Number from the response protobuf. gRPC is a way for programs to call functions on a remote server, and protobuf is a compact binary format those calls use to carry data. Binary means it is not readable text; it is a sequence of bytes that needs decoding.
  4. The attacker now has all the information needed to access the Pixel Buds's Anti-Spoofing Private Key.
  5. The attacker sends this request, which returns the Anti-Spoofing Private Key:
HTTP
GET /v1/projects/[pixel's_project_number]/devices/[prixel's_model_id_in_decimal]?key=[redacted] HTTP/1.1
Host: nearbydevices-pa.googleapis.com
Authorization: Bearer [attacker's_nearby_dashboard_access_token]

Line by line:

  • GET /v1/projects/[pixel's_project_number]/devices/[prixel's_model_id_in_decimal]?key=[redacted] HTTP/1.1 is the request line. GET means "give me this thing". The path names the project and the device, with the project number and model ID filled in from the previous step. Everything after the ? is the query string, here a key parameter carrying an API key, which is a public identifier for an application rather than a user secret. HTTP/1.1 is the version of the web protocol being used.
  • Host: nearbydevices-pa.googleapis.com tells the server which site the request is for. One server can host many sites, so this line picks the right one.
  • Authorization: Bearer [attacker's_nearby_dashboard_access_token] carries the attacker's own login credential for the dashboard. A token is a string a server gives you after you log in, which you show on later requests instead of typing your password again, like a wristband at an event that proves you already paid to get in. Bearer means "whoever holds this token is treated as the owner".

The path carries the device's project number and model ID, the key query parameter carries a key, and the Authorization header carries the attacker's own dashboard access token. The report says this request returns the Anti-Spoofing Private Key.

  1. The attacker can now MITM any new Fast Pair Bluetooth connection between any second generation Pixel Buds and any victim.

The researcher performed this attack up to step 4 to confirm that the gRPC response leaks the Project Number. By doing so, she found that the second generation Pixel Buds has a Model ID of 9616317 (0x92BBBD in hex) and a Project Number of 88849360756. Hex is just another way of writing numbers, base 16 instead of base 10, often used for identifiers.

Less subtle abuse is also possible. An attacker who wants to be purely destructive could delete the Pixel Buds device, so Fast Pair Seekers no longer recognise it, or change the Pixel Buds's name or image to something inappropriate, or do anything else the API allows. A Fast Pair Seeker is the phone or other device looking for nearby accessories to pair with.

Because of this, the report warns that if previous malicious access to this API cannot be confidently refuted, all already-generated Anti-Spoofing Private Keys on the Fast Pair platform should be considered compromised. Compromised means the secret is no longer secret and must be assumed to be in an attacker's hands.

Decoding the protobuf

The researcher wanted to confirm that the GetObservedDevice gRPC method returns the device's Project Number, so she tried to decode the binary protobuf. She spent basically a day trying without success. Every tool she tried (protoc, blackboxprotobuf, and others) failed to decode the response. She found out how gRPC prefixed the proto payload, but even after removing the prefix every tool failed, and programmatically cutting bytes from the beginning or end did not help either. A prefix is extra bytes stuck on the front of the data, and a payload is the actual content being carried.

She was forced to use the protobuf response because the same REST endpoint, /v1/device/[device-id], for some reason only returned the ID given to it, without doing anything. REST is the more common, text-based style of web API, where each URL points at a resource. After quite a few hours she added $outputDefaults=1 to the REST endpoint, and it returned every field, but all of them were empty. She knew that changing the Content-Type to application/json+protobuf makes the response include the field IDs of the protobuf, so she used that together with $outputDefaults=1 to correlate the id and projectNumber to protobuf field IDs 1 and 2, because the ordering of the fields looked the same in both cases. Content-Type is the header that tells the server what format the data is in, and a field ID is the number that labels each piece of data inside a protobuf message.

After checking where the strings were in the binary protobuf, she concluded that the order matched the REST responses exactly, so only the first two fields needed decoding.

With all tools failing, she hand-decoded the protobuf:

Text
0a -> 00001010 -> 00001 010 -> length-delimited:2 ID:1
lenght:
ca 07 -> 11001010 00000111
      -> 10010100000111
      -> len = 9479 ?! (I just noticed that this is incorrect. I din't swap the bytes)

08 -> 1000 -> varint:0 ID:1 ("id")
bd f7 ca 04 -> 10111101 11110111 11001010 00000100
            ->  0111101  1110111  1001010  0000100
            -> 0000100 1001010 1110111 0111101
            -> 0000100100101011101110111101
            -> device ID: 9616317 0x92BBBD (pixel buds) omg, this is correct!!

10 -> 10000 -> varint:0 ID:2 ("projectNumber" !!)
f4 ce d6 fe ca 02 -> 11110100 11001110 11010110 11111110 11001010 00000010
                  ->  1110100  1001110  1010110  1111110  1001010  0000010
                  -> 0000010 1001010 1111110 1010110 1001110 1110100
                  -> 000001010010101111110101011010011101110100
                  -> project ID: 88849360756

What this shows, in plain words: protobuf stores each piece of data as a small tag followed by the value. The first byte 0a is a length-delimited field with ID 1. The 08 field is a varint with ID 1, which decodes to the device ID 9616317. The 10 field is a varint with ID 2, which decodes to the project number 88849360756. A varint is a way of writing whole numbers in as few bytes as possible, using the high bit of each byte to say whether more bytes follow. The researcher's own note in the block points out that her first length calculation was wrong because she did not swap the bytes.

Root cause

The API does not seem to perform any kind of access control, so a normal authenticated user can access resources the user does not own. The dashboard's own requests carry the project number, and the server acts on whatever number arrives. Because the project number is not bound to the authenticated principal on the server side, rewriting it in transit is enough to operate on another tenant's resources. A tenant here means one customer's separate slice of a shared service. The report does not describe the server-side code, so the exact mechanism is likely a missing authorisation check rather than a flaw in the token itself. In other words, the wristband was genuine; the bouncer simply never looked at it.

Impact

An attacker with a normal authenticated account and knowledge of a target's project number gets full CRUD access to that target's Fast Pair devices: reading the Anti-Spoofing Private Key, adding firmware revisions, editing the device, viewing analytics and deleting the device. Stealing the key allows spoofing the device's identity and performing MITM attacks against any new Fast Pair Bluetooth connection established with that device. Spoofing means pretending to be something you are not. The report hedges the real-world attack as theoretical beyond step 4, which was the point actually confirmed. The destructive variants, deleting a device so Fast Pair Seekers no longer recognise it or changing its name or image, need no key at all.

Google's response adds context on the limits: the keys are updatable through firmware updates, though some devices do not get firmware updates, and those that do probably store the key in the clear anyway. Firmware is the software built into a device, and storing something in the clear means storing it unencrypted. The keys live on devices customers buy, so in most cases they can be obtained by dumping the firmware, which means copying the firmware out of the device and inspecting it. They may allow impersonation of an original device but otherwise should not have significant security consequences. Fast Pair does not allow most Bluetooth profiles, so besides being a music sink and a few other things it should not be too serious for users, and all devices require user confirmation. A Bluetooth profile is a standard for what a connection can do, such as audio playback or hands-free calls. The researcher's conclusion is that users should not rely on any security protection this secret key provides, especially MITM protection, and should consider their Bluetooth traffic sniffable by a malicious party. Sniffable means it can be listened to by someone else.

Fix

Google said the fix had two steps, the first almost done at the end of April 2021 and the second taking longer, with the last changes probably not landing until 16 June 2021. By 7 May 2021 Google said several changes had been made so the issue probably could not be exploited any more, while more changes were still in progress. The report does not describe the technical content of those changes. Authorise means to check permission, not just identity.

Variants to test

These are follow-up ideas in the same spirit, useful to anyone testing a similar API:

  1. Rewrite other identifiers in request bodies, not just the project number: device IDs, model IDs, firmware revision IDs. A positive result is the API returning or modifying another tenant's object.
  2. Move the identifier from the body to the path or query string and swap it there. A positive result is the same cross-tenant access without any body rewrite.
  3. Try the same swap with a second account that has no project at all, or with a project the attacker was removed from. A positive result shows the check is on the number rather than on membership.
  4. Test the read-only endpoints separately from the write endpoints: list, get, analytics, firmware upload, edit and delete. A positive result is any one of them succeeding cross-tenant, since read access alone leaks the Anti-Spoofing Private Key.
  5. On other Google APIs that take a project number or project ID in the request, try substituting a project the caller does not own. A positive result is data from the other project appearing in the response.
  6. Where a gRPC method returns a protobuf, check whether it leaks identifiers such as project numbers or model IDs that can then be fed into the REST endpoints. A positive result is an identifier in the binary response that the REST API accepts.

Glossary

  • Access control: the part of a system that decides who may do what with which resource.
  • Anti-Spoofing Private Key: a secret a Fast Pair device uses to prove its identity during pairing.
  • API: the set of addresses and rules a program uses to ask a server to do things.
  • API key: a public identifier for an application, not a user secret.
  • Authorise: to check that a user has permission for a specific action, not just that they are logged in.
  • Bearer token: a credential where whoever holds the string is treated as its owner.
  • Bluetooth profile: a standard for what a Bluetooth connection can do, such as audio playback.
  • Broken Access Control: a flaw where a logged-in user can reach resources they should not be allowed to touch.
  • Burp Suite: a tool for intercepting, viewing and modifying web traffic.
  • Compromised: a secret that must be assumed to be in an attacker's hands.
  • Content-Type: the header that says what format a piece of data is in.
  • CRUD: Create, Read, Update, Delete, the four basic operations on stored data.
  • Endpoint: a specific address on a server that accepts requests.
  • Fast Pair: Google's mechanism for quickly pairing Bluetooth accessories with Android and nearby devices.
  • Fast Pair Seeker: the phone or other device looking for nearby accessories to pair with.
  • Field ID: the number that labels a piece of data inside a protobuf message.
  • Firmware: the software built into a device.
  • GCP project: a container Google gives you to group your resources, identified by a project number.
  • gRPC: a way for programs to call functions on a remote server.
  • Header: an extra line in a web request or response carrying metadata such as credentials or format.
  • Hex: base 16 notation for numbers, often used for identifiers.
  • In the clear: stored or sent without encryption.
  • Length-delimited: a protobuf field whose value is preceded by its length.
  • Match and Replace: Burp's automatic find-and-replace feature for traffic.
  • MITM (man in the middle): an attacker positioned between two parties who think they are talking directly.
  • Payload: the actual content carried by a message, as opposed to its wrapper.
  • Prefix: extra bytes stuck on the front of a piece of data.
  • Project number: the numeric identifier Google assigns to a GCP project.
  • Protobuf: a compact binary format for carrying structured data.
  • Proxy: a program that sits between your browser and the internet and can read and change traffic.
  • Query string: the part of a URL after the ?, carrying parameters.
  • Request body: the part of a web request that carries data, as opposed to the address line.
  • Resource: any object an API manages, such as a device entry or its firmware revisions.
  • REST: a common, text-based style of web API where each URL points at a resource.
  • Secure enclave: a small, separate chip area designed to hold secrets away from the main processor.
  • Sniffable: able to be listened to by someone else.
  • Spoofing: pretending to be something or someone you are not.
  • Tenant: one customer's separate slice of a shared service.
  • Token: a string a server gives you after login, shown on later requests instead of a password.
  • Varint: a way of writing whole numbers in as few bytes as possible.

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.