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
Security Issue with auth_type signon #14321
Comments
|
Thank you @yznima for reporting ! |
|
@yznima is it a security issue or an expected behavior ? |
|
@williamdes I believe this is a security issue since it shouldn't return anything and might leak information to the end-user. It seems like it is redirecting the user to login before proceeding. but at the same time, it returns the body of the first page of the PHPmyadmin |
|
Okay, can you make a list of the leaked data so we are okay about what needs to be fixed or not? |
|
Shouldn't the response of the following request only be Since anything else could include information not intended to be shown. For instance, we had an IP address that could show up in the response because of this. |
|
I will need to investigate the sign-on Auth option Thank you for the example If you want to contribute or have a fix we accept contributions |
|
In order to further diagnose your specific problem, it would help to see the contents of your login and logout scripts (what you've referenced as |
|
in general if redirect is used ( it's a security issue because the returned data from PMA will leak info in this setup (the sign-on possible benefit is to avoid it) such as in above example it's leaking the username used in config which is |
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
@erolatreston FYI |
|
This is not yet released :) |



Steps to reproduce
config.inc.phpcurl output
Expected behaviour
Since the
SignonURLis set, the request should be redirected to theSignonURLwith no additional information exposed to the user.Actual behaviour
The body & header of the html response is first page of the phpMyAdmin.
Server configuration
Operating system:
Darwin 16.7.0 Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018
Web server:
Apache Web Server
Database:
MySQL
PHP version:
PHP 5.6.36 & PHP 7.2
phpMyAdmin version:
4.7.9
4.8.0.1
Client configuration
Browser:
CURL
Operating system:
Darwin 16.7.0 Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018
The text was updated successfully, but these errors were encountered: