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

Hide Apache version and OS information #276

Closed
wants to merge 1 commit into from

Conversation

cfiehe
Copy link
Contributor

@cfiehe cfiehe commented May 15, 2024

By default, the Apache web server exposes the server version and OS information. This information might help an attacker to gain a greater understanding of the system and potentially develop attacks targeted at the specific server version. This change ensures that those sensitive information do not get exposed by setting ServerSignature Off and ServerTokens Prod.

…formation might help an attacker to gain a greater understanding of the system and potentially develop attacks targeted at the specific server version. This change ensures that those sensitive information do not get exposed by setting 'ServerSignature Off' and 'ServerTokens Prod'.

Signed-off-by: Christoph Fiehe <[email protected]>
@LeoColomb
Copy link
Member

Thanks for opening this pull request, @cfiehe.
That being said, it is not eligible to be merged into this repository.
Indeed, Apache HTTP server is not maintained by YOURLS project. Its usage in the container should be limited to the need of YOURLS only.
You are free to add any additional config on your own depending on your usage.
More specifically, regarding your suggestion: app containers are rarely exposed to the internet directly, and thus software exposing internet service could use that kind of data.

@LeoColomb LeoColomb closed this May 16, 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

Successfully merging this pull request may close these issues.

2 participants