Skip to content
IDOR Disclosed report Intermediate

No error thrown when IDOR attempted while editing address

When a user tried to edit another user's address, the server did not reject the request and instead created a new address on the attacker's own account. Repeating the request with many threads caused large numbers of addresses to be created and the site to return a 503 error.

merbin Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 2 months
  • Disclosed after 3 months

Summary:

demo.openmage.org application having features to add, edit and delete addresses. When a user tries to edit the address of another user, the server adds a new address with a new id on the attacker's account. By sending it to an intruder, an attacker may cause Dos.

Steps To Reproduce:

  1. Create two user accounts demo.openmage.org with different emails
  2. Add addresses on both accounts
  3. Edit the address on account 1 and capture the request on burp and send it to the repeater
  4. Replace the ID of the address on both GET request and referee header with the ID of the address of the account 2
  5. Submit the request, Now you can see a new address is added on account 1 with a new ID.

(here, when an attacker try to edit the address of another user, the server should not create new address) 6. Now Send the same request to intruder with the id of the address of the victim, and set payload as null byte 7. Start attack with min 60 threads 8. Now you can see many addresses is added on user account 1. and soon you will see 503 Error code

Supporting Material/References:

  • Kazam_screencast_00000.mp4 From the original on HackerOne

Impact

  • It may cause Dos

The original report as published on HackerOne, by merbin. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the edit endpoint did not verify that the address being edited belonged to the requesting user, and it fell back to creating a new address instead of rejecting the request.

Impact

Repeated requests could create large numbers of addresses and cause a denial of service, shown by the site returning a 503 error.

What the attacker needed

Two free accounts; ability to intercept requests

How it was found

  1. Create two accounts with different email addresses and add an address to each.
  2. Capture the request sent when editing an address on the first account and send it to the repeater.
  3. Replace the address identifier in the request and in the referer header with the identifier of the second account's address.
  4. Submit the request and observe that a new address is created on the first account.
  5. Send the same request to the intruder with a null byte payload and at least 60 threads.
  6. Observe many addresses being created on the first account and eventually a 503 error.

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 report has not been written yet. The Original tab links to the source.

An address book lets you save delivery details. Normally the server should check that an address belongs to you before letting you change it. Here it did not check properly, so a request aimed at someone else's address quietly made a copy on the sender's account, and sending that request many times at once filled the account and overloaded the site.

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 from OpenMage

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.