Reverse Search Idor Approach To Exposure Of All Organizational Sensitive Information
An IDOR vulnerability allowed an attacker to access any corporate account's data by manipulating CorpID and SiteID parameters. The attacker could obtain these identifiers by changing the Host header to the victim company's domain, then use them to retrieve sensitive information such as API keys and billing details.
Published on infosecwriteups.com
I’m Manav Bankatwala, and I’m a security researcher. I’m not sure what kind of radioactive spider bit me, but it gave me the power to see security vulnerabilities everywhere.
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 application failed to verify that the authenticated user had permission to access the requested CorpID and SiteID, and it also exposed these identifiers through an endpoint that trusted the Host header.
Impact
An attacker could access sensitive information of any corporate account, including API keys and billing information, potentially leading to full compromise of the victim's data.
What the attacker needed
Attacker account; victim company domain known; ability to modify Host header
How it was found
- Login to attacker account and capture all API calls containing CorpID and SiteID parameters.
- Login to the victim account and copy the CorpID and SiteID values.
- Replace the attacker's API call parameters with the victim's values to retrieve victim data.
- Use Burp Suite search to find where SiteID and CorpID are leaked in responses.
- Change the Host header to the victim company's domain in the /reply/stylebydomain request to obtain the victim's CorpID.
- Use the obtained CorpID in /reply/GetfirstCorp to get the SiteID, then use other API calls to extract all victim corporate 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.
An IDOR (Insecure Direct Object Reference) is a flaw where a website uses an identifier like a user ID in a request, and doesn't check if you're allowed to access that ID. Here, the site used company and site IDs in API calls, and by swapping them with another company's IDs, an attacker could see that company's private data. The attacker found those IDs by changing the Host header to the victim's domain.
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.