Skip to content
IDOR Disclosed report Intermediate

chainning bugs to get full disclosure of Users addresses

The report describes an IDOR in the customerAddress parameter that allows accessing other users' addresses, and a business logic flaw where setting a product quantity to -1 makes the order free. An attacker could enumerate addresses and place free orders.

spaceboy20 Follow

Originally disclosed on HackerOne

Medium 5.7 View original
  • Triaged in 3 days
  • Fixed in 3 days
  • Disclosed after 4 days

Summary: I was able to disclose any address that was used by the customers. The only barrier that came across that I need to put my visa on. On seeing that I managed to bypass it . just after bypassing that, my order was accepted and the price was set to free So i don't know actually if there is an order that will be sent on that address. I got a confirmation mail from the website confirming that my order was accepted and included an address which belongs to other user ! :D

Steps To Reproduce:

  1. Go to https://glovostore.com/ and log in
  2. Select any product then proceed in putting an address.
  3. proceed to check out and capture that request using burpsuite as screenshot_1
  4. We will find that the address that belongs to me has a number in the parameter "customerAddress" and that parameter is exploitable as i can change that number which results that i can reach other users' addresses. * we will know how after a minute *
  5. We now can send a post request now that contain our modified customer address.
  6. we will see that we received a payment link that will eventually make it horrible for me if i want to see all useres' addresses. however, that's a way in getting the addresses. after payment we will find an email sent to us on our email which will contain an address to an existing user.
  7. If we want to make that attack more easy and harmful, we return to the burp to the request we captured earlier.
  8. We will find "products" parameter that consists of an array, we will set the "qt" value = -1
  9. Now we send the request to find that our order now has no cost !! + a confirmation mail was sent to me that contains the address.
  10. finally, we can send that request to intruder and add a list of numbers as payloads to get as much addresses as we can as demonstrated on Screenshot_2

Supporting Material/References: CustomerAddresses to test [3038813,3038817,3038821]

Screenshot_3 shows a sample of the address sent to the email.

Please note: I don't know if i have to submit multiable bugs as bypassing the paying site leads to flooding team responseable for accepting the orders with false positives which is an issue. and the information disclosure is a different bug.

Impact

  1. Disclose addresses of glovostore users
  2. bypass the paying Site that leads to accepted orders without charge

Attachments

Screenshot_1.png
Screenshot_1.png From the original on HackerOne
Screenshot_2.png
Screenshot_2.png
Screenshot_3.png
Screenshot_3.png

The original report as published on HackerOne, by spaceboy20. 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 application did not verify that the customerAddress parameter belonged to the authenticated user, and it did not validate that product quantities were positive.

Impact

An attacker could disclose addresses of other users and bypass payment to place free orders, potentially flooding the order team with false orders.

What the attacker needed

A user account; ability to intercept HTTP requests

How it was found

  1. Log in to the website and select a product, then proceed to enter an address.
  2. Capture the checkout request using Burp Suite.
  3. Modify the customerAddress parameter to a different number.
  4. Send the modified request and complete payment to receive an email with another user's address.
  5. In the captured request, set the quantity (qt) value to -1 to make the order free.
  6. Use Burp Intruder with a list of numbers as payloads to enumerate many addresses.

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.

The website used a simple number to identify which address belongs to you. By changing that number, you could see other people's addresses. Also, by setting the quantity of a product to a negative number, the order total became zero, so you could place orders for free.

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 spaceboy20

View all

2 more disclosed reports, best first.

More from Glovo

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.