Skip to content
IDOR Write-up Beginner

Abusing internal API to achieve IDOR in New Relic

An internal API endpoint on the alerts subdomain did not verify that the account number in the request matched the authenticated user's account, allowing an attacker to read data from any New Relic account by enumerating sequential account numbers.

Jon Bottarini Follow

Published on jonbottarini.com

Bounty$1,000 View original

I recently found a nice insecure direct object reference (IDOR) in New Relic which allowed me to pull data from other user accounts, and I thought it was worthy of writing up because it might make you think twice about the types (and the sheer number!) of API’s that are used in popular web services.

Jon Bottarini, on jonbottarini.com

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

The internal API endpoint failed to check that the requested account number belonged to the authenticated user.

Impact

An attacker could view account events, messages, violations, policy summaries, infrastructure events and filters, and account settings from any New Relic account.

What the attacker needed

A standard New Relic user account; knowledge of the internal API endpoint; ability to send requests with a chosen account number

The fix

The bug was fixed by the vendor.

How it was found

  1. Find the internal API endpoint on the alerts subdomain that takes an account number.
  2. Send a GET request to that endpoint with your own account number to confirm it works.
  3. Change the account number in the request to another account's number.
  4. Observe that the response returns data from the other account.

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) happens when a website lets you change an identifier in a request, like an account number, and does not check that the identifier belongs to you. Here, the internal API returned data for whatever account number was supplied, so anyone with a normal account could read other customers' information by guessing numbers.

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.

More by Jon Bottarini

View all

7 more disclosed reports, best first.

More from New Relic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.