OpenMage · Report #1085743
No error thrown when IDOR attempted while editing address
Validstatus
mediumseverity
33upvotes
26 Apr 2021disclosed
How it was found
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:
- Create two user accounts demo.openmage.org with different emails
- Add addresses on both accounts
- Edit the address on account 1 and capture the request on burp and send it to the repeater
- Replace the ID of the address on both GET request and referee header with the ID of the address of the account 2
- 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)
- Now Send the same request to intruder with the id of the address of the victim, and set payload as null byte
- Start attack with min 60 threads
- Now you can see many addresses is added on user account 1. and soon you will see 503 Error code
Supporting Material/References:
- {F1169693}
Impact
- It may cause Dos