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

Full Account Takeover. #1506

Open
r4vanan opened this issue Apr 6, 2023 · 1 comment
Open

Full Account Takeover. #1506

r4vanan opened this issue Apr 6, 2023 · 1 comment
Labels
Bug Bug in latest release version. v4.x

Comments

@r4vanan
Copy link

r4vanan commented Apr 6, 2023

Describe your problem

i cloned and test the webpage
I found the vulnerability which takeover any users passwords including admin password.
when i try to find the idor like bug. I found this password reset is in the url like http://127.0.0.1:8000/admin/edit-user/user
in security tab which shown in this picture
2023-04-06-111214_1366x768_scrot
i reset admin password with following steps

Steps to reproduce the problem

  • create the user with author privilege.
  • login into the user.
  • Click on profile.
  • after that click on the security tab which is like in the about image
  • Type the new password and confirm password
  • Intercept the request in the Burpsuite.
  • there is a put request is going on for reset the password which the username provided on the link
  • here is the request which is i made to reset the password of admin

2023-04-06-111927_1366x768_scrot

PUT /api/users/<existing usernames to reset> HTTP/1.1
Host: 127.0.0.1:8000
  • it works on that users token without any error

Bludit version

Just cloned the repo so I am not sure

Hosting or Webserver name

php webserver

PHP version

PHP 8.2.4 (cli) (built: Mar 15 2023 15:27:52) (NTS)

@r4vanan
Copy link
Author

r4vanan commented Apr 10, 2023

Here is the poc video link for that vuln
https://mega.nz/file/v4UWFYhY#-45t62DbtnIMVYFw-MlWJXfVraS6MaQZ83BoGCDqjuQ

@dignajar dignajar added Bug Bug in latest release version. v4.x labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug in latest release version. v4.x
Development

No branches or pull requests

2 participants