+++ This bug was initially created as a clone of Bug #2058278 +++
Description of problem:
When a HTTP request is made against a cluster node running pcsd, the HTTP response contains HTTP Server name in its headers.
This is perceived as a security thread.
This bug report is opened to investigate whether there is a way to hide that header or prevent disclosing the server name in a different way.
Version-Release number of selected component (if applicable):
pcs-0.10.10-4.el8.x86_64
How reproducible:
Easily, every time.
Steps to Reproduce:
1.Install and start pcsd
2. Send a http request to the node
# curl -kv https://localhost:2224 2>&1 | awk '/Server:/'
< Server: TornadoServer/6.1
Actual results:
# curl -kv https://localhost:2224 2>&1 | awk '/Server:/'
< Server: TornadoServer/6.1
Expected results:
# curl -kv https://localhost:2224 2>&1 | awk '/Server:/'
< Server:
Or Following line is obfuscated/nullified/hidden.
< Server: TornadoServer/6.1
Additional info:
--- Additional comment from RESHMA K VIJAYAN on 2022-02-24 17:03:12 CET ---
We already have one present for RHEL 7 : https://bugzilla.redhat.com/show_bug.cgi?id=1765606
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: pcs security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:7935