Listing all registered email addresses on Google’s Crisis Map thanks to IDOR and incremental IDs

The last write-up was about a security vulnerability on’s Crisis Map, and so is this one. 

In short, Google Crisis Map is quite an old project used for creating and sharing custom maps.
To do that, you need to log in with a Google account first.

Once you’re logged in, you can create new maps, manage existing maps, or manage your domain settings. Last time we created a new map; this time we will go to the domain settings.

There are multiple different domain settings.

We will be interested in the Members part of the settings. It lists all the email addresses that have some access to your maps. You can invite other people to collaborate with creating and managing the maps.

Let’s add another email address as a member on the project.

Once we click Save changes a POST request is sent to the following URL:
with this body:

In the request body, there are two important fields – new_user with the email address we want to add, and new_user.permission, which sets the permission level of the new user.

After the request is completed, we can see that the page has updated with the new information.

We’ll take a look at how it looks like in the HTML:

We can see two important things in this part of the code. The email address and a number (123456) appearing twice in the name fields of the inputs. The number looks particularly interesting because it’s only a few digits long and appears to be associated with the new user’s email address.

Let’s try sending this form one more time and take a look at the request body.

It’s quite similar to the last request, except now instead of new_user there is a new item 123456.permission with the permission value.

This suggests that the member’s permissions are referenced not with an email address, but with an ID.

However, when we open the Members page, we can see the members are listed there with their email addresses.

This image has an empty alt attribute; its file name is image-51.png

So what would happen if we instead of 123456.permission send some different ID, for example 123457.permission?

Turns out we added a user with the ID 123457 as a member to our project. If we open the Members page once again, we can see this user is added to the members list, including with their email address.

This means just by changing the ID in the request when saving the project’s members, we are able to get this user’s email address just by knowing their ID.

So how do we get users’ IDs then? It’s easy—the first registered user has the ID 0, the second user has ID 1 etc.

Since the IDs are incremental, we can easily get the email address of every registered user on Google Crisis Map just by adding each ID as a member of the project using this form.

The latest ID was around 32000, therefore we would be able to get 32 thousand email addresses of all registered users.


12.12.2018: Vulnerability reported
13.12.2018: Priority changed to P2
13.12.2018: Looking into it
13.12.2018: Priority changed to P1
18.12.2018: Reward issued
Follow me on Twitter: @ThomasOrlita