CSRF AT INVITING PEOPLE THOUGH PHONE NUMBER
The report claims that the endpoint for inviting users by phone number lacks a CSRF token, so an attacker could craft a form to send invitations on behalf of a logged-in user. The text does not demonstrate a successful attack or its consequences.
Originally disclosed on HackerOne
- Fixed in 7 days
- Disclosed after 7 months
Hello,
Please Add CSRF Token While Inviting The User Though Phone Number , You Have Good Rate Limit Protection But At The Same Time Add CSRF TOKEN :-
CODE :-
<html> <body> <form action="https://www.zomato.com/php/restaurantSmsHandler"> <input type="hidden" name="type" value="zomato-app-details" /> <input type="hidden" name="mobile_no" value="xxxxxxxxxxxxxx" /> <input type="submit" value="Submit request" /> </form> </body> </html>Thanks!
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
Impact
An attacker could potentially send invitations to arbitrary phone numbers on behalf of a logged-in user, but the text does not confirm this or describe any further impact.
What the attacker needed
Victim has a session with the site; victim submits the crafted form
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.
CSRF (Cross-Site Request Forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user's knowledge. Here, the researcher says the invitation form does not include a secret token to prove the request came from the real site, so an attacker could trick a user into sending invitations. The report does not show what actually happens if this is exploited.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.