Unauth meetings access
An unauthenticated request to the GetMeetingSpace endpoint returned the dial-in phone number and PIN for any meeting whose code was known. An attacker could use these to join a meeting by phone without the organiser's approval.
Published on sites.google.com
Google Meets app can be controlled in multiple ways from the GSuite admin panel. Administrator of companies can set rules for example who can automatically join the meeting.
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.
Context
Google Meets can be controlled in several ways from the GSuite admin panel. An administrator of a company can set rules, for example who can automatically join a meeting. By default, guests (users not in the same organisation) join the meeting automatically, but this can be prevented by going to admin.google.com and changing the Meets permission. Once that permission is set, the creator of the meeting has to accept each invitee.
A meeting can also be joined from a phone rather than from the web. For that, a user needs the meeting phone number and pin. That information is available to the creator and to the users who are invited to the meeting. When you add a calendar event and add external guests, they receive this information in their invitation.
Setup
The researcher worked against meet.google.com with a victim meeting code of ein-yhyc-sjb, using Firefox 61.0 on macOS 10.13 and Burp to inspect the traffic. The goal, from an attacker's perspective, was to get inside a meeting without being invited to it: no phone number, no pin, and no invitation of any kind.
Finding it
When the attacker visited meet.google.com, the site asked for a meeting code, and the attacker supplied the victim's code, ein-yhyc-sjb. This initiated a request asking the meeting organiser whether to accept the attacker into the meeting. At the same time, Burp showed multiple requests being sent that could potentially be useful. One of them was a call to GetMeetingSpace.
Exploitation
Step 1: Capture the GetMeetingSpace request
The request looked roughly like this:
POST /$rpc/google.rtc.meetings.v1.MeetingSpaceService/GetMeetingSpace HTTP/1.1
Host: meetings.clients6.google.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://meet.google.com/ein-yhyc-sjb
x-goog-meeting-token: 1531145784915;<TOKEN>
x-goog-meeting-debugid: <DEBUGID>
x-goog-authuser: 0
authorization: SAPISIDHASH <AUTH>
content-type: application/x-protobuf
x-goog-api-key: API_KEY
x-goog-encode-response-if-executable: base64
Content-Length: 21
Origin: https://meet.google.com
Cookie: <COOKIES>
Connection: close
spaces/NMF_JYABJGcB
The request passes the spaces/ID value to GetMeetingSpace and gathers information about the meeting.
Step 2: Read the response
The response was a base64 string:
[redacted]
When decoded, the string includes the phone number and the pin for the meeting:
spaces/NMF_JYABJGcB ein-yhyc-sjb $https://meet.google.com/ein-yhyc-sjb *$
[redacted] 927167750 US" en-VVM
Step 3: Join by phone
With the number and pin in hand, the attacker no longer needed to wait for the admin to accept the invitation, because the meeting could be joined directly by phone. Google automatically adds you to the meeting if you call the number and provide the pin.
Root cause
The GetMeetingSpace endpoint returned the dial-in number and pin to a caller who was not invited to the meeting, so the access control that the admin panel enforces on the web join flow was not applied to the data returned by this RPC. The GetMeetingSpace endpoint returned the dial-in number and pin to a caller who was not invited to the meeting. The report does not describe the server-side check that was missing,
Impact
An attacker who knows a meeting code can obtain the meeting's phone number and pin without being invited, and can then join the meeting by phone. The report does not state which meeting settings or account types are affected beyond the admin-controlled join permission described above.
Fix
Variants to test
- Call the equivalent meeting-space lookup RPC with a space identifier for a meeting you were not invited to, and check whether the response contains dial-in details. A positive result is a decoded response containing a phone number and pin.
- Compare the response for an invited account and an uninvited account against the same meeting code. A positive result is identical dial-in data for both.
- Repeat the lookup after the admin has set the join permission to require acceptance. A positive result is that the dial-in data is still returned.
- Check other RPCs in the same service that take a space identifier, such as those used when opening the meeting page, for the same fields. A positive result is any response that leaks the number or pin.
- Test whether the pin is stable across meetings or reusable after the meeting ends. A positive result is a pin that still grants access to a later meeting.
What happened, in plain words
Google Meet is a video meeting service. Companies that use Google's business tools (GSuite) have an admin panel where an administrator can decide how meetings behave. One of those settings controls who can join a meeting automatically. By default, anyone with the meeting link, including people from outside the company, can walk straight in. The admin can change that so the meeting creator has to approve each person before they get in.
There is a second way into a meeting: by phone. To join that way you dial a phone number and then type a PIN, like entering a code on a keypad. Only the meeting creator and the people who were invited are supposed to know that number and PIN. When you create a calendar event and invite outside guests, the invitation email contains the dial-in details.
The researcher wanted to get into a meeting without being invited: no phone number, no PIN, no invitation. While watching the traffic between the browser and Google's servers, they found that one of the requests the meeting page makes returns the phone number and PIN to a caller who was not invited. With those two pieces of information, the attacker could simply phone in and be added to the meeting automatically, skipping the organiser's approval entirely.
Background you need first
What Google Meet and the admin panel do
Google Meet is the video calling product. A company's IT administrator uses the GSuite admin panel at admin.google.com to set company-wide rules. One rule decides whether outside guests join automatically or whether the meeting creator must accept them one by one. This matters because it is the control the attacker is trying to get around.
What a meeting code is
Every meeting has a short code that looks like a few words joined by hyphens, for example ein-yhyc-sjb. It is part of the meeting link, so anyone who has the link knows the code. Think of it as the street address of a building: knowing the address does not mean you are allowed inside.
What a phone number and PIN are here
Google Meet lets people who cannot use the web app dial in from a normal phone. They call a phone number and then enter a numeric PIN. The number and PIN together act like a key: whoever has both gets into the meeting. The report shows that invited guests receive these details in their calendar invitation.
What an API and an RPC are
An API is a way for one piece of software to ask another piece of software to do something, without a human clicking buttons. A restaurant menu is a fair comparison: you pick an item by name and the kitchen prepares it. An RPC (remote procedure call) is a particular style of API where the request names a procedure, like GetMeetingSpace, and the server runs it and sends back the result.
What HTTP requests and headers are
When your browser talks to a website it sends an HTTP request: a first line with a method (such as POST) and a path, then a list of headers. Headers are labelled lines of extra information, such as which browser you use, which site you came from, or what kind of data you are sending. After the headers comes an optional body with the actual data.
What a cookie and a token are
A cookie is a small piece of data the browser stores for a site and sends back with every request, so the server can recognise you between page loads. A token is similar in spirit: a value that proves something, such as who you are or that you are allowed to do a thing. Both are sensitive: if someone else gets your cookie or token, they can often act as you.
What Burp is
Burp is a tool that sits between your browser and the internet and records every request and response. Security researchers use it to see what a website actually sends behind the scenes, which is often far more than what is visible on screen.
What base64 is
Base64 is a way of writing arbitrary data using only ordinary letters, digits and a couple of symbols. It is not encryption: anyone can decode it back to the original bytes. It is used so that binary data can travel safely through text-based systems. If you see a long string of random-looking letters and numbers, base64 is a good guess.
What the vulnerability class means
This is a broken authorisation problem, also called a logic flaw. Authorisation means deciding whether a particular person is allowed to do a particular thing. Here the web join flow correctly asks the organiser for approval, but a separate lookup request hands out the dial-in details to anyone who knows the meeting code. The rule exists in one place and is not applied in another.
The setup
The researcher worked against meet.google.com, with a victim meeting whose code was ein-yhyc-sjb. The browser was Firefox 61.0 on macOS 10.13, and Burp was used to inspect the traffic. The goal was to get inside a meeting without an invitation: no phone number, no PIN, and no invite of any kind.
Finding it
The attacker opened meet.google.com. The site asked for a meeting code, and the attacker typed the victim's code, ein-yhyc-sjb. That started a request asking the meeting organiser whether to accept the attacker into the meeting. At the same time, Burp showed several requests going out that might be useful. One of them was a call to GetMeetingSpace.
Why this matters: the visible behaviour was the approval prompt, which looks like a locked door. But the page was also making other requests in the background, and one of them was fetching information about the meeting space. That is the request worth examining.
Exploitation
Step 1: Capture the GetMeetingSpace request
The request looked roughly like this:
POST /$rpc/google.rtc.meetings.v1.MeetingSpaceService/GetMeetingSpace HTTP/1.1
Host: meetings.clients6.google.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://meet.google.com/ein-yhyc-sjb
x-goog-meeting-token: 1531145784915;<TOKEN>
x-goog-meeting-debugid: <DEBUGID>
x-goog-authuser: 0
authorization: SAPISIDHASH <AUTH>
content-type: application/x-protobuf
x-goog-api-key: API_KEY
x-goog-encode-response-if-executable: base64
Content-Length: 21
Origin: https://meet.google.com
Cookie: <COOKIES>
Connection: close
spaces/NMF_JYABJGcB
Line by line, in plain words:
POST /$rpc/google.rtc.meetings.v1.MeetingSpaceService/GetMeetingSpace HTTP/1.1is the first line of the request.POSTis the method, used when you are sending data. The path names the procedure being called: the meeting space service, and within itGetMeetingSpace, which means "give me information about this meeting space".HTTP/1.1is the version of the protocol.Host: meetings.clients6.google.comsays which server the request is addressed to. Notice it is notmeet.google.com; the page talks to a separate backend service.User-Agent: ...identifies the browser and operating system. It is how the server knows a Firefox on macOS is asking.Accept: */*says the browser will accept any kind of response.Accept-Language: en-US,en;q=0.5says the browser prefers US English, with a lower preference for generic English.Accept-Encoding: gzip, deflate, brlists the compression formats the browser can handle, so the response can be smaller on the wire.Referer: https://meet.google.com/ein-yhyc-sjbtells the server which page the request came from. Here it is the victim's meeting page, which is how the request is tied to that meeting.x-goog-meeting-token: 1531145784915;<TOKEN>is a custom header carrying a meeting token. The number before the semicolon looks like a timestamp, and the rest is a token value, redacted here.x-goog-meeting-debugid: <DEBUGID>is a custom header used for debugging, redacted here.x-goog-authuser: 0is a custom header that selects which signed-in Google account is being used, by index.0means the first one.authorization: SAPISIDHASH <AUTH>is the standard header that carries proof of who is calling.SAPISIDHASHis the scheme, and the actual value is redacted here.content-type: application/x-protobufsays the body is in protobuf format, a compact binary way of encoding structured data.x-goog-api-key: API_KEYis a custom header carrying an API key, redacted here.x-goog-encode-response-if-executable: base64asks the server to return the response encoded as base64 if it would otherwise be treated as executable content. This is why the answer comes back as a long text string.Content-Length: 21says the body is 21 bytes long.Origin: https://meet.google.comstates which site the request originates from, used by the server for cross-origin checks.Cookie: <COOKIES>carries the browser's cookies for this site, redacted here.Connection: closeasks the server to close the connection after this response.- The body,
spaces/NMF_JYABJGcB, is the protobuf payload. It carries the space identifier, which is the internal name of the meeting space. The leading space is part of the payload as shown.
Why this step was taken: the attacker needed to see exactly what the page asks the server for, and with which identifiers. The body shows the space identifier that the page supplies when looking up the meeting space.
Step 2: Read the response
The response was a base64 string:
[redacted]
When decoded, the string includes the phone number and the PIN for the meeting:
spaces/NMF_JYABJGcB ein-yhyc-sjb $https://meet.google.com/ein-yhyc-sjb *$
[redacted] 927167750 US" en-VVM
What these blocks mean:
- The first block is the raw response exactly as it came back. Because the request asked for base64 encoding, the server wrapped the binary protobuf answer in base64 text. Decoding it is not a trick or a hack; it is simply undoing the encoding.
- The second block is the decoded content. It contains the space identifier
spaces/NMF_JYABJGcB, the meeting codeein-yhyc-sjb, and the meeting URLhttps://meet.google.com/ein-yhyc-sjb. - The third block continues the decoded content. It contains the dial-in number
[redacted], the PIN927167750, and the country codeUS. Theen-VVMfragment is part of the decoded data as shown.
Why this step was taken: the attacker wanted to know whether the lookup response contains anything sensitive. It does: the dial-in number and PIN, which are supposed to be known only to the creator and invited guests.
Step 3: Join by phone
With the number and PIN in hand, the attacker no longer needed to wait for the admin to accept the invitation, because the meeting could be joined directly by phone. Google automatically adds you to the meeting if you call the number and provide the PIN.
Why this step was taken: the lookup response had handed over the number and PIN needed to join by phone. Since the lookup request had just handed both over, the approval step became irrelevant.
Root cause
The GetMeetingSpace endpoint returned the dial-in number and PIN to a caller who was not invited to the meeting. The report does not describe the server-side check that was missing,
In everyday terms: the front door had a guard who asked the organiser before letting anyone in, but there was a side window that handed out the key to the back door to anyone who knew the building's address.
Impact
An attacker who knows a meeting code can obtain the meeting's phone number and PIN without being invited, and can then join the meeting by phone. The report does not state which meeting settings or account types are affected beyond the admin-controlled join permission described above.
Fix
Variants to test
- Call the equivalent meeting-space lookup RPC with a space identifier for a meeting you were not invited to, and check whether the response contains dial-in details. A positive result is a decoded response containing a phone number and PIN.
- Compare the response for an invited account and an uninvited account against the same meeting code. A positive result is identical dial-in data for both.
- Repeat the lookup after the admin has set the join permission to require acceptance. A positive result is that the dial-in data is still returned.
- Check other RPCs in the same service that take a space identifier, such as those used when opening the meeting page, for the same fields. A positive result is any response that leaks the number or PIN.
- Test whether the PIN is stable across meetings or reusable after the meeting ends. A positive result is a PIN that still grants access to a later meeting.
Glossary
- API: a way for one piece of software to ask another to do something, without a human clicking buttons.
- Authorisation: the process of deciding whether a particular person is allowed to do a particular thing.
- Base64: an encoding that represents arbitrary data using ordinary letters, digits and symbols; it is not encryption and can be decoded by anyone.
- Broken authorisation: a flaw where a system fails to check whether the caller is allowed to perform an action or see some data.
- Burp: a tool that sits between the browser and the internet and records requests and responses for inspection.
- Cookie: a small piece of data the browser stores for a site and sends back with each request, used to recognise you.
- Dial-in: joining a meeting by telephone instead of through the web or app.
- Endpoint: a specific address or procedure on a server that a request can be sent to.
- GSuite: Google's bundle of business tools, including Meet, Gmail and Calendar, managed by a company administrator.
- Header: a labelled line of extra information in an HTTP request or response, such as the browser type or the content type.
- HTTP: the protocol browsers and servers use to exchange requests and responses.
- Logic flaw: a bug where the system's rules are implemented incorrectly or inconsistently, rather than a coding mistake in the usual sense.
- Meeting code: the short hyphenated identifier of a meeting, such as
ein-yhyc-sjb, which appears in the meeting link. - PIN: a numeric code entered after dialling the meeting phone number, which grants access to the meeting.
- Protobuf: a compact binary format for encoding structured data, used here for the request and response bodies.
- RPC: remote procedure call; an API style where the request names a procedure, such as
GetMeetingSpace, and the server runs it. - Space identifier: the internal name of a meeting space, such as
spaces/NMF_JYABJGcB, used by the lookup request. - Token: a value that proves something, such as identity or permission; if someone else obtains it, they can often act as you.
- User-Agent: a header that identifies the browser and operating system making the request.