Skip to content
IDOR Disclosed report Beginner

IDOR(indirect object references) on add friend,complement and send message

The report describes an insecure direct object reference (IDOR) vulnerability in Yelp's add friend, compliment, and send message features. By intercepting requests and changing the user ID parameter, an attacker could perform these actions on behalf of another user without proper authorization checks.

w3b7ricks73r Follow

Originally disclosed on HackerOne

  • Disclosed after 14 months

Hi security ,

Description: I found user id in encrypted form from there profile url https://www.yelp.com/user_details?userid=<user id's>

on intercepting request of add friend, complement and send message i can identify user id .. when i change identified user ID to other user's ID then request of add friend is send to other user without any token and secession validation .. scenario for the complement and send message is same.

Impact: ->an attacker can add the authenticated user to his account or any others accounts .. ->can send message to any one by user's account ->can complement on other users by victim user

More information about this issue is available here:

https://www.owasp.org/index.php/Top_10_2013-A4-Insecure_Direct_Object_References https://www.owasp.org/index.php/Testing_for_Insecure_Direct_Object_References_(OTG-AUTHZ-004)

Reproduction Steps:- for add friend 1.>login to your test account 2.>visit any two user's profile 3.>click on add friend on user one 4.>intercepting request 5.>identify user id and change it to second user's id on each request 6.>click on send 7.>intercept request and change user id 8.>check the screen with the message od request is send to second user (request is send to another user)

Reproduction Steps:- for complement 1.>login to your test account 2.>visit any two user's profile 3.>click on complement of user one 4.>intercepting request 5.>identify user id and change it to other user's id on each request 6.>type the complement 7.>intercept request and change user id 8.>check the screen with message that complement is send to second user (complement is send to second user)

Reproduction Steps:- for send message 1.>login to your test account 2.>visit any two user's profile 3.>click on send message of user one 4.>intercepting request 5.>identify user id and change it to other user's id on each request 6.>type the message 7.>intercept request and change user id 8.>check the screen with message that complement is send to second user (message is send to second user)

Please Find the video POC from the links

https://mega.nz/#!FR5CxSrD!wxqSN9BomoznTwDATDc-DiiAHsFj80W7VqNPklO4FYs

https://mega.nz/#!UQBBWY7C!85q0Nn9F9icsf_KXfuis_YNJVc7tIp6ebr4Javi6Za0

Regards Aaysha Khilji

The original report as published on HackerOne, by w3b7ricks73r. 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 fails to verify that the authenticated user has permission to modify the specified user ID in the request, allowing arbitrary user IDs to be used.

Impact

An attacker could add users as friends, send messages, and post compliments as another user.

What the attacker needed

A valid user account; ability to intercept HTTP requests

How it was found

  1. Log in to a test account.
  2. Visit two different user profiles.
  3. Click 'add friend' on the first user and intercept the request.
  4. Identify the user ID in the request and change it to the second user's ID.
  5. Send the modified request and observe that the friend request is sent to the second user.

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.

This report is about a security flaw where a website trusts a user ID sent in a request without checking if the person making the request is allowed to act on that ID. An attacker can change the ID to someone else's and perform actions like adding friends or sending messages as that other person. This is called an insecure direct object reference (IDOR).

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 w3b7ricks73r

View all

1 more disclosed report, best first.

More from Yelp

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.