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

There is a CSRF vulnerability that can be reset password of any account #19

Closed
zyfyc opened this issue Feb 16, 2019 · 3 comments
Closed

Comments

@zyfyc
Copy link

zyfyc commented Feb 16, 2019

There is a CSRF vulnerability to reset password

first,let's use this account:
username=test and id=12
(In fact,we all know the id=1 and username=index1 is installer,but I have deleted.)
0
ok,poc:

0_1

ok,we reset the password of test and log in:
1

note:the exp we can get password by grab the return packet.

@Vaska
Copy link
Collaborator

Vaska commented Feb 16, 2019 via email

@zyfyc
Copy link
Author

zyfyc commented Feb 16, 2019

But csrf vulnerability is used when you are logged in.What you can do is to add token to prevent it.I tested I could't add account by CSRF,maybe the act was intercepted.

@Vaska
Copy link
Collaborator

Vaska commented Feb 16, 2019 via email

@Vaska Vaska closed this as completed Jul 27, 2022
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