Qualys scan detects HTTP Security Header Not Detected on PSM
Symptom
Qualys scan detects 'HTTP Security Header Not Detected' vulnerability on PSM servers
Environment
10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) PSM PSM Security
Cause
The issue is related to IIS and therefore is only likely to be found of PSM's where the Health Check service is installed or IIS is running for another reason.
Resolution
Configure X-Content-Type-Options in IIS:
1. Open Internet Information Services (IIS) Manager.
2. In the Connections pane, go to the site, application, or directory for which you want to set a custom HTTP header.
3. In the Home pane, double-click HTTP Response Headers.
4. In the HTTP Response Headers pane, in the Actions pane, click Add...
5. In the Add Custom HTTP Response Header dialog box, set the Name to "X-Content-Type-Options" and the Value to "nosniff", then click OK.
IIS - Configuring HTTP Strict Transport Security
Open the Internet Information Services (IIS) Manager via Start → Administrative Tools → IIS Manager.
1. Click on HTTP Response Headers.
2. Click on Add... in the Actions panel.
3. Enter the following values in the Add Custom HTTP Response Headers dialog box:<
Name: Strict-Transport-Security
Value: max-age=31536000
4. Close the IIS Manager after confirmation.