HexBrain

Eternal · Report #255651

Unauthorized update of merchants' information via /php/merchant_details.php

Validstatus
highseverity
13upvotes
19 Sept 2017disclosed

How it was found

Hello!

I discovered an interesting file : https://www.zomato.com/php/merchant_details.php

If I add in post content : action=update-merchant&merchant_id=95292&type=1&[email protected]&[email protected]&name=update

With the report #255648, I was able to create a merchant, I should use this merchant to provide a screenshot like in a real situation.

I'm also able to change : address, pincode, city, email, phone tan_number, bank account name, company_id, payu_id, contact, restaurants and more...

An attacker would change the mail to receive confidential mails it may can be leading to an merchant takeover if you use the mail to bound it with the account of the user. I couldn't try this scenario due to your rules about users data.

Do you have a test merchant_id i can play with to test that before you resolve the report?

Screenshot : updatehttp.png

If you have any questions... nbsp

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original