Skip to content
IDOR Write-up Beginner

The fine line of IDOR (ESET $WAG)

The application's message deletion endpoint accepted an object identifier in the 'mainTable_selection' parameter without verifying that the message belonged to the requesting user. An attacker could delete other users' welcome messages by substituting their identifiers.

can1337 Follow

Published on infosecwriteups.com

Today we’re going to talk about the vulnerability that I found on ESET a few months ago. The vulnerability has been fixed and I’ve permission to make it public so we can talk freely!

can1337, on infosecwriteups.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

Impact

An attacker could delete other users' welcome messages, and because email numbering was sequential, potentially all emails in the system could be deleted.

What the attacker needed

A free account; ability to intercept HTTP requests

The fix

The vulnerability was fixed.

How it was found

  1. Sign up to the application and notice a welcome message.
  2. Intercept the request sent when deleting the welcome message.
  3. Observe that the 'mainTable_selection' parameter is empty in the request.
  4. Find the object identifier in the application panel and note it is included in the request.
  5. Create a second user and replace the identifier with that user's welcome message identifier.
  6. Resend the request and confirm the victim's welcome message is deleted.

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 access or change something by simply providing its identifier, without checking that it belongs to you. Here, the delete-message request included a hidden identifier for the message, and the server deleted whatever message that identifier pointed to, even if it belonged to another user.

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 can1337

View all

4 more disclosed reports, 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.