Skip to content
Access control Write-up Intermediate

Empty Page Leaked a JWT — Privilege Escalation From the Lowest

A page visible to the lowest-privileged Messaging role leaked a JWT bearer token for a third-party integration API. That token was accepted by the Connections endpoints without re-checking the user's role, allowing a low-privileged user to read connection data, redirect data delivery, and rotate SFTP/FTP credentials.

ali alhassoun Follow

Published on deepvvm.medium.com

The platform lets brands and their partners collaborate inside a shared workspace: they run campaigns, settle commissions, and move large data files between each other’s systems. Everyone from the same company works inside a single organization, and an administrator invites teammates and assigns each of them a role…

ali alhassoun, on deepvvm.medium.com

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.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely two issues: an over-exposed page leaked a JWT to a low-privileged user, and the external API did not enforce role checks on Connections endpoints, accepting the token for privileged operations.

Impact

A Messaging user could read connection data and partner PII, redirect where sensitive data and earnings are delivered, and revoke the owner's access by rotating credentials; the API Access Tokens endpoints returned 403, showing the external API could enforce authorization but did not for Connections.

What the attacker needed

A Messaging role account; access to the 'Unsubscribed Outreach Emails' page; a proxy to capture traffic

How it was found

  1. Register an account and get invited into an organization as a Messaging user.
  2. Browse the application with a proxy recording traffic.
  3. Open the 'Unsubscribed Outreach Emails' page, which loads an empty table.
  4. Capture the background request that carries a JWT bearer token.
  5. Replay the token against the external API's Connections endpoints to read data and perform actions.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A user with the most limited role could open a page that looked empty, but the page secretly fetched a digital key (a token) for a separate system. That system trusted the key without checking what the user was allowed to do, so the low-privileged user could perform sensitive actions like reading connection details and changing where files are sent.

What is Access control?

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.

More by ali alhassoun

View all

1 more disclosed report, best first.

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.