HexBrain

HackerOne · Report #220009

Lack of input sanitization in Marketo form leads to execution of HTML in lead emails

Validstatus
$500bounty
25upvotes
3 Oct 2017disclosed

How it was found

Hi, There is SSRF vulnerability due to img tag injection in "Contact HackerOne Sales" form. Since vulnerability triggers after 18-20 minutes so I am not sure which site it affects. It might affect hackerone or marketo. So I thought it would be better to report it first on hackerone.

POC

  1. Navigate to https://www.hackerone.com/product/features.
  2. Click on "Get Started".
  3. Fill FirstName, LastName, Company and Message by <img src=https://yourserver.com/f onerror=alert(1)>, <img src=https://yourserver.com/l onerror=alert(1)>, <img src=https://yourserver.com/c onerror=alert(1)> and <img src=https://yourserver.com/m onerror=alert(1)>.
  4. Fill the remaining details and submit the form.
  5. Wait 18-20 minutes and check server logs.

In this case ssrf triggers many times. Please check the screenshots.

Thanks

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