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

BUG: Password change without verification #27

Open
maxemann96 opened this issue Mar 8, 2020 · 0 comments
Open

BUG: Password change without verification #27

maxemann96 opened this issue Mar 8, 2020 · 0 comments

Comments

@maxemann96
Copy link

With a known session id (from myself or sniffed), it is possible to change the password without any confirmation. In combination with Issue #26 it is possible to steal a complete user account without (direct) knowledge of the user (For example if the user left the session open on a public computer).

The following curl command outlines this:

curl --request POST \
  --url http://127.0.0.1:8080/api/account/change_password \
  --header 'content-type: application/json' \
  --cookie JSESSIONID={{ YOUR SESSION ID }} \
  --data '{{ NEW_PASSWORD }}'
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

1 participant