Bug 1729570

Summary: OpenShift Console missing X-XSS-Protection header.
Product: OpenShift Container Platform Reporter: Dan Yocum <dyocum>
Component: kube-apiserverAssignee: Stefan Schimanski <sttts>
Status: CLOSED WONTFIX QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, jokerman, mfojtik, mmccomas
Target Milestone: ---   
Target Release: 4.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-07 09:08:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dan Yocum 2019-07-12 16:28:45 UTC
Description of problem:

Customer is reporting that their pentests are failing (low severity) because the X-XSS-Protection header (to prevent cross-site scripting attacks) is missing on the OpenShift console.


Version-Release number of selected component (if applicable):

All 3.x

How reproducible:

Always

Steps to Reproduce:
1. pentest the console using Kali

Actual results:

X-XSS-Protection header test fails


Expected results:

X-XSS-Protection header test succeeds


Additional info:

Comment 4 Samuel Padgett 2019-07-12 17:22:56 UTC
What HTTP response specifically is missing this header? Both the 3.11 and 4.1 web consoles do have it set.

Comment 10 Samuel Padgett 2019-07-25 12:09:01 UTC
This response comes from the API server. Updating the component. The console itself has the header.