4 Crits in 48 hours: Unicorn Programs
The report describes four critical vulnerabilities in a SaaS platform, including privilege escalation via leaked identifiers, sensitive data in URLs, and a pre-authentication IDOR. An attacker could take over companies managed by the customer, access API keys, and escalate privileges.
This is a review of the four critical vulnerabilities I discovered in a private program. All terms will be generalised to protect the program.
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 leaked sensitive identifiers (Company-ID, Customer-ID) in various places and failed to enforce proper authorization checks, allowing privilege escalation and unauthorized access.
Impact
An attacker could take over any company managed by the customer, access live API keys and secrets, and escalate privileges to administrator, potentially leading to full compromise of the customer's companies.
What the attacker needed
Access to onboarding forms; knowledge of Company-ID; no authentication for pre-auth IDOR
How it was found
- Obtain the Company-ID from a request related to onboarding forms.
- Use the Company-ID to register an admin user and escalate privileges.
- Use the admin user to access the Get User endpoint and obtain the Customer-ID.
- Use the Customer-ID to list all companies and their Company-IDs.
- Register admin users in any of those companies using the previous flaw.
- Exploit a pre-auth IDOR endpoint with only the Company-ID to fetch API keys and secrets.
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 is about a security researcher finding four serious bugs in a company's online service. The bugs allowed someone to take over other companies' accounts and access secret keys without permission. The researcher explains how they chained small pieces of information to gain more and more access.
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.