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

Direct access to phprestsql.ini #8

Open
keemor opened this issue Aug 26, 2015 · 1 comment
Open

Direct access to phprestsql.ini #8

keemor opened this issue Aug 26, 2015 · 1 comment

Comments

@keemor
Copy link

keemor commented Aug 26, 2015

You can display phprestsql.ini config in the browser
http://example.com/phprestsql.ini

One of the solution is to add:

RewriteRule phprestsql.ini !^$

to .htaccess

@adcoolguy
Copy link

Not sure why would anyone wants to do this, definitely a vulnerability as far as OWASP (https://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project) is concerned.

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