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

PHP expose_php Information Disclosure #8

Open
Stichoza opened this issue Oct 2, 2014 · 0 comments
Open

PHP expose_php Information Disclosure #8

Stichoza opened this issue Oct 2, 2014 · 0 comments
Assignees
Labels

Comments

@Stichoza
Copy link
Member

Stichoza commented Oct 2, 2014

The PHP install on the remote server is configured in a way that allows disclosure of potentially sensitive information to an attacker through a special URL. Such a URL triggers an Easter egg built into PHP itself.

Example of exposed PHP info

https://unihack.ge:8080/index.php/?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000

Solution

In the PHP configuration file, php.ini, set the value for 'expose_php' to 'Off' to disable this behavior. Restart the web server daemon to put this change into effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants