Unauthenticated MQTT Wildcard (board/#) Leaks All Pinboard UUIDs to Unauthorized Users
An unauthenticated AWS Cognito Identity Pool allowed anyone to obtain temporary AWS credentials and subscribe to a wildcard MQTT topic on the IoT broker, which broadcast board UUIDs for all active users in real time. An attacker could harvest these UUIDs and use them to access full board contents via the unauthenticated board API, defeating the 'anyone with the link' access model.
- Accepted in 18 days
- Fixed in 51 days
- Disclosed after 4 months
Summary by Opera Public Bug Bounty
We want to extend our sincere thanks to ty5ona who discovered and responsibly reported this flaw. Their work allowed us to quickly fortify our platform before any abuse could occur. Our engineering team immediately modified our system policies. We removed the wildcard access, ensuring that users can only subscribe to pinboards with an exact link.
Summary by ty5ona
An unauthenticated AWS Cognito Identity Pool exposed by Opera Pinboards permitted MQTT wildcard subscription (board/#) against the AWS IoT Core broker. This broadcast board UUIDs for all active users in real time to any unauthenticated subscriber, defeating the application's "anyone with the link" access model in which the board UUID functions as the sole access token for shared boards. An attacker could obtain temporary AWS credentials from the public Cognito Identity Pool, subscribe to the wildcard topic, and passively harvest board identifiers as users interacted with their boards. Harvested UUIDs could then be used to access full board contents (items, descriptions, links, images) via the unauthenticated board API and public view endpoints, enabling systematic bulk enumeration of all active board content over time.
Context
Opera Pinboards is a feature of Opera's platform that lets users create shared boards of items, descriptions, links and images. The access model is "anyone with the link": the board UUID is the only secret, and possession of that identifier is what grants access to the board's contents. There are no per-user accounts gating a shared board; the identifier is the capability.
The report concerns the real-time transport behind the feature. Pinboards used an AWS Cognito Identity Pool and an AWS IoT Core MQTT broker to push board updates. The researcher, ty5ona, found that the Cognito Identity Pool was reachable without authentication and that the resulting credentials could subscribe to a wildcard MQTT topic, board/#, which broadcast the UUIDs of every active board to any subscriber.
Setup
The preconditions are minimal, which is the point of the finding:
- No Opera account and no Pinboards session are required.
- The only thing needed is the identity of the public Cognito Identity Pool, which the Pinboards client exposes.
- From that pool, temporary AWS credentials can be obtained without authentication.
- Those credentials are sufficient to connect to the AWS IoT Core broker and subscribe to topics.
The report does not list tool versions or specific client tooling; the flow is described in terms of the AWS services involved (Cognito Identity Pool, IoT Core MQTT broker) and the board API.
Finding it
The researcher noticed that the Cognito Identity Pool used by Pinboards was exposed and would issue credentials to unauthenticated callers. That alone is a common and often benign pattern: identity pools are frequently configured to allow unauthenticated identities for read-only or scoped access. What made it wrong here was the combination with the MQTT authorisation policy on the IoT Core broker. The policy permitted a wildcard subscription, board/#, so the credentials handed out to anonymous callers could listen to every board topic rather than only the one board the user was viewing.
That defeats the "anyone with the link" model in a specific way. The model assumes the UUID is secret until it is shared. A wildcard subscription turns the broker into a broadcast channel that hands out the secret identifiers for all active boards to anyone listening, so the capability is no longer something a user chooses to share.
Exploitation
Step 1: Obtain temporary AWS credentials from the public Cognito Identity Pool
The researcher took temporary AWS credentials from the unauthenticated Cognito Identity Pool exposed by Pinboards. The report does not include the exact call or the pool identifier, so the request itself is not reproduced here. The important property is that no authentication was involved: the pool issued credentials to an anonymous caller.
Step 2: Connect to the AWS IoT Core broker and subscribe to the wildcard topic
With those credentials, the researcher connected to the AWS IoT Core MQTT broker and subscribed to:
board/#
The # is the MQTT multi-level wildcard, so board/# matches every topic under board/, not just the topic for a single board. Because the broker's policy allowed this subscription for the credentials in question, the subscriber received messages for all boards, not only one.
Step 3: Harvest board UUIDs passively
As users interacted with their boards, the broker broadcast the corresponding board UUIDs to the wildcard subscriber in real time. The researcher did not need to guess identifiers or probe endpoints: the identifiers arrived as a side effect of normal user activity. The report describes this as passive harvesting, and it is the step that breaks the access model, because the UUID is the access token for a shared board.
Step 4: Use the harvested UUIDs against the board API
Harvested UUIDs could then be used to retrieve full board contents, namely items, descriptions, links and images, through the unauthenticated board API and the public view endpoints. Because those endpoints treat the UUID as the sole credential, a harvested identifier is enough to read the board. Repeated over time, this supports systematic bulk enumeration of all active board content.
Root cause
The design flaw is the mismatch between two trust assumptions. The application treats the board UUID as a bearer capability: knowing it is equivalent to being authorised to view the board. The MQTT layer, however, treated board UUIDs as broadcast metadata and allowed any holder of pool credentials to subscribe to all of them at once.
Two configuration choices combine to produce the bug:
- The Cognito Identity Pool allowed unauthenticated identities, so anyone could obtain credentials for the IoT broker.
- The IoT policy attached to those identities permitted the wildcard subscription
board/#instead of restricting subscribers to the exact topic of a board they were entitled to view.
Either control alone would have limited the exposure. With authenticated-only pool access, an attacker would need an account; with a per-board subscription policy, anonymous credentials would only reveal the board the caller already knew about. The report does not describe any additional defence that should have caught this, and the impact follows directly from the two settings above.
Impact
The exposure is to all active Pinboards users whose boards generate broker traffic, and it applies to anyone who can reach the public Cognito Identity Pool, with no account required. The consequences described in the report are:
- Real-time disclosure of board UUIDs for all active users to an unauthenticated subscriber.
- Access to full board contents (items, descriptions, links, images) via the unauthenticated board API and public view endpoints, using harvested UUIDs.
- Systematic bulk enumeration of all active board content over time, since harvesting is continuous and passive.
The report frames the flaw as defeating the "anyone with the link" model: the link, meaning the UUID, is supposed to be shared deliberately, and the wildcard subscription removes that choice. The program rated the report high severity and awarded a bounty of 800.00 USD.
Fix
Opera's engineering team changed the system policies. According to the program's summary, they removed the wildcard access so that users can only subscribe to pinboards with an exact link. In other words, the broker policy now restricts subscriptions to the specific board topic a client is entitled to, rather than allowing board/#.
The report does not describe any change to the Cognito Identity Pool configuration, so the fix as stated is on the MQTT authorisation side.
Variants to test
These are directions suggested by the structure of this finding, not claims about other programs:
- Unauthenticated identity pools feeding IoT or AppSync. Look for public Cognito Identity Pools in client code and check what the issued credentials can reach. A positive result is credentials that can call a service the anonymous user should not access, such as an IoT broker, a GraphQL API or a storage bucket.
- Wildcard MQTT subscriptions. On any IoT Core or self-hosted MQTT deployment, attempt
topic/#and#with the credentials a normal client receives. A positive result is messages arriving for topics belonging to other users or tenants. - Identifier-as-capability APIs. Where a UUID or slug is the only access control on a shared resource, check whether any other channel (websocket, push, broker, logs, error messages) discloses those identifiers to parties who were never given them. A positive result is identifiers for resources the tester never accessed directly.
- Per-tenant topic isolation. In multi-tenant deployments, subscribe to another tenant's topic prefix using your own credentials. A positive result is cross-tenant message delivery.
Hunting notes
This class of bug tends to hide at the seam between a front-end feature and a managed cloud service. The client needs credentials to talk to the broker, so the pool and its configuration end up in shipped JavaScript or in network traffic, and the broker policy is configured separately, often by a different person. Recon signals worth following:
- Cognito Identity Pool identifiers in client bundles, followed by a check of whether unauthenticated identities are enabled.
- IoT Core endpoints and MQTT topic conventions in client code, especially topic patterns that include a user or resource identifier.
- Features described as "share by link", where the link contains an opaque identifier, combined with any real-time component.
The report describes the loop: credentials from the public pool, a wildcard subscription that delivered other users' board UUIDs, and then use of those UUIDs against the unauthenticated board API to read full board contents.
What happened, in plain words
Opera has a feature called Pinboards. A pinboard is a shared collection of items, descriptions, links and images that a user puts together and can share with other people. The way sharing works is simple: every pinboard has a long random identifier called a UUID, and anyone who has that identifier can open the board. There are no accounts or passwords guarding a shared board. The identifier itself is the key.
That design is often described as "anyone with the link". It is a bit like a self-storage locker whose only lock is a very long combination: if you know the combination, you can open the locker, and if you do not, you cannot. The combination is meant to be handed out deliberately, only to people you choose.
The researcher ty5ona found that the real-time part of Pinboards, the machinery that pushes updates to open boards, was leaking those identifiers. Anyone on the internet, without an Opera account, could connect to that machinery and receive the identifiers of every active board as users worked on them. With an identifier in hand, the board's full contents could then be read through ordinary web requests.
Opera rated the report high severity and paid a bounty of 800.00 USD. The engineering team changed the system policies: wildcard access was removed, so a client can now only subscribe to a pinboard using its exact link.
The product and the feature
Opera Pinboards lets a user create a board and fill it with items, descriptions, links and images. The board is then shared by link. The important detail for this story is what sits inside that link: a UUID.
A UUID (universally unique identifier) is a long string of letters and digits generated so that no two are ever likely to collide. It is not a word a person chooses, and it is not guessable in practice. In Pinboards, the UUID is the only thing standing between a stranger and a board's contents. Security people call something like this a capability: possessing the thing is the same as being allowed to use it, much like a cinema ticket. Nobody checks your name at the door; the ticket is the permission.
Because the UUID is the permission, it must stay secret until the owner decides to share it. That is the assumption the whole feature rests on.
The real-time machinery behind it
Pinboards needed a way to push changes to boards as they happened, so that a board updates live rather than only when the page is reloaded. For that, Opera used two Amazon Web Services (AWS) products.
AWS Cognito Identity Pool. Cognito is AWS's sign-in and identity service. An identity pool is a configuration that hands out temporary AWS credentials, which are short-lived keys that let a program call other AWS services. Identity pools can be set up to issue credentials to anonymous visitors, without any login. That is a legitimate pattern for read-only or tightly limited access, in the same way a museum might give every visitor a wristband that only opens the public galleries.
AWS IoT Core MQTT broker. MQTT is a lightweight messaging protocol built around topics. Think of a topic as a named radio channel: a program subscribes to a channel to receive messages published on it, and publishes messages to send them. AWS IoT Core is Amazon's managed MQTT service. A broker is the server in the middle that receives published messages and forwards them to whoever subscribed.
MQTT topics are arranged in levels separated by slashes, and the protocol has wildcards. The character # is the multi-level wildcard: it matches everything below a given point. So a subscription to board/# matches every topic that starts with board/, not just one board's topic. It is like asking a post office to deliver not just your letter but every letter addressed to your street.
Finding it
The researcher noticed that the Cognito Identity Pool used by Pinboards was exposed and would issue credentials to unauthenticated callers. On its own, that is common and often harmless: many applications let anonymous visitors obtain limited credentials. What made it a problem here was the second half, the authorisation policy on the IoT Core broker.
A broker policy decides which topics a given set of credentials may publish to and subscribe to. In this case the policy allowed a wildcard subscription, board/#. That meant the credentials handed to anonymous callers could listen to every board topic, rather than only the topic of the single board the user was looking at.
This defeats the "anyone with the link" model in a specific way. The model assumes the UUID stays secret until it is shared. A wildcard subscription turns the broker into a broadcast channel that hands out the secret identifiers of all active boards to anyone listening. The capability is no longer something a user chooses to share; it is something the system gives away.
Exploitation
Step 1: Obtain temporary AWS credentials from the public Cognito Identity Pool
The researcher took temporary AWS credentials from the unauthenticated Cognito Identity Pool exposed by Pinboards. The report does not include the exact call or the pool identifier, so the request itself is not reproduced here. The important property is that no authentication was involved: the pool issued credentials to an anonymous caller.
Why this step matters: those credentials are the ticket that lets a program talk to the IoT broker. Normally you would need to be a logged-in user to get them. Here, anyone could ask, and the pool answered.
Step 2: Connect to the AWS IoT Core broker and subscribe to the wildcard topic
With those credentials, the researcher connected to the AWS IoT Core MQTT broker and subscribed to:
board/#
Line by line, this is a single MQTT topic filter:
boardis the first topic level. Every pinboard topic lives underneath it./separates topic levels, the same way it separates folders in a file path.#is the multi-level wildcard. It stands for "everything from here downwards", however many levels deep.
So board/# does not mean "the board I am looking at". It means "every board topic that exists". Because the broker's policy allowed this subscription for the credentials in question, the subscriber received messages for all boards, not only one.
Why this step matters: subscribing is the act of listening. A normal client would subscribe only to the topic of the board its user opened. The wildcard turns a single subscription into a listener for the whole service.
Step 3: Harvest board UUIDs passively
As users interacted with their boards, the broker broadcast the corresponding board UUIDs to the wildcard subscriber in real time. The researcher did not need to guess identifiers or probe endpoints: the identifiers arrived as a side effect of normal user activity. The report describes this as passive harvesting, and it is the step that breaks the access model, because the UUID is the access token for a shared board.
Why this step matters: guessing a UUID is hopeless, because the space of possible values is enormous. Harvesting sidesteps guessing entirely. The attacker simply waits, and the system volunteers the secrets as ordinary users go about their day. "Passive" means the attacker does not have to interact with anyone's board to get its identifier; listening is enough.
Step 4: Use the harvested UUIDs against the board API
Harvested UUIDs could then be used to retrieve full board contents, namely items, descriptions, links and images, through the unauthenticated board API and the public view endpoints. Because those endpoints treat the UUID as the sole credential, a harvested identifier is enough to read the board. Repeated over time, this supports systematic bulk enumeration of all active board content.
An API (application programming interface) is the set of web addresses a website's own pages use to fetch and send data. When you open a board in your browser, the page quietly calls the API to get the board's items, and the API answers with data rather than a finished web page. An endpoint is one such address. "Unauthenticated" means the endpoint does not ask who you are; it only wants the identifier.
Why this step matters: leaking identifiers would be a lesser problem if the identifiers were useless. This step closes the loop. The harvested UUID is fed to the board API, the API treats it as proof of permission, and the full contents come back. Done repeatedly, it becomes a systematic sweep of every active board's content over time.
Root cause
The design flaw is the mismatch between two trust assumptions. The application treats the board UUID as a bearer capability: knowing it is equivalent to being authorised to view the board. The MQTT layer, however, treated board UUIDs as broadcast metadata and allowed any holder of pool credentials to subscribe to all of them at once.
Two configuration choices combine to produce the bug:
- The Cognito Identity Pool allowed unauthenticated identities, so anyone could obtain credentials for the IoT broker.
- The IoT policy attached to those identities permitted the wildcard subscription
board/#instead of restricting subscribers to the exact topic of a board they were entitled to view.
Either control alone would have limited the exposure. With authenticated-only pool access, an attacker would need an account; with a per-board subscription policy, anonymous credentials would only reveal the board the caller already knew about. The report does not describe any additional defence that should have caught this, and the impact follows directly from the two settings above.
A useful comparison: a hotel that gives every guest a master key to all rooms has one problem. A hotel that gives every guest a key to their own room, but prints the room numbers of all guests on a public noticeboard, has a different one. Here both mistakes were present at once, and each made the other worse.
Impact
The exposure is to all active Pinboards users whose boards generate broker traffic, and it applies to anyone who can reach the public Cognito Identity Pool, with no account required. The consequences described in the report are:
- Real-time disclosure of board UUIDs for all active users to an unauthenticated subscriber.
- Access to full board contents (items, descriptions, links, images) via the unauthenticated board API and public view endpoints, using harvested UUIDs.
- Systematic bulk enumeration of all active board content over time, since harvesting is continuous and passive.
The report frames the flaw as defeating the "anyone with the link" model: the link, meaning the UUID, is supposed to be shared deliberately, and the wildcard subscription removes that choice. The program rated the report high severity and awarded a bounty of 800.00 USD.
Fix
Opera's engineering team changed the system policies. According to the program's summary, they removed the wildcard access so that users can only subscribe to pinboards with an exact link. In other words, the broker policy now restricts subscriptions to the specific board topic a client is entitled to, rather than allowing board/#.
The report does not describe any change to the Cognito Identity Pool configuration, so the fix as stated is on the MQTT authorisation side.
Variants to test
These are directions suggested by the structure of this finding, not claims about other programs:
- Unauthenticated identity pools feeding IoT or AppSync. Look for public Cognito Identity Pools in client code and check what the issued credentials can reach. A positive result is credentials that can call a service the anonymous user should not access, such as an IoT broker, a GraphQL API or a storage bucket.
- Wildcard MQTT subscriptions. On any IoT Core or self-hosted MQTT deployment, attempt
topic/#and#with the credentials a normal client receives. A positive result is messages arriving for topics belonging to other users or tenants. - Identifier-as-capability APIs. Where a UUID or slug is the only access control on a shared resource, check whether any other channel (websocket, push, broker, logs, error messages) discloses those identifiers to parties who were never given them. A positive result is identifiers for resources the tester never accessed directly.
- Per-tenant topic isolation. In multi-tenant deployments, subscribe to another tenant's topic prefix using your own credentials. A positive result is cross-tenant message delivery.
Hunting notes
This class of bug tends to hide at the seam between a front-end feature and a managed cloud service. The client needs credentials to talk to the broker, so the pool and its configuration end up in shipped JavaScript or in network traffic, and the broker policy is configured separately, often by a different person. Recon signals worth following:
- Cognito Identity Pool identifiers in client bundles, followed by a check of whether unauthenticated identities are enabled.
- IoT Core endpoints and MQTT topic conventions in client code, especially topic patterns that include a user or resource identifier.
- Features described as "share by link", where the link contains an opaque identifier, combined with any real-time component.
The report describes the loop: credentials from the public pool, a wildcard subscription that delivered other users' board UUIDs, and then use of those UUIDs against the unauthenticated board API to read full board contents.
Glossary
- API: the set of web addresses a website's own pages use to fetch and send data, returning raw data rather than finished pages.
- AWS: Amazon Web Services, Amazon's cloud platform offering many separate services.
- Bearer capability: a secret that grants access simply by being possessed, with no separate identity check, like a cinema ticket.
- Broker: the server in a messaging system that receives published messages and forwards them to subscribers.
- Capability: see bearer capability; the thing itself is the permission.
- Cognito Identity Pool: an AWS configuration that hands out temporary AWS credentials, optionally to anonymous visitors.
- Credentials: short-lived keys that let a program call an AWS service.
- Endpoint: one specific web address that an API exposes.
- Enumeration: systematically going through a list of items, here all active boards, to collect their contents.
- Harvesting: collecting identifiers over time as they appear, rather than guessing them.
- Identity pool: see Cognito Identity Pool.
- IoT Core: Amazon's managed service for connecting devices and programs over messaging protocols such as MQTT.
- MQTT: a lightweight messaging protocol built around named topics that clients publish to and subscribe to.
- Multi-level wildcard (
#): an MQTT character that matches every topic level below a given point. - Passive: done by listening only, without interacting with the target's users or boards.
- Pinboards: Opera's feature for creating and sharing boards of items, descriptions, links and images.
- Policy: a set of rules deciding which topics or resources a given set of credentials may use.
- Publish / subscribe: the messaging pattern where senders publish to a topic and receivers subscribe to it.
- Real time: delivered as events happen, rather than on a later page reload.
- Recon: the information-gathering phase of security testing.
- Severity: a rating of how serious a flaw is, here high.
- Slug: a short readable identifier used in a web address in place of a number.
- Subscribe: to register to receive messages on a topic.
- Tenant: one separate customer or organisation sharing a multi-customer system.
- Temporary credentials: see credentials; they expire after a short period.
- Topic: a named channel in MQTT that messages are published to and subscribed from.
- Unauthenticated: reachable without logging in or proving who you are.
- UUID: a long random identifier, effectively impossible to guess, used here as the only key to a shared board.
- Wildcard subscription: a subscription using a wildcard character so that it matches many topics at once.