Skip to content
IDOR Write-up Beginner

CVE-2023-46013 Eramba Community Edition v3.21.1 - Insecure Direct Object Reference (IDOR)

An insecure direct object reference (IDOR) in Eramba Community Edition 3.21.1 allows a low-privileged user to download security program artifacts they are not authorised to access by changing the numeric identifier in the download URL. The attacker must first enumerate valid artifact identifiers to find one they are not permitted to view.

Nick Berrie Follow

Published on machevalia.blog

Written by Nick Berrie

Nick Berrie, on machevalia.blog

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 does not verify that the authenticated user is authorised to access the requested artifact before serving it, relying only on the object identifier in the URL.

Impact

A low-privileged user could download security program artifacts they are not authorised to access, but they must first enumerate valid identifiers, which can be difficult with many attachments.

What the attacker needed

A low-privileged account; knowledge of a valid artifact identifier; enumeration of authorised artifact IDs

The fix

The vulnerability was fixed in version 3.22.0; users should upgrade to that version or later.

How it was found

  1. Log into Eramba and go to a section with security program artifact attachments, such as Security Policies.
  2. Open the comments and attachments for a policy that has an artifact you are allowed to download.
  3. Copy the download link address for that authorised artifact.
  4. Paste the link into a new browser tab and change the numeric identifier to that of an artifact you are not authorised to access.
  5. Press Enter to download the unauthorised artifact.

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 uses a simple identifier, like a number, to refer to a file or record, and does not check whether the person asking is allowed to see that particular item. Here, a user with low privileges could change the number in the download link to fetch files that belong to other users or that they should not see. The fix is to verify on the server that the logged-in user has permission for the requested file before sending it.

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 Nick Berrie

View all

1 more disclosed report, best first.

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.