The Bug Hiding in Plain Sight: A Simple Click Led to Cross-Org Account Takeover
An IDOR vulnerability allowed an authenticated user from one organisation to retrieve the New Relic login URL for another organisation's website by supplying that site's ID. This gave full access to the third-party analytics account without any further authentication.
What I discovered wasn’t a zero-day or an advanced injection. It was an IDOR, simple and silent — hiding in a flow that felt too “normal” to be suspicious.
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 endpoint that returns the New Relic login URL did not verify that the requesting user belonged to the organisation that owns the supplied site ID.
Impact
An attacker could gain full access to another organisation's New Relic analytics account, and because site IDs were publicly archived, this could be scaled to many accounts.
What the attacker needed
A free account; knowledge of a target site_id
The fix
The endpoint should be fixed to verify that the authenticated user belongs to the organisation that owns the supplied site ID before returning the New Relic login URL.
How it was found
- Create a free account and a new website, then open its dashboard.
- Click 'Activate New Relic Pro' and then 'Go to New Relic' to trigger the login URL request.
- In Burp Suite, observe the request that returns the new_relic_login_url field.
- Log out and log in as a second account (Org_2).
- Send the same GET request using the site_id from the first account (Org_1) while authenticated as Org_2.
- Observe that the response contains the New Relic login URL for Org_1's site.
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 when a website uses an identifier like a site ID to fetch data but doesn't check if the person asking actually owns that site. Here, the site let anyone logged in fetch a secret login link for any site ID, so an attacker could take over another organisation's New Relic analytics account.
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.