Cross-Tenant Data Exposure at Lexzur: How I Found a BOLA That Lea
The server checked that a session cookie was valid but never verified that the session belonged to the tenant ID in the URL, so an attacker logged into one tenant could request another tenant's contract download endpoint and receive a fully rendered page containing the victim's live JWT bearer token and email. The leaked token could then be used to make authenticated API requests as the victim, and sequential tenant IDs made mass enumeration possible.
Published on medium.com
Author: Abdelrahman Silem (virusboda) Date: May 2026 Severity: High — CVSS 8.1 Status: Silently Patched in v9.21.00
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 the server authenticated the session cookie but did not perform a server-side check that the session's tenant matched the tenant ID supplied in the URL path.
Impact
An attacker with any valid account could read another tenant's legal contract data and obtain a live bearer token valid for seven days, potentially enumerating tenants at scale; the text does not mention any defence that limited the exploit.
What the attacker needed
A free account on the platform; knowledge of a victim tenant ID; no victim interaction required
The fix
The endpoint was fixed in version 9.21.00 to redirect cross-tenant requests to login, and the report recommends server-side tenant authorization on every request plus not embedding tokens in HTML.
How it was found
- Create two separate test accounts, one as attacker tenant and one as victim tenant.
- Note the URL pattern containing tenant ID and file ID as sequential integers.
- Send a request to the victim tenant's contract download endpoint using the attacker's session cookie.
- Observe HTTP 200 with a large authenticated HTML page containing victim data.
- Search the response for token and user variables to extract the victim's JWT and email.
- Repeat across several file IDs to confirm consistent access.
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 multi-tenant service keeps each customer's data separate, like separate locked rooms in one building. The server checked that you had a key to the building but not that your key opened the room you were asking for. So a user from one company could ask for another company's page and get it, including a login token that let them act as that other company.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.