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

DEBUGBAR can be ABUSED to obtain USER Credentials! #1452

Closed
whipsterCZ opened this issue Sep 7, 2023 · 2 comments
Closed

DEBUGBAR can be ABUSED to obtain USER Credentials! #1452

whipsterCZ opened this issue Sep 7, 2023 · 2 comments

Comments

@whipsterCZ
Copy link

whipsterCZ commented Sep 7, 2023

WARNING: using debugbar at TEST or PRODUCTION environment will lead to SECURITY BREACH...

im using (i was using) DEBUGBAR at several pages.
But we were recently hacked - Debugbar has log of all requests INCLUDING LOGIN REQUESTS with PASSWORDS!!!!

Can you share this as ATTENTION
Or at least add some warning to README.MD , i have not clue that it can be ABUSED like this..

DETAILS:
attacker found debugbar enabled on our TEST environment, but we are using same credentials on PROD
so attacker had access to our ADMIN account .

(/_debugbar/open?method=POST&uri=*%2Flogin&max=20&offset=0)

I found this:

"password" => {plaintext-password!}
"email" =>  {adminEmail}
@parallels999
Copy link
Contributor

parallels999 commented Sep 7, 2023

Can you share this as ATTENTION

| Warning: Enabling storage.open will allow everyone to access previous
| request, do not enable open storage in publicly available environments!
| Specify a callback if you want to limit based on IP or authentication.

Debugbar has log of all requests INCLUDING LOGIN REQUESTS

Disable debugbar on login, just enable it when you need, i did add a debugbar enabler button(handled by session or cookies)

@barryvdh
Copy link
Owner

barryvdh commented Sep 7, 2023

This should already be fixed in the latest version. Browsing is disabled by default.
Note that you should still not show it on public sites, which was already mentioned in the config.

@barryvdh barryvdh closed this as completed Feb 9, 2024
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

3 participants