Skip to content
Access control Write-up Beginner

I Found 3 Critical Vulnerabilities in an AI-Powered SOC Platform — Full Attack Chain

The platform allowed unauthenticated users to create admin accounts by supplying role and tenant_id in the signup metadata, and trusted a client-side tenant_id stored in localStorage for data access. An attacker could therefore access the security operations data of every tenant on the platform.

alisalive Follow

Published on alisalive.medium.com

A few weeks ago I was given authorization to perform a full black-box penetration test on an AI-powered Security Operations Center platform. The platform is a multi-tenant SaaS product — meaning dozens of enterprise organizations use the same system to manage their security alerts, incidents, phishing investigations…

Shikhali Jamalzade, on alisalive.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

The application used client-supplied values (user_metadata.role and tenant_id from localStorage) for authorization decisions without server-side validation or enforcement.

Impact

Any unauthenticated person could create an admin account and then access the complete security operations data of every tenant on the platform, including employee details, internal hostnames, incidents, and audit logs.

What the attacker needed

No account needed initially; Internet access; Victim not required

The fix

The report recommends removing role and tenant_id from client-supplied signup metadata, assigning them only through server-side logic, and enforcing tenant membership on every request from the server-issued session rather than from client input.

How it was found

  1. Visit the login page and note the admin credentials shown in the Quick Demo Login button.
  2. Send a signup request to the Supabase auth endpoint with role set to admin and a tenant_id in the data field.
  3. Log in with the newly created account and open the MSSP management panel, which lists all tenants.
  4. In the browser's localStorage, change the tenant_id to another organisation's identifier and reload the page.
  5. Observe the dashboard now displays the other organisation's security data.

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.

This report describes a security operations platform where two basic checks were missing. First, anyone could sign up and simply claim to be an administrator, and the system believed them. Second, the system decided which company's data to show based on a value stored in the user's browser, which the user could change to any other company's identifier. Together, these let an outsider read the security data of every organisation using the platform.

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.

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.