I Found a Massive Cross-Tenant Access Control Bug by Testing Mult
A Sales user from one tenant could access, edit, and delete resources in another tenant by changing the Host header and resource ID. This affected all Sales API calls across modules, allowing cross-tenant data breaches and manipulation.
The CRM has multiple user roles — think Admin (the boss), Support (customer service champs), and Sales (the deal-closing hustlers). Each role has different permissions, like viewing Invoices, editing Leads, or deleting Campaigns.
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 missing tenant ID checks on API endpoints for the Sales role, while other roles had such checks.
Impact
A Sales user could access, edit, or delete any resource in another tenant, leading to data breaches, financial loss, and regulatory issues.
What the attacker needed
A Sales user account in one tenant; Knowledge of another tenant's hostname; Ability to intercept and modify requests (e.g., Burp Suite)
How it was found
- Log in as a Sales user on company1.crm.com and capture an API request (e.g., to view an Invoice) in Burp Suite.
- Send the request to Burp Repeater, change the Host header to company2.crm.com, and modify the resource ID to target company2's data.
- Observe that the request succeeds, returning company2's data.
- Repeat with POST (edit) and DELETE requests to confirm editing and deletion also work.
- Test other modules (Leads, Contacts, Campaigns) to confirm the issue is systemic.
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.
In a multi-tenant app, each company's data should be isolated. The bug meant a low-privilege user (Sales) could reach other companies' data by changing the web address in the request. This is like a hotel guest using their key card to open other guests' rooms.
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.