Zomato: IDOR in treat subscriptions

ID H1:313050
Type hackerone
Reporter harsh13
Modified 2018-04-25T12:25:30


The treat subscriptions tab in my profile has an IDOR.

The corresponding api:

POST /php/filter_user_tab_content.php HTTP/1.1 user_id=██████&tab=treat_subscription&order_history_offset=0&order_history_limit=20

You can give any user id and you will be able to see the treat subscriptions of that user.


A user can view treat subscriptions of any other user.