Cross-Tenant Payment Method Manipulation via IDOR
A multi-tenant financial platform's simulator tool allowed an authenticated partner to update another partner's payment method status by supplying that partner's object ID. An attacker could disable payment methods belonging to other tenants, breaking tenant isolation.
medium.com
Published on medium.com
While exploring the sandbox environment of a multi-tenant financial platform, I uncovered a severe IDOR vulnerability that allowed a malicious tenant to update the payment method status of other tenants breaking tenant isolation and potentially disabling payment flows across the entire platform.
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 simulator endpoint accepted a client-supplied merchantPaymentMethodId and performed the update without verifying that the object belonged to the authenticated tenant.
Impact
A malicious tenant could disable payment methods belonging to other tenants, potentially disrupting payment flows across the platform.
What the attacker needed
Authenticated as a partner tenant; access to the simulator tool; knowledge of another tenant's object ID
How it was found
- Authenticate as Partner A and open the simulator tool that sends test operations using internal object IDs.
- Replace the merchantPaymentMethodId in the request body with an ID belonging to Partner B.
- Send the update request; the payment method tied to Partner B is disabled.
- Log in as Partner B and view the profile to confirm the payment method is disabled.
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 system, each customer (tenant) should only be able to touch their own data. Here, a test tool accepted an identifier belonging to a different tenant and changed that tenant's payment method without checking ownership. This is called an insecure direct object reference (IDOR): the server trusts an ID supplied by the user instead of verifying it belongs to them.
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.