-
Notifications
You must be signed in to change notification settings - Fork 297
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
Information disclosure on error messages #78
Comments
@Nicals thanks for the bug report.
What do you think? |
By the way the Shaarli version number can also be probed by accessing |
Is PHP version leaking a serious issue? As we know, most automated attacks (on whatever server software) try many different vulnerabilities from many different versions. |
You'd also have to control the headers that are sent by the server. Example for http://sebsauvage.net/links/: |
These headers should be hidden from your webserver configuration (as well as setting |
Fixed in #81 |
Continuation of discussion started on unmaintained repository.
As said in the issue above: Shaarli have a problem with its error logging process. It discloses too much information:
The correct way to report errors on a website is not to use die, it is to return a HTTP 500 response with a generic error message. You can display a generic message and add a line in a log file. The message could suggest the user to check its log for more information.
The text was updated successfully, but these errors were encountered: