CreatorID leaked from public content posted to SnapMaps
Snap Map's playlist API returned a creatorId for each public Snap, which was not needed for the feature to work. An attacker could use that identifier to link several public Snaps to one creator and potentially enumerate that user's public content.
Originally disclosed on HackerOne
- Triaged in 6 days
- Fixed in 44 days
- Paid in 44 days
- Disclosed after 7 months
Summary by the program
TL;DR - the Snap Map media responses unnecessarily return a creatorId. The creator's Snap username cannot be immediately derived from creatorId, but users can use the creatorId to correlate multiple public snaps with that creator. The impact is limited by the fact that all Our Story Snaps that appear on the map go through manual curation, ensuring that most selfie Snaps are filtered out.
Snap Map, located at https://map.snapchat.com, allows users to search for curated public Snaps posted to "Our Story", by users at a chosen location. When a user navigates to a point on the map, they can click on any location, and a Snap that was posted by a user in the vicinity of that location will play. In the background several URLs at https://ms.sc-jpl.compopulate the data needed to play Snaps.
One of the requests is made to https://ms.sc-jpl.com/web/getPlaylist, which responds with a JSON object. This JSON contains information pertaining to each Snap in the playlist, such as the duration, and snapInfo. Examples of data in snapInfo are the creatorId, and the mediaUrl, which are a UUID pertaining to the user who uploaded the content, and an app.snapchat.com URL, which contains the content.
Of the returned fields, the creatorId is not necessary for normal Snap Map operation and does not need to be disclosed. Note that while the user identity cannot be directly gleaned from the creatorId, the disclosure of creatorId in the response from https://ms.sc-jpl.com/web/getPlaylist may allow a user to correlate Snaps on the Snap Map with a single user. This in turn, may allow a user to potentially enumerate that user's public content, by searching for content containing that specific creatorId.
While not a direct leak of user information, the inclusion of the creatorId in the response was unintentional and unnecessary. At Snap, we value privacy highly and thank the reporter for bringing this to our attention.
Summary by the researcher
When map.snapchat.com uses certain POST methods a 200 response is returned which includes an entity that describes a URI "CreatorID". This URI is no longer needed for the functions on map.snapchat.com to function and can be used to deanonymize users. This was resolved by removing the URI in the 200 response to protect privacy.
Context
Snap Map, at https://map.snapchat.com, lets users search for curated public Snaps posted to "Our Story" by users at a chosen location. When a user navigates to a point on the map and clicks on a location, a Snap posted by a user in the vicinity of that location plays. In the background, several URLs at https://ms.sc-jpl.com populate the data needed to play Snaps.
The feature therefore depends on a backend playlist service that returns metadata about each Snap in a location's playlist. The report concerns one field in that metadata, creatorId, which the program describes as a UUID pertaining to the user who uploaded the content.
Setup
The report does not describe any accounts, roles, tools or versions. The only precondition visible in the text is that the Snap Map front end issues requests to the playlist endpoint at https://ms.sc-jpl.com/web/getPlaylist when a user navigates the map, and that the response is a JSON object.
Finding it
The researcher observed that when map.snapchat.com uses certain POST methods, a 200 response is returned which includes an entity describing a URI, CreatorID. That identifier is not needed for the functions on map.snapchat.com to work, and the researcher reasoned that it could be used to deanonymise users.
The program's own summary frames the issue the same way: the Snap Map media responses unnecessarily return a creatorId. The creator's Snap username cannot be immediately derived from creatorId, but users can use the creatorId to correlate multiple public Snaps with that creator.
Exploitation
Step 1: Load the Snap Map and trigger the playlist request
Navigating to a point on the map and clicking a location causes the front end to request the playlist from the backend. The report identifies the endpoint as:
https://ms.sc-jpl.com/web/getPlaylist
This request is what populates the data needed to play Snaps, and it is the response to it that carries the identifier.
Step 2: Read the JSON response
The endpoint responds with a JSON object. This JSON contains information pertaining to each Snap in the playlist, such as the duration, and snapInfo. Examples of data in snapInfo are the creatorId and the mediaUrl: a UUID pertaining to the user who uploaded the content, and an app.snapchat.com URL which contains the content.
Step 3: Use the identifier to correlate Snaps
Of the returned fields, creatorId is not necessary for normal Snap Map operation and does not need to be disclosed. While the user identity cannot be directly gleaned from creatorId, its disclosure in the response from https://ms.sc-jpl.com/web/getPlaylist may allow a user to correlate Snaps on the Snap Map with a single user. That in turn may allow a user to potentially enumerate that user's public content, by searching for content containing that specific creatorId.
The report does not show the raw request or response bodies, so the exact JSON shape beyond the field names above is not documented.
Root cause
The playlist response includes a field, creatorId, that the client does not need in order to play Snaps. The program states that the inclusion of creatorId in the response was unintentional and unnecessary.
Impact
The impact is limited. The creator's Snap username cannot be immediately derived from creatorId, so this is not a direct leak of user information. What the identifier enables is correlation: a user can tie multiple public Snaps on the map to a single creator, and potentially enumerate that user's public content by searching for content containing that specific creatorId.
The program also notes that all Our Story Snaps that appear on the map go through manual curation, ensuring that most selfie Snaps are filtered out. That curation is what keeps the practical exposure of identifiable content low.
Fix
The issue was resolved by removing the URI from the 200 response, to protect privacy. The program confirms the inclusion was unintentional and unnecessary, and that the field is not required for normal Snap Map operation.
Variants to test
- Look for other public or semi-public feed endpoints that return per-item metadata, and check whether each item carries a stable author identifier alongside the media URL. A positive result is an identifier that stays the same across items from one author and is not needed by the client to render the feed.
- Compare the fields the client actually consumes with the fields the response contains. A positive result is any field present in the JSON that the front end never reads.
- Check whether the identifier can be used as a search or filter parameter elsewhere. A positive result is an endpoint that accepts the identifier and returns that author's other public items.
- Test whether the identifier is stable over time and across sessions for the same author. A positive result is a value that persists, which is what makes correlation and enumeration possible.
Hunting notes
This kind of bug tends to hide in backend services that serialise internal records directly into responses consumed by a map, feed or gallery front end, where the client only needs a subset of the fields. During recon, the signal is a JSON response from a playlist or feed endpoint that contains author-scoped identifiers next to media URLs. The researcher showed that the identifier is unnecessary for the feature and may permit correlating multiple public Snaps to one creator, while the program itself bounded the impact through manual curation of Our Story content.
What happened, in plain words
Snapchat has a feature called Snap Map, at https://map.snapchat.com. It is a map of the world, and when you move around it and click on a place, a public Snap that someone posted near that place plays. The Snaps that appear there come from "Our Story", a collection of public posts that Snapchat curates by hand before they show up on the map.
To make that work, the map page in your browser has to ask a Snapchat server for a list of Snaps to play. That server is a different machine from the map page itself, and the browser talks to it in the background. The reply it sends back is a block of structured data, and that data describes each Snap: how long it lasts, where the video or image file lives, and an internal identifier for the person who posted it.
That last piece is the problem. The identifier, called creatorId, is not needed to play a Snap. The map page never uses it. But because it is sent to every visitor's browser anyway, anyone who looks at the reply can collect it, and the same value keeps appearing for Snaps from the same person. That lets someone group several public Snaps together as belonging to one creator, even though the identifier does not directly reveal a username.
The researcher who found this reported it, and the field was removed from the reply.
A quick word on the label attached to this report: it is filed under Server-Side Request Forgery (SSRF). That term normally describes a server being tricked into making a request to a place it should not reach. The report text itself does not describe any such request; what it describes is an extra field in a response. I mention the label only because it is attached to the report, and the write-up below follows what the text actually says.
The pieces involved
Before the steps, here are the moving parts, because the rest of the article uses them constantly.
The product and the feature. Snap Map is a web page. "Our Story" is the pool of public Snaps that Snapchat reviews by hand before placing them on the map. The feature we care about is the playlist: the list of Snaps that should play for a given spot on the map.
The front end. This is the part of the website that runs in your browser: the map you drag, the pins you click, the video player. It is code that Snapchat sends to your computer and your browser executes.
The backend. This is the computer (or group of computers) at Snapchat that stores the data and answers questions from the front end. Your browser never sees the backend directly; it only sees the answers.
An API. An API is a way for one piece of software to ask another for data, in a fixed format. A useful everyday comparison is a restaurant menu: you do not walk into the kitchen, you pick an item from a list the kitchen has agreed to serve, and food comes back. The menu item is the request, the dish is the response. Here the front end orders "the playlist for this location" and the backend serves it.
An endpoint. An endpoint is one specific address on that menu. It is a URL that accepts a particular kind of request and returns a particular kind of answer. The endpoint in this report is https://ms.sc-jpl.com/web/getPlaylist.
JSON. JSON is a text format for structured data, built from curly braces, square brackets, names and values. It is how most web APIs hand data back. Think of a labelled form: each field has a name and a value, and forms can sit inside forms.
A UUID. A UUID is a long, random-looking string of letters, digits and hyphens, designed to be unique. It is like a coat-check ticket: it identifies one thing without telling you anything about that thing.
POST. When a browser talks to a server it uses a method, which is a verb saying what kind of action this is. GET means "give me something". POST means "here is some data, do something with it". The report says the map uses certain POST methods for these requests.
A 200 response. Every reply from a server carries a status code, a number saying how it went. 200 means "OK, here is your answer". 404 means "not found", 500 means "the server broke". A 200 here means the request succeeded and the body of the reply is the data.
Metadata. Data about data. The video file is the content; the duration, the file location and the author identifier are metadata. It is the label on the parcel rather than the parcel.
Deanonymisation and correlation. Anonymisation means stripping names so that data cannot be tied to a person. Deanonymisation is undoing that. Correlation is the weaker but often sufficient version: you do not learn the name, but you notice that two separate records carry the same marker, so they probably belong to the same person. It is like recognising the same handwriting on two unsigned letters.
Setting the scene
Snap Map, at https://map.snapchat.com, lets users search for curated public Snaps posted to "Our Story" by users at a chosen location. When a user navigates to a point on the map and clicks on a location, a Snap posted by a user in the vicinity of that location plays. In the background, several URLs at https://ms.sc-jpl.com populate the data needed to play Snaps.
So the feature depends on a backend playlist service that returns metadata about each Snap in a location's playlist. The report concerns one field in that metadata, creatorId, which the program describes as a UUID pertaining to the user who uploaded the content.
What you need before starting
The report does not describe any accounts, roles, tools or versions. The only precondition visible in the text is that the Snap Map front end issues requests to the playlist endpoint at https://ms.sc-jpl.com/web/getPlaylist when a user navigates the map, and that the response is a JSON object.
In practice that means a browser and the ability to watch the traffic between the page and the server. Every browser ships with a developer tools panel that shows exactly this: which requests the page made, to which address, and what came back. You do not need to install anything to see the requests described here.
Finding it
The researcher observed that when map.snapchat.com uses certain POST methods, a 200 response is returned which includes an entity describing a URI, CreatorID. That identifier is not needed for the functions on map.snapchat.com to work, and the researcher reasoned that it could be used to deanonymise users.
The program's own summary frames the issue the same way: the Snap Map media responses unnecessarily return a creatorId. The creator's Snap username cannot be immediately derived from creatorId, but users can use the creatorId to correlate multiple public Snaps with that creator.
Why this matters as a finding and not just a curiosity: a field that the client does not need is a field that should not be sent. Sending it costs nothing functionally, but it hands every visitor a stable marker for the author of each Snap. The researcher's reasoning was not "this reveals a name" but "this is unnecessary and it enables linking", which is the right way to judge this class of issue.
Walking through it
Step 1: Load the Snap Map and trigger the playlist request
Navigating to a point on the map and clicking a location causes the front end to request the playlist from the backend. The report identifies the endpoint as:
https://ms.sc-jpl.com/web/getPlaylist
Line by line, this is a single URL, and each part has a job:
https:is the scheme, meaning the traffic is encrypted in transit with TLS. Anyone watching the network between you and the server sees scrambled bytes, not the contents.ms.sc-jpl.comis the host, the name of the server being contacted. It is notsnapchat.com; it is a separate service that the map page relies on./web/getPlaylistis the path, which names the specific endpoint on that server. Read it literally: this is the thing that returns a playlist.
Why this step was taken: the identifier has to come from somewhere, and the report says it arrives in the answer to this request. To see the answer, you first have to cause the request, and the way a normal user causes it is by clicking a location on the map. No special tool is needed to trigger it; ordinary use of the feature does.
Step 2: Read the JSON response
The endpoint responds with a JSON object. This JSON contains information pertaining to each Snap in the playlist, such as the duration, and snapInfo. Examples of data in snapInfo are the creatorId and the mediaUrl: a UUID pertaining to the user who uploaded the content, and an app.snapchat.com URL which contains the content.
Unpacking that in plain terms:
- The top level of the reply is a JSON object, the curly-brace container.
- Inside it, each Snap in the playlist gets its own entry. Each entry carries fields such as the duration, how many seconds the Snap plays.
- Each entry also carries a nested object called
snapInfo, a smaller form inside the bigger form. - Inside
snapInfosit at least two fields.creatorIdis a UUID for the uploader.mediaUrlis a URL onapp.snapchat.comthat points at the actual content file.
Why this step was taken: the researcher needed to see which fields the server actually sends, not which fields the documentation claims. Reading the real reply is the only way to know that creatorId is present and what it looks like. The report does not show the raw request or response bodies, so the exact JSON shape beyond the field names above is not documented.
Step 3: Use the identifier to correlate Snaps
Of the returned fields, creatorId is not necessary for normal Snap Map operation and does not need to be disclosed. While the user identity cannot be directly gleaned from creatorId, its disclosure in the response from https://ms.sc-jpl.com/web/getPlaylist may allow a user to correlate Snaps on the Snap Map with a single user. That in turn may allow a user to potentially enumerate that user's public content, by searching for content containing that specific creatorId.
This is the heart of the issue, so it is worth slowing down on the difference between two things that sound similar:
- Identification would mean going from
creatorIdto a username or a person. The report says this is not possible directly. The UUID is opaque, like a coat-check ticket with no name on it. - Correlation means noticing that the same opaque value appears on several items, and concluding they share an author. You still do not know who, but you now know that these five Snaps are one person's, and that this person posted in these places.
Enumeration is the next step after correlation: once you have a marker, you can go looking for more content carrying that same marker. The report describes this as a possibility, not something demonstrated with a working search.
Why this step was taken: to establish impact. A field being present is not a bug by itself; a field being present and usable to link public posts to one person, while serving no purpose for the feature, is.
Why it happened
The playlist response includes a field, creatorId, that the client does not need in order to play Snaps. The program states that the inclusion of creatorId in the response was unintentional and unnecessary.
A comparison: imagine a shop that prints a packing slip for every order. The slip needs the item and the address. If the system also prints the customer's internal account number because it copied the whole database row onto the slip, nothing breaks, but every courier now holds a number that links all of that customer's orders together.
An allow-list, in this context, means deciding up front which fields are allowed out and dropping everything else, rather than sending the record and hoping nobody notices the extras.
How bad it was
The impact is limited. The creator's Snap username cannot be immediately derived from creatorId, so this is not a direct leak of user information. What the identifier enables is correlation: a user can tie multiple public Snaps on the map to a single creator, and potentially enumerate that user's public content by searching for content containing that specific creatorId.
The program also notes that all Our Story Snaps that appear on the map go through manual curation, ensuring that most selfie Snaps are filtered out. That curation is what keeps the practical exposure of identifiable content low: a human reviews what goes on the map, so the most obviously identifying posts, the selfies, mostly never appear there in the first place.
The fix
The issue was resolved by removing the URI from the 200 response, to protect privacy. The program confirms the inclusion was unintentional and unnecessary, and that the field is not required for normal Snap Map operation.
That is the cleanest possible fix for this class of problem: if the client never reads a field, stop sending it. Nothing in the feature breaks, because nothing in the feature depended on it.
Where else to look
These are the generalisations the technical write-up draws from this report. They are patterns to check, not instructions to attack anything.
- Look for other public or semi-public feed endpoints that return per-item metadata, and check whether each item carries a stable author identifier alongside the media URL. A positive result is an identifier that stays the same across items from one author and is not needed by the client to render the feed.
- Compare the fields the client actually consumes with the fields the response contains. A positive result is any field present in the JSON that the front end never reads.
- Check whether the identifier can be used as a search or filter parameter elsewhere. A positive result is an endpoint that accepts the identifier and returns that author's other public items.
- Test whether the identifier is stable over time and across sessions for the same author. A positive result is a value that persists, which is what makes correlation and enumeration possible.
Notes for your own hunting
This kind of bug tends to hide in backend services that serialise internal records directly into responses consumed by a map, feed or gallery front end, where the client only needs a subset of the fields. During recon, the signal is a JSON response from a playlist or feed endpoint that contains author-scoped identifiers next to media URLs. The researcher showed that the identifier is unnecessary for the feature and may permit correlating multiple public Snaps to one creator, while the program itself bounded the impact through manual curation of Our Story content.
Glossary
- API: a fixed way for one piece of software to ask another for data, like a menu you order from instead of walking into the kitchen.
- Backend: the server-side systems that store data and answer requests from the front end.
- Bounty: a payment a company makes to someone who reports a valid security issue to it.
- Correlation: linking separate records because they share a marker, without necessarily knowing who the person is.
- CreatorID / creatorId: the identifier in the playlist response that points to the user who uploaded a Snap; described in the report as a UUID.
- Deanonymisation: turning data that was meant to be anonymous back into something that can be tied to a person.
- Developer tools: the panel built into browsers that shows the requests a page makes and the responses it receives.
- Endpoint: one specific address on a server that accepts a particular request and returns a particular answer.
- Enumeration: systematically going through a set of items, here looking for more content that carries a given identifier.
- Front end: the part of a website that runs in your browser, such as the map and the video player.
- GET: an HTTP method meaning "give me this resource".
- Host: the server name in a URL, such as
ms.sc-jpl.com. - HTTP status code: a number in every server reply saying how the request went; 200 means OK.
- JSON: a text format for structured data made of named fields and values, often nested inside each other.
- Metadata: data that describes other data, such as a Snap's duration or file location rather than the video itself.
- Method: the verb in an HTTP request, such as GET or POST, saying what kind of action is wanted.
- Our Story: Snapchat's collection of public Snaps, which the report says are manually curated before appearing on the map.
- Path: the part of a URL after the host that names the endpoint, such as
/web/getPlaylist. - Playlist: the list of Snaps the map should play for a chosen location.
- POST: an HTTP method meaning "here is some data, act on it".
- Scheme: the leading part of a URL such as
https:, which says how to communicate;httpsmeans encrypted with TLS. - Server-Side Request Forgery (SSRF): a class of bug where a server is made to send a request to somewhere it should not; the label attached to this report, though the report text describes an extra response field rather than a forged request.
- Snap Map: Snapchat's map feature at
https://map.snapchat.comthat plays public Snaps posted near a chosen location. - snapInfo: the nested object in the playlist response that holds per-Snap fields such as
creatorIdandmediaUrl. - TLS: the encryption that protects HTTPS traffic in transit.
- URI / URL: a way of naming a resource; a URL is the familiar web address form.
- UUID: a long, effectively unique identifier made of letters, digits and hyphens, which reveals nothing about the thing it names.
- Allow-list: an explicit list of what is permitted, with everything else rejected; here, the set of response fields allowed to leave the server.